Created
April 29, 2020 16:10
-
-
Save couragecowardlydog/1968772fbf92f215de73a0ddbd01ef78 to your computer and use it in GitHub Desktop.
Maven Cheats
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
# Use multiple threads for install and build | |
mvn -T 1C install | |
# clean | |
mvn clean | |
# run spring app | |
mvn spring-boot:run | |
# test | |
mvn test | |
# test a single class | |
mvn test -Dtest=ClassName | |
# test a single function | |
mvn test -Dtest=ClassName#functionNam | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment