Skip to content

Instantly share code, notes, and snippets.

@Johnz86
Last active March 29, 2016 19:35
Show Gist options
  • Save Johnz86/785d69784f1844bc7206223e27fd130c to your computer and use it in GitHub Desktop.
Save Johnz86/785d69784f1844bc7206223e27fd130c to your computer and use it in GitHub Desktop.
jersey-quickstart-webapp oneliners
mvn dependency:get -DrepoUrl=http://repo1.maven.org/maven2/ -Dartifact=org.glassfish.jersey.archetypes:jersey-example-java8-webapp:2.22.2
mvn archetype:generate -DarchetypeArtifactId=jersey-quickstart-grizzly2 -DarchetypeGroupId=org.glassfish.jersey.archetypes -DinteractiveMode=false -DgroupId=com.webus -DartifactId=simple-service -Dpackage=com.webus -DarchetypeVersion=2.22.2
mvn archetype:generate -DarchetypeArtifactId=jersey-quickstart-webapp -DarchetypeGroupId=org.glassfish.jersey.archetypes -DinteractiveMode=false -DgroupId=com.webus -DartifactId=simple-service-webapp -Dpackage=com.webus -DarchetypeVersion=2.22.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment