Last updated by 4 years ago

Page: Developer - Maven Integration, Version:0

The Grails Maven integration consists of an archetype and a plugin.

The Maven archetype

The source for the archetype is located in Git. The archetype defines the project template when creating a Grails project with the command:

mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate 
    -DgroupId=example -DartifactId=my-app

The update the archetype you need to specify a new archetype version in ARCHETYPE_HOME/pom.xml and specify the Grails version it relates to in @src/main/resources/archetype-resources/pom.xml@