Author: hboutemy
Date: Sat Jul 17 09:20:25 2010
New Revision: 965039

URL: http://svn.apache.org/viewvc?rev=965039&view=rev
Log:
polished ITs

Added:
    
maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/invoker.properties   
(with props)
Modified:
    maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/build.xml
    maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/pom.xml
    maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/verify.bsh
    maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/build.xml
    maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/pom.xml
    maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/verify.bsh

Modified: maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/build.xml
URL: 
http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/build.xml?rev=965039&r1=965038&r2=965039&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/build.xml 
(original)
+++ maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/build.xml Sat 
Jul 17 09:20:25 2010
@@ -8,18 +8,19 @@
              classpathref="maven-ant-tasks.classpath"/>
   </target>
 
-  
   <target name="test" depends="initTaskDefs">
     <artifact:localRepository id="local.repository" 
path="${basedir}/target/local-repo" layout="default"/>
 
     <artifact:pom file="pom.xml" id="mypom"/>
-    <mkdir dir="target"/>
+
+       <mkdir dir="target"/>
     <touch file="target/${mypom.build.finalName}"/>
-    
+
     <artifact:dependencies fileSetId="mydeps" pomRefId="mypom"/>
-    <copy todir="target">
+
+       <copy todir="target">
       <fileset refid="mydeps"/>
     </copy>
   </target>
-  
+
 </project>
\ No newline at end of file

Added: 
maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/invoker.properties
URL: 
http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/invoker.properties?rev=965039&view=auto
==============================================================================
--- 
maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/invoker.properties 
(added)
+++ 
maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/invoker.properties 
Sat Jul 17 09:20:25 2010
@@ -0,0 +1 @@
+invoker.goals = validate

Propchange: 
maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/invoker.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/invoker.properties
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: 
maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/invoker.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/pom.xml?rev=965039&r1=965038&r2=965039&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/pom.xml 
(original)
+++ maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/pom.xml Sat Jul 
17 09:20:25 2010
@@ -5,17 +5,26 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
   <modelVersion>4.0.0</modelVersion>
   <groupId>it.ant-tasks</groupId>
-  <artifactId>ant-run</artifactId>
+  <artifactId>ant-1.8-run</artifactId>
   <packaging>pom</packaging>
 
   <name>ant-run</name>
   <version>0.10-SNAPSHOT</version>
   <description>
-    Try to call the ant tasks through the ant run plugin.
+    Try to call the ant tasks through the ant run plugin with Ant 1.8.0.
   </description>
 
+  <dependencies><!-- dependencies to be downloaded by ant tasks -->
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>1.3.2</version>
+    </dependency>
+  </dependencies>
+
   <build>
     <finalName>testfile</finalName>
+
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -49,15 +58,6 @@
           </execution>
         </executions>
       </plugin>
-
     </plugins>
-
   </build>
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-io</artifactId>
-      <version>1.3.2</version>
-    </dependency>
-  </dependencies>
 </project>

Modified: maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/verify.bsh
URL: 
http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/verify.bsh?rev=965039&r1=965038&r2=965039&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/verify.bsh 
(original)
+++ maven/ant-tasks/trunk/src/it/ant-run-plugin-with-ant-1.8.0/verify.bsh Sat 
Jul 17 09:20:25 2010
@@ -4,22 +4,22 @@ import org.codehaus.plexus.util.*;
 
 try
 {
-    File outputFolder = new File( basedir, "target/" );
-    
+    File outputFolder = new File( basedir, "target" );
+
     File testFile = new File( outputFolder, "testfile");
     if ( !testFile.isFile() )
     {
         System.err.println( "Could not find generated file: " + testFile );
         return false;
     }
-    
+
     File depFile = new File( outputFolder, 
"org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.jar");
     if ( !depFile.isFile() )
     {
         System.err.println( "Could not find copied dependency file: " + 
depFile );
         return false;
     }
-    
+
 }
 catch( Throwable t )
 {

Modified: maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/build.xml
URL: 
http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/build.xml?rev=965039&r1=965038&r2=965039&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/build.xml 
(original)
+++ maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/build.xml Sat Jul 
17 09:20:25 2010
@@ -8,18 +8,20 @@
              classpathref="maven-ant-tasks.classpath"/>
   </target>
 
-  
+
   <target name="test" depends="initTaskDefs">
     <artifact:localRepository id="local.repository" 
path="${basedir}/target/local-repo" layout="default"/>
 
     <artifact:pom file="pom.xml" id="mypom"/>
-    <mkdir dir="target"/>
+
+       <mkdir dir="target"/>
     <touch file="target/${mypom.build.finalName}"/>
-    
+
     <artifact:dependencies fileSetId="mydeps" pomRefId="mypom"/>
-    <copy todir="target">
+
+       <copy todir="target">
       <fileset refid="mydeps"/>
     </copy>
   </target>
-  
+
 </project>
\ No newline at end of file

Modified: maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/pom.xml?rev=965039&r1=965038&r2=965039&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/pom.xml (original)
+++ maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/pom.xml Sat Jul 17 
09:20:25 2010
@@ -14,13 +14,22 @@
     Try to call the ant tasks through the ant run plugin.
   </description>
 
+  <dependencies><!-- dependencies to be downloaded by ant tasks -->
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>1.3.2</version>
+    </dependency>
+  </dependencies>
+
   <build>
     <finalName>testfile</finalName>
+
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.3</version>
+        <version>1.3</version><!-- uses Ant 1.7.1 by default -->
         <executions>
           <execution>
             <id>run</id>
@@ -36,15 +45,6 @@
           </execution>
         </executions>
       </plugin>
-
     </plugins>
-
   </build>
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-io</artifactId>
-      <version>1.3.2</version>
-    </dependency>
-  </dependencies>
 </project>

Modified: maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/verify.bsh
URL: 
http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/verify.bsh?rev=965039&r1=965038&r2=965039&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/verify.bsh 
(original)
+++ maven/ant-tasks/trunk/src/it/ant-tasks-in-ant-run-plugin/verify.bsh Sat Jul 
17 09:20:25 2010
@@ -4,22 +4,22 @@ import org.codehaus.plexus.util.*;
 
 try
 {
-    File outputFolder = new File( basedir, "target/" );
-    
+    File outputFolder = new File( basedir, "target" );
+
     File testFile = new File( outputFolder, "testfile");
     if ( !testFile.isFile() )
     {
         System.err.println( "Could not find generated file: " + testFile );
         return false;
     }
-    
+
     File depFile = new File( outputFolder, 
"org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.jar");
     if ( !depFile.isFile() )
     {
         System.err.println( "Could not find copied dependency file: " + 
depFile );
         return false;
     }
-    
+
 }
 catch( Throwable t )
 {


Reply via email to