Skip to content

Instantly share code, notes, and snippets.

@jweden
Created May 4, 2011 01:26
Show Gist options
  • Save jweden/954590 to your computer and use it in GitHub Desktop.
Save jweden/954590 to your computer and use it in GitHub Desktop.
Maven pom configuration file snippet incorporating groovy
<groupId>org.codehaus.groovy.maven</groupId>
<artifactId>gmaven-plugin</artifactId>
<version>${gmaven-version}</version>
<executions>
<execution>
<goals>
<goal>generateStubs</goal>
<goal>compile</goal>
<goal>generateTestStubs</goal>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>weden.jason.qa</groupId>
<artifactId>testNGAdapter</artifactId>
<version>${testNGAdapter-version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy.maven.runtime</groupId>
<artifactId>gmaven-runtime-1.6</artifactId>
<version>${gmaven-version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy.maven</groupId>
<artifactId>gmaven-mojo</artifactId>
<version>${gmaven-version}</version>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment