How do I create Maven projects with different version of maven-archetype-plugin?
The New project wizard in NetBeans is by default using the 1.0-aplha-4 version of maven-archetype-plugin. It’s not possible to change from the UI, but there is a way to change it if you need to. • go to your netbeans user directory and create the following path if it doesn’t exist yet: ~/.netbeans/6.0/config/Preferences/org/codehaus/mevenide • in that folder create a file named commands.properties • open the file in editor and put the following line in there: createArchetype=org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create • start netbeans and run the new project wizard. It shall run your version of the archetype plugin.
Related Questions
- How should I point a path for maven 2 to use a certain version of JDK when I have different versions of JDK installed on my PC and my JAVA_HOME already set?
- What if I want to learn a version of an Evocation spell with a different element type? Do I have to create a new spell?
- How does the BCI assist with comparing assets/projects of different scales, durations and types?