You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/20 09:27:24 UTC
[maven-antrun-plugin] 15/26: Moved classpath to pom
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to annotated tag maven-antrun-plugin-1.1
in repository https://gitbox.apache.org/repos/asf/maven-antrun-plugin.git
commit f6c48d58f50de52ae693bebf6c387469b4e7d571
Author: Carlos Sanchez Gonzalez <ca...@apache.org>
AuthorDate: Sun Dec 11 04:53:09 2005 +0000
Moved classpath to pom
git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-antrun-plugin@355907 13f79535-47bb-0310-9956-ffa450edef68
---
src/test/projects/test1/build.xml | 9 +--------
src/test/projects/test1/pom.xml | 10 +++++++---
2 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/src/test/projects/test1/build.xml b/src/test/projects/test1/build.xml
index 67a0fe8..e3d9a1f 100644
--- a/src/test/projects/test1/build.xml
+++ b/src/test/projects/test1/build.xml
@@ -3,15 +3,8 @@
<target name="test">
- <path id="classpath">
- <path refid="maven.dependency.classpath"/>
- <path refid="maven.compile.classpath"/>
- <path refid="maven.runtime.classpath"/>
- <path refid="maven.test.classpath"/>
- <path refid="maven.plugin.classpath"/>
- </path>
<java failonerror="true" classname="Test" fork="true" newenvironment="true">
- <classpath refid="classpath"/>
+ <classpath refid="classpath"/>
</java>
</target>
diff --git a/src/test/projects/test1/pom.xml b/src/test/projects/test1/pom.xml
index 641400c..0a39790 100644
--- a/src/test/projects/test1/pom.xml
+++ b/src/test/projects/test1/pom.xml
@@ -16,12 +16,16 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
- <id>generate-sources</id>
- <phase>generate-sources</phase>
+ <id>compile</id>
+ <phase>compile</phase>
<configuration>
<sourceRoot>target/generated/src/main/java</sourceRoot>
<tasks>
- <ant antfile="${basedir}/build.xml" inheritrefs="true">
+ <path id="classpath">
+ <path refid="maven.compile.classpath"/>
+ <path refid="maven.plugin.classpath"/>
+ </path>
+ <ant antfile="${basedir}/build.xml" inheritRefs="true">
<target name="test"/>
</ant>
</tasks>
--
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.