Skip to content

Instantly share code, notes, and snippets.

@ianp
Created October 3, 2012 17:27
Show Gist options
  • Save ianp/3828460 to your computer and use it in GitHub Desktop.
Save ianp/3828460 to your computer and use it in GitHub Desktop.
Setting up a NetBeans RCP project from the shell.
$ cd ~/Projects
$ mvn -DarchetypeGroupId=org.codehaus.mojo.archetypes \
-DarchetypeArtifactId=netbeans-platform-app-archetype \
-DarchetypeVersion=1.12 \
archetype:generate
...
Define value for property 'groupId': com.example
Define value for property 'artifactId': app
Define value for property 'version': 1.0-SNAPSHOT
Define value for property 'package': com.example.app
...
$ cd app
$ mvn -DarchetypeGroupId=org.codehaus.mojo.archetypes \
-DarchetypeArtifactId=nbm-archetype \
-DarchetypeVersion=1.11 \
archetype:generate
...
Define value for property 'groupId': com.example
Define value for property 'artifactId': mymodel
Define value for property 'version': 1.0-SNAPSHOT
Define value for property 'package': com.example.mymodel
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment