Created
September 25, 2012 03:32
-
-
Save edwardsmatt/3779824 to your computer and use it in GitHub Desktop.
Maven configuration for Groovy 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Taken from: http://glaforge.appspot.com/article/building-your-groovy-2-0-projects-with-maven--> | |
<properties> | |
<gmavenVersion>1.4</gmavenVersion> | |
<gmavenProviderSelection>2.0</gmavenProviderSelection> | |
<groovyVersion>2.0.0</groovyVersion> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> | |
<artifactId>groovy-all</artifactId> | |
<version>${groovyVersion}</version> | |
<dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.codehaus.gmaven</groupId> | |
<artifactId>gmaven-plugin</artifactId> | |
<version>${gmavenVersion}</version> | |
<configuration> | |
<providerSelection>${gmavenProviderSelection}</providerSelection> | |
<sourceEncoding>UTF-8</sourceEncoding> | |
</configuration> | |
<executions> | |
<execution> | |
<goals> | |
<goal>generateStubs</goal> | |
<goal>compile</goal> | |
<goal>generateTestStubs</goal> | |
<goal>testCompile</goal> | |
</goals> | |
</execution> | |
</executions> | |
<dependencies> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> | |
<artifactId>groovy-all</artifactId> | |
<version>${groovyVersion}</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
</plugins> | |
</build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment