Skip to: Site menu | Main content

Groovy 

      Download | Documentation | Developers | Community

An agile dynamic language for the Java Platform

GMaven - 1.0-rc-1 Release Add comment to Wiki View in Wiki Edit Wiki page Printable Version

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