anchor.diff:  http://maven.apache.org/plugins/maven-compiler-plugin/[maven-compiler-plugin].
   
   Remember that you still need to specify a groovy artifact as a build
  -dependency in addition to the `maven-compiler-plugin` dependency.  The
  -groovy dependency version should match the compiler version.  Something
  +dependency in addition to the `maven-compiler-plugin` dependency. The
  +groovy dependency version should match the compiler version. Something
   like this:
   
   [source,xml]
  
positive.code: --------------------------------------------------------------------------------------------------
  <build>
  ...
  <plugins>
    <plugin>
      <artifactId>maven-compiler-plugin</artifactId>
      <!-- 2.8.0-01 and later require maven-compiler-plugin 3.0 or higher -->
      <version>3.0</version>
      <configuration>
        <compilerId>groovy-eclipse-compiler</compilerId>
        <!-- set verbose to be true if you want lots of uninteresting messages -->
        <!-- <verbose>true</verbose> -->
      </configuration>
      <dependencies>
        <dependency>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-eclipse-compiler</artifactId>
          <version>2.8.0-01</version>
        </dependency>
        <!-- for 2.8.0-01 and later you must have an explicit dependency on groovy-eclipse-batch -->
        <dependency>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-eclipse-batch</artifactId>
          <version>2.1.5-03</version>
          <!-- or choose a different compiler version -->
          <!-- <version>1.8.6-01</version> -->
          <!-- <version>1.7.10-06</version> -->
  </dependency>
   </dependencies>
    </plugin>
    ...
  </plugins>
  </build>
  --------------------------------------------------------------------------------------------------
  
  
negative.code: changes to the default lifecycle. The downside is, of course, that you
  need 31 lines of configuration to do this!
  
  [[Groovy-EclipsecompilerpluginforMaven-Sourcecode]]
  == Source code
  The source code for the plugin itself is available from the
  https://github.com/groovy/groovy-eclipse/[github repository].
  
  [[Groovy-EclipsecompilerpluginforMaven-WhyanotherGroovycompilerforMavenWhataboutGMaven]]
  == Why another Groovy compiler for Maven? What about GMaven?
  