default: @echo 'Targets:' @echo ' package -- Build the .jar file(s)' @echo ' list -- Show .jar file(s)' @echo ' run -- Run the "lite" .jar file (dependencies not included)' @echo ' run-full -- Run the "full" .jar file (dependencies included)' package: mvn clean package list: cd target; ls -lh *.jar run: cd target; java -jar my-console-app-1.0-SNAPSHOT.jar run-full: cd target; java -jar my-console-app-1.0-SNAPSHOT-jar-with-dependencies.jar