maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r881522 - in /maven/plugins/trunk/maven-remote-resources-plugin/src: it/resources/bad-dependency-poms/ it/resources/bad-dependency-poms/repo/test/pom/ it/resources/bad-dependency-poms/repo/test/pom/0.2/ test/java/org/apache/maven/plugin/res...
Date Tue, 17 Nov 2009 21:11:41 GMT
Author: bentmann
Date: Tue Nov 17 21:11:40 2009
New Revision: 881522

URL: http://svn.apache.org/viewvc?rev=881522&view=rev
Log:
o Strengthened IT

Added:
    maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/
    maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/0.2/
    maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/0.2/pom-0.2.jar
  (with props)
    maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/0.2/pom-0.2.pom
Modified:
    maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/pom.xml
    maven/plugins/trunk/maven-remote-resources-plugin/src/test/java/org/apache/maven/plugin/resources/remote/it/IT_BadDependencyPoms.java

Modified: maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/pom.xml?rev=881522&r1=881521&r2=881522&view=diff
==============================================================================
--- maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/pom.xml
(original)
+++ maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/pom.xml
Tue Nov 17 21:11:40 2009
@@ -22,6 +22,12 @@
 
   <dependencies>
     <dependency>
+      <!-- dependency with good POM -->
+      <groupId>test</groupId>
+      <artifactId>pom</artifactId>
+      <version>0.2</version>
+    </dependency>
+    <dependency>
       <!-- dependency with missing POM -->
       <groupId>test</groupId>
       <artifactId>missing</artifactId>

Added: maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/0.2/pom-0.2.jar
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/0.2/pom-0.2.jar?rev=881522&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/0.2/pom-0.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/0.2/pom-0.2.pom
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/0.2/pom-0.2.pom?rev=881522&view=auto
==============================================================================
--- maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/0.2/pom-0.2.pom
(added)
+++ maven/plugins/trunk/maven-remote-resources-plugin/src/it/resources/bad-dependency-poms/repo/test/pom/0.2/pom-0.2.pom
Tue Nov 17 21:11:40 2009
@@ -0,0 +1,6 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>test</groupId>
+  <artifactId>pom</artifactId>
+  <version>0.2</version>
+</project>

Modified: maven/plugins/trunk/maven-remote-resources-plugin/src/test/java/org/apache/maven/plugin/resources/remote/it/IT_BadDependencyPoms.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-remote-resources-plugin/src/test/java/org/apache/maven/plugin/resources/remote/it/IT_BadDependencyPoms.java?rev=881522&r1=881521&r2=881522&view=diff
==============================================================================
--- maven/plugins/trunk/maven-remote-resources-plugin/src/test/java/org/apache/maven/plugin/resources/remote/it/IT_BadDependencyPoms.java
(original)
+++ maven/plugins/trunk/maven-remote-resources-plugin/src/test/java/org/apache/maven/plugin/resources/remote/it/IT_BadDependencyPoms.java
Tue Nov 17 21:11:40 2009
@@ -53,6 +53,7 @@
         String content = FileUtils.fileRead( output );
 
         assertTrue( content.indexOf( "Dependency Id: test:missing:0.1" ) >= 0 );
+        assertTrue( content.indexOf( "Dependency Id: test:pom:0.2" ) >= 0 );
     }
 
 }



Mime
View raw message