81 lines
3.0 KiB
Diff
81 lines
3.0 KiB
Diff
diff --git a/jspc-2.0-alpha-3/jspc-maven-plugin/pom.xml b/jspc-2.0-alpha-3/jspc-maven-plugin/pom.xml
|
|
index 209795e..138681f 100644
|
|
--- a/jspc-2.0-alpha-3/jspc-maven-plugin/pom.xml
|
|
+++ b/jspc-2.0-alpha-3/jspc-maven-plugin/pom.xml
|
|
@@ -43,11 +43,6 @@
|
|
</dependency>
|
|
|
|
<dependency>
|
|
- <groupId>org.codehaus.groovy.maven</groupId>
|
|
- <artifactId>gmaven-mojo</artifactId>
|
|
- </dependency>
|
|
-
|
|
- <dependency>
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
<artifactId>file-management</artifactId>
|
|
</dependency>
|
|
@@ -57,12 +52,53 @@
|
|
<artifactId>commons-lang</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
-
|
|
+
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
+ <artifactId>maven-antrun-plugin</artifactId>
|
|
+ <version>1.7</version>
|
|
+ <dependencies>
|
|
+ <dependency>
|
|
+ <groupId>org.codehaus.groovy</groupId>
|
|
+ <artifactId>groovy</artifactId>
|
|
+ <version>1.8.9</version>
|
|
+ </dependency>
|
|
+ <dependency>
|
|
+ <groupId>commons-cli</groupId>
|
|
+ <artifactId>commons-cli</artifactId>
|
|
+ <version>1.2</version>
|
|
+ </dependency>
|
|
+ </dependencies>
|
|
+ <executions>
|
|
+ <execution>
|
|
+ <id>compile</id>
|
|
+ <phase>process-sources</phase>
|
|
+ <configuration>
|
|
+ <target>
|
|
+ <mkdir dir="${basedir}/target/classes"/>
|
|
+ <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
|
|
+ <classpath refid="maven.plugin.classpath"/>
|
|
+ </taskdef>
|
|
+ <groovyc destdir="${project.build.outputDirectory}" srcdir="${basedir}/src/main" classpathref="maven.compile.classpath">
|
|
+ <javac source="1.6" target="1.6" debug="on"/>
|
|
+ </groovyc>
|
|
+ </target>
|
|
+ </configuration>
|
|
+ <goals>
|
|
+ <goal>run</goal>
|
|
+ </goals>
|
|
+ </execution>
|
|
+ </executions>
|
|
+ </plugin>
|
|
+
|
|
+ <plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-plugin-plugin</artifactId>
|
|
+ <configuration>
|
|
+ <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
|
|
+ </configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
@@ -80,7 +116,7 @@
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-plugin-plugin</artifactId>
|
|
- <version>2.4.1</version>
|
|
+ <version>3.1</version>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|