提交 394f215d 编写于 作者: S Stephen Connolly 提交者: Kohsuke Kawaguchi

use dependency:copy for classworlds

上级 fbf80ce5
...@@ -384,24 +384,27 @@ THE SOFTWARE. ...@@ -384,24 +384,27 @@ THE SOFTWARE.
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId> <artifactId>maven-dependency-plugin</artifactId>
<artifactId>maven-antrun-extended-plugin</artifactId>
<!-- version specified in grandparent pom -->
<executions> <executions>
<execution> <execution>
<id>resgen</id> <id>resgen</id>
<phase>generate-resources</phase> <phase>generate-resources</phase>
<goals> <goals>
<goal>run</goal> <!-- we use copy as this is a dependency from outside the reactor -->
<goal>copy</goal>
</goals> </goals>
<configuration> <configuration>
<verifyArtifact>false</verifyArtifact> <artifactItems>
<tasks>
<mkdir dir="target/classes" />
<!-- classworld 1.1 for maven 2 builds --> <!-- classworld 1.1 for maven 2 builds -->
<resolveArtifact groupId="classworlds" artifactId="classworlds" version="1.1" type="jar" tofile="target/classes/classworlds.jar" /> <artifactItem>
</tasks> <groupId>classworlds</groupId>
<artifactId>classworlds</artifactId>
<version>1.1</version>
<type>jar</type>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<destFileName>classworlds.jar</destFileName>
</artifactItem>
</artifactItems>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册