Skip to content

Instantly share code, notes, and snippets.

@kurtharriger
Created June 7, 2011 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kurtharriger/1012784 to your computer and use it in GitHub Desktop.
Save kurtharriger/1012784 to your computer and use it in GitHub Desktop.
gmaven-runtime-1.8 pom file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>gmaven-example</groupId>
<artifactId>gmaven-example</artifactId>
<version>1.0</version>
<properties>
<groovy.version>1.8.0</groovy.version>
<gmaven.version>1.4-SNAPSHOT</gmaven.version>
<gmaven.provider.version>1.8</gmaven.provider.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
<version>${gmaven.version}</version>
<configuration>
<providerSelection>${gmaven.provider.version}</providerSelection>
</configuration>
<executions>
<execution>
<id>compile</id>
<goals>
<!-- <goal>generateStubs</goal> -->
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>testCompile</id>
<goals>
<goal>generateTestStubs</goal>
<goal>testCompile</goal>
</goals>
<configuration>
<sources>
<fileset>
<directory>${pom.basedir}/src/test</directory>
<includes>
<include>**/*.groovy</include>
</includes>
</fileset>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<!-- Unofficial Gmaven deps for Groovy-->
<id>kurtharriger-gmaven-snapshots</id>
<url>https://github.com/kurtharriger/gmaven/raw/maven/snapshots</url>
</pluginRepository>
</pluginRepositories>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment