代码拉取完成,页面将自动刷新
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>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。