Created
October 8, 2012 22:19
-
-
Save bytor99999/3855337 to your computer and use it in GitHub Desktop.
Make Groovy in Maven
This file contains 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
<dependencies> | |
<!-- Groovy dependency --> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> | |
<artifactId>groovy</artifactId> | |
<version>${groovy.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> | |
<artifactId>groovy-json</artifactId> | |
<version>${groovy.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
<compilerId>groovy-eclipse-compiler</compilerId> | |
<verbose>false</verbose> | |
<encoding>UTF-8</encoding> | |
</configuration> | |
<dependencies> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> | |
<artifactId>groovy-eclipse-compiler</artifactId> | |
<version>2.7.0-01</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
… | |
</plugins> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment