Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

New and Noteworthy

  • Default runtime for JVM >= 1.5 is now Groovy 1.6, else Groovy 1.5
  • Upgrade 1.5 runtime to Groovy 1.5.7
  • Stub generation for scripts
  • AST transformations should work correctly

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-5:<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-5</version>
            </dependency>
            <dependency>
                <groupId>org.codehaus.groovy.maven.runtime</groupId>
                <artifactId>gmaven-runtime-1.6</artifactId>
                <version>1.0-rc-5</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.codehaus.groovy.maven</groupId>
                    <artifactId>gmaven-plugin</artifactId>
                    <version>1.0-rc-5</version>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
</project>

Best Practice

Icon

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-5

Change Log

Loading

  • No labels