Use org.codehaus.gmaven instead of org.codehaus.groovy.maven.

See http://jira.codehaus.org/browse/MNG-4863
Works with both maven 2.2.x and 3.0.x.

If using groovy.maven with mvn 3.0.x build fails with:

[ERROR] Failed to execute goal org.codehaus.groovy.maven:gmaven-plugin:1.0:execute (create-missingpost-treatment) on project cas-server-webapp: Execution create-missingpost-treatment of goal org.codehaus.groovy.maven:gmaven-plugin:1.0:execute failed: Plugin org.codehaus.groovy.maven:gmaven-plugin:1.0 or one of its dependencies could not be resolved: Could not find artifact org.georchestra:config:jar:13.12-SNAPSHOT -> [Help 1]

If using mvn 2.2.1 build fails because it tries to fetch org.georchestra:config:jar:13.12-SNAPSHOT from the repos.


[INFO] Failed to resolve artifact.

Missing:
----------
1) org.georchestra:config:jar:13.12-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.georchestra -DartifactId=config -Dversion=13.12-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.georchestra -DartifactId=config -Dversion=13.12-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.codehaus.groovy.maven:gmaven-plugin:maven-plugin:1.0
        2) org.georchestra:config:jar:13.12-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  org.codehaus.groovy.maven:gmaven-plugin:maven-plugin:1.0