Last active
December 20, 2015 18:08
-
-
Save bugs84/6173354 to your computer and use it in GitHub Desktop.
Maven compile Groovy by groovy-eclipse-compiler
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
<project ... > | |
... | |
<dependencies> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> | |
<artifactId>groovy-all</artifactId> | |
<version>2.1.8</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<!-- http://groovy.codehaus.org/Groovy-Eclipse+compiler+plugin+for+Maven--> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<!-- 2.8.0-01 and later require maven-compiler-plugin 3.1 or higher --> | |
<version>3.1</version> | |
<configuration> | |
<!--<source>1.6</source>--> | |
<!--<target>1.6</target>--> | |
<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> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> | |
<artifactId>groovy-eclipse-batch</artifactId> | |
<version>2.1.8-01</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment