Last updated by 5 years ago

Page: Maven Support, Version:1

Starting this page to record some hard-found information on Maven.

Installing and uploading artifacts

The Grails build has two targets for Maven-related activities:

  • maven-install - installs the current Grails artifacts to the local Maven repository
  • maven-deploy - uploads the current Grails artifacts to the Codehaus Maven repository
See the Codehaus Maven repository instructions for full details of how to set up repository uploads. Most of the work has already been done, but to perform the actual upload, you will need to add the following to your Maven settings (usually ~/.m2/settings.xml ):

<settings><servers>
    <server>
      <id>codehaus.org</id>
      <username>USERNAME</username>
      <password>PASSWORD</password>
    </server>
  </servers></settings>