-
-
Save syhily/6567c92a83f426b289e24942c0094c43 to your computer and use it in GitHub Desktop.
Maven: Compiling and installing test jar without running them
This file contains 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