Created
May 28, 2015 11:30
-
-
Save jwlyn/1153417a0468b211fc13 to your computer and use it in GitHub Desktop.
maven管理groovy工程
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
<?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>groovy.test</groupId> | |
<artifactId>mytest</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> | |
<artifactId>groovy-all</artifactId> | |
<version>2.4.3</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<!-- 2.8.0-01 and later require maven-compiler-plugin 3.1 or higher --> | |
<version>3.1</version> | |
<extensions>true</extensions> | |
<configuration> | |
<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.9.1-01</version> | |
</dependency> | |
<!-- for 2.8.0-01 and later you must have an explicit dependency on groovy-eclipse-batch --> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> | |
<artifactId>groovy-eclipse-batch</artifactId> | |
<version>2.4.3-01</version> | |
<!-- or choose a different compiler version --> | |
<!-- <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