GMaven - 1.0-rc-1 Release

New and Noteworthy

  • Moved codebase to the Groovy project
  • Runtime support for Groovy 1.5.6 and Groovy 1.6-beta-1
  • Support for static imports when generating stubs
  • Re-implemented the stub generator to allow more code to be shared between runtime implementations
  • Re-implemented archetypes using the latest maven-archetype-plugin (aka archetype-ng)

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

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

Change Log

jira.codehaus.org (29 issues)
T Key Summary Pr Status Res
Bug MGROOVY-125 Stub generator does not allow for overloaded methods Blocker Closed FIXED
Improvement MGROOVY-118 Re-implement archetypes based on latest NG bits Blocker Closed FIXED
Improvement MGROOVY-130 Re-implement stub-generation bits to allow more code to be shared between runtime versions Critical Closed FIXED
Improvement MGROOVY-114 Support static import for stub generation Critical Closed FIXED
Bug MGROOVY-106 Compile errors that occur during stub generation don't give location information Critical Closed FIXED
Bug MGROOVY-104 Some weirdness with stubs and constructors. Critical Closed FIXED
Improvement MGROOVY-96 Upgrade cobertura-maven-plugin to 2.2 Critical Closed FIXED
New Feature MGROOVY-134 Add support for Groovy 1.6.x Major Closed FIXED
Improvement MGROOVY-133 Use new stub-generation for 1.0 runtime Major Closed FIXED
Improvement MGROOVY-132 Use new stub-generation for 1.5 runtime Major Closed FIXED
Bug MGROOVY-129 duplicate setter generated in stub Major Closed FIXED
Bug MGROOVY-128 static member variables not correctly handled by stub generator Major Closed FIXED
Improvement MGROOVY-124 Move non-essential support classes from gmaven-mojo to gmaven-mojo-support Major Closed FIXED
Improvement MGROOVY-122 Drop GroovyMojoSupport Major Closed FIXED
Improvement MGROOVY-120 Create module for holding custom packagings Major Closed FIXED
Improvement MGROOVY-116 Upgrade to Maven Plugin Tools 2.4.1 Major Closed FIXED
Improvement MGROOVY-113 Upgrade to Groovy 1.5.4 Major Closed FIXED
Bug MGROOVY-111 Stub generation does not build implied getter/setter methods Major Closed DUPLICATE
Bug MGROOVY-107 \n in javadocs cause weirdness Major Closed WON'T FIX
Improvement MGROOVY-105 Expose ExecuteMojo in script's execution context Major Closed FIXED
Bug MGROOVY-103 Vanilla project from archetype doesn't compile Major Closed FIXED
Improvement MGROOVY-102 Getters/Setters should be generated for properties. Major Closed FIXED
Bug MGROOVY-101 src/main/groovy folder is missing Major Closed FIXED
Improvement MGROOVY-38 Upgrade to Groovy 1.5.1 Major Closed FIXED
Improvement MGROOVY-115 Upgrade to SLF4J 1.5.0 Minor Closed FIXED
Improvement MGROOVY-112 Drop Groovy 1.1 runtime support Minor Closed FIXED
Improvement MGROOVY-87 Update the archetype bits to use the new archetypeng muck Minor Closed DUPLICATE
Improvement MGROOVY-131 Upgrade to Groovy 1.5.6 Trivial Closed FIXED
Improvement MGROOVY-123 Put generated stubs into the standard generated-sources directory Trivial Closed FIXED

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.