Author: carlos
Date: Wed Jan 11 10:37:50 2006
New Revision: 368080

URL: http://svn.apache.org/viewcvs?rev=368080&view=rev
Log:
Added test for maven.dependency.classpath
PR: MANTRUN-38

Modified:
    maven/plugins/trunk/maven-antrun-plugin/src/it/test1/pom.xml

Modified: maven/plugins/trunk/maven-antrun-plugin/src/it/test1/pom.xml
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-antrun-plugin/src/it/test1/pom.xml?rev=368080&r1=368079&r2=368080&view=diff
==============================================================================
--- maven/plugins/trunk/maven-antrun-plugin/src/it/test1/pom.xml (original)
+++ maven/plugins/trunk/maven-antrun-plugin/src/it/test1/pom.xml Wed Jan 11 
10:37:50 2006
@@ -11,8 +11,13 @@
   <description>Ensure that maven.compile.classpath and maven.plugin.classpath 
referencies are set</description>
  
   <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+    </dependency>
   </dependencies>
-  
+
   <build>
     <plugins>
       <plugin>
@@ -25,6 +30,7 @@
             <configuration>
               <sourceRoot>target/generated/src/main/java</sourceRoot>
               <tasks>
+
                 <path id="classpath">
                   <path refid="maven.compile.classpath"/>
                   <path refid="maven.plugin.classpath"/>
@@ -32,6 +38,14 @@
                 <ant antfile="${basedir}/build.xml" inheritRefs="true">
                   <target name="test"/>
                 </ant>
+
+                <path id="classpath">
+                  <path refid="maven.dependency.classpath"/>
+                </path>
+                <ant antfile="${basedir}/build.xml" inheritRefs="true">
+                  <target name="test"/>
+                </ant>
+
               </tasks>
             </configuration>
             <goals>


Reply via email to