Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
java maven like young languages, javashell, mavenshell
  • create starter
mvn archetype:generate -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
  • add logic
nano src/main/java/com/mycompany/app/
  • build
mvn clean package
  • run
mvn exec:java -Dexec.mainClass=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment