Skip to content
Discussion options

You must be logged in to vote

On my machine, mvn j2cl:build takes 21 seconds and mvn verify takes 51 seconds. I measured both times with j2cl-archetype-simple. This is a bit much, but I don't need to produce a war file, so mvn j2cl:build is sufficient (assuming I copy the produced js file into the web-app folder, which is easy to do by adding instructions in the pom.xml).

Neither is needed for development - a war file wouldn't make sense anyway if you're intending to run j2cl:watch. Just j2cl:build takes less time than verify because verify includes tests - consider skipping tests, but correctly run j2cl:build as part of the phases to avoid skipping some other goal or configuration by mistake. If you're new to maven…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@niloc132
Comment options

Answer selected by jsfan3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants