diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4231SnapshotUpdatePolicyTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4231SnapshotUpdatePolicyTest.java
index 252e9ab5f8..f554dc0ad5 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4231SnapshotUpdatePolicyTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4231SnapshotUpdatePolicyTest.java
@@ -72,7 +72,8 @@ public class MavenITmng4231SnapshotUpdatePolicyTest
verifier.resetStreams();
Properties checksums = verifier.loadProperties( "target/checksum.properties" );
- assertChecksum( "db3f17644e813af768ae6e82a6d0a2f29aef8988", checksums );
+ assertChecksum( "db3f17644e813af768ae6e82a6d0a2f29aef8988", "a-0.1-SNAPSHOT.jar", checksums );
+ assertChecksum( "5e3265f3ed55e8b217ff9db444fd8d888962a990", "b-0.1-SNAPSHOT.jar", checksums );
}
/**
@@ -108,12 +109,13 @@ public class MavenITmng4231SnapshotUpdatePolicyTest
verifier.resetStreams();
Properties checksums = verifier.loadProperties( "target/checksum.properties" );
- assertChecksum( "97c4e1a857d8957594ccbd2ac19d51885478ec80", checksums );
+ assertChecksum( "97c4e1a857d8957594ccbd2ac19d51885478ec80", "a-0.1-SNAPSHOT.jar", checksums );
+ assertChecksum( "", "b-0.1-SNAPSHOT.jar", checksums );
}
- private void assertChecksum( String checksum, Properties checksums )
+ private void assertChecksum( String checksum, String jar, Properties checksums )
{
- assertEquals( checksum, checksums.getProperty( "a-0.1-SNAPSHOT.jar" ).toLowerCase( java.util.Locale.ENGLISH ) );
+ assertEquals( checksum, checksums.getProperty( jar, "" ).toLowerCase( java.util.Locale.ENGLISH ) );
}
}
diff --git a/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/a/0.1-SNAPSHOT/a-0.1-20090708.185113-2.pom b/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/a/0.1-SNAPSHOT/a-0.1-20090708.185113-2.pom
index 6c93385284..86b177c3b9 100644
--- a/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/a/0.1-SNAPSHOT/a-0.1-20090708.185113-2.pom
+++ b/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/a/0.1-SNAPSHOT/a-0.1-20090708.185113-2.pom
@@ -33,4 +33,12 @@ under the License.
file:///${basedir}/repo
+
+
+
+ org.apache.maven.its.mng4231
+ b
+ 0.1-SNAPSHOT
+
+
diff --git a/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/0.1-SNAPSHOT/b-0.1-20091110.190117-1.jar b/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/0.1-SNAPSHOT/b-0.1-20091110.190117-1.jar
new file mode 100644
index 0000000000..fd0936d428
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/0.1-SNAPSHOT/b-0.1-20091110.190117-1.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/0.1-SNAPSHOT/b-0.1-20091110.190117-1.pom b/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/0.1-SNAPSHOT/b-0.1-20091110.190117-1.pom
new file mode 100644
index 0000000000..13b2341390
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/0.1-SNAPSHOT/b-0.1-20091110.190117-1.pom
@@ -0,0 +1,36 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.its.mng4231
+ b
+ 0.1-SNAPSHOT
+ jar
+
+
+
+ maven-core-it
+ file:///${basedir}/repo
+
+
+
diff --git a/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/0.1-SNAPSHOT/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/0.1-SNAPSHOT/maven-metadata.xml
new file mode 100644
index 0000000000..fc7cd42798
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/0.1-SNAPSHOT/maven-metadata.xml
@@ -0,0 +1,13 @@
+
+
+ org.apache.maven.its.mng4231
+ b
+ 0.1-SNAPSHOT
+
+
+ 20091110.190117
+ 1
+
+ 20091110190117
+
+
diff --git a/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/maven-metadata.xml
new file mode 100644
index 0000000000..788cd21027
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-4231/repo-2/org/apache/maven/its/mng4231/b/maven-metadata.xml
@@ -0,0 +1,12 @@
+
+
+ org.apache.maven.its.mng4231
+ b
+ 0.1-SNAPSHOT
+
+
+ 0.1-SNAPSHOT
+
+ 20091110190117
+
+