Skip to content

Instantly share code, notes, and snippets.

@nopolabs
Created May 12, 2012 22:19
Show Gist options
  • Save nopolabs/2669441 to your computer and use it in GitHub Desktop.
Save nopolabs/2669441 to your computer and use it in GitHub Desktop.
Create a new project using maven's quickstart archetype
#!/bin/bash
PKG=${1:?Usage: nmvn pkg}
PACKAGE=com.nopolabs.$PKG
mvn archetype:generate -DgroupId=$PACKAGE -DartifactId=$PACKAGE -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment