5 Star 0 Fork 3

src-openEuler/jspc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jspc-ant-groovyc.patch 3.04 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2020-09-05 09:40 +08:00 . first commit
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>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/jspc.git
git@gitee.com:src-openeuler/jspc.git
src-openeuler
jspc
jspc
master

搜索帮助