GNU/Linux Maven Frequently Used (Quickref)

Mavin compile (Java) code and create local package.

mvn clean package -DskipTests

Run a specific unit test from the command line.

mvn test -Dtest=JavaClassTest#specificTest

Leave a Comment

Your email address will not be published. Required fields are marked *