New and Noteworthy

  • Added support for targetBytecode
  • Refactored the Ant support to deliver the patched jar in ant-lancher.

Using

Command-line Access

If this release is the latest, then simply use the groovy prefix to invoke goals, as in:

mvn groovy:<goal>

Otherwise, use the full plugin identifier to invoke this version:

mvn org.codehaus.groovy.maven:gmaven-plugin:1.0-rc-2:<goal>

Project Configuration

When configuring projects to use this plugin be sure to define elements in your projects top-level POM's pluginManagement section to bind your project to the required version:

<project>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.codehaus.groovy.maven</groupId>
                <artifactId>gmaven-mojo</artifactId>
                <version>1.0-rc-2</version>
            </dependency>
            <dependency>
                <groupId>org.codehaus.groovy.maven.runtime</groupId>
                <artifactId>gmaven-runtime-default</artifactId>
                <version>1.0-rc-2</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.codehaus.groovy.maven</groupId>
                    <artifactId>gmaven-plugin</artifactId>
                    <version>1.0-rc-2</version>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
</project>

It is highly recommended that you always bind, via pluginManagement the version of plugins which your build depends upon. or with dependencyManagement for versions of artifacts.

Source Code

The source-code for this release is available for browsing here.

Users who wish to check-out this version can access the release tag with Subversion:

svn co https://svn.codehaus.org/groovy/gmaven/tags/gmaven-1.0-rc-2

Change Log