-
-
Save rizkykojek/2322990ac9942d7f47cbde43cc2e4ea1 to your computer and use it in GitHub Desktop.
Maven: Compiling and installing test jar without running them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn -DskipTests test-compile jar:test-jar install | |
the similar command below, will not compile or package the jar file (if you are using the surefire plugin) so, don't use it if you want to distribute the test jar file without running the tests | |
mvn -Dmaven.test.skip test-compile jar:test-jar install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment