diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java b/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
index c759c147c4..2c1f32deea 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
@@ -193,6 +193,7 @@ public class IntegrationTestSuite
suite.addTestSuite( MavenITmng3396DependencyManagementForOverConstrainedRangesTest.class );
suite.addTestSuite( MavenITmng3394POMPluginVersionDominanceTest.class );
suite.addTestSuite( MavenITmng3380ManagedRelocatedTransdepsTest.class );
+ suite.addTestSuite( MavenITmng3379ParallelArtifactDownloadsTest.class );
suite.addTestSuite( MavenITmng3372DirectInvocationOfPluginsTest.class );
suite.addTestSuite( MavenITmng3355TranslatedPathInterpolationTest.class );
suite.addTestSuite( MavenITmng3331ModulePathNormalizationTest.class );
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3379ParallelArtifactDownloadsTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3379ParallelArtifactDownloadsTest.java
new file mode 100644
index 0000000000..a6508fe3ab
--- /dev/null
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3379ParallelArtifactDownloadsTest.java
@@ -0,0 +1,103 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.File;
+
+import org.apache.maven.it.Verifier;
+import org.apache.maven.it.util.ResourceExtractor;
+
+/**
+ * This is a test set for MNG-3379.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class MavenITmng3379ParallelArtifactDownloadsTest
+ extends AbstractMavenIntegrationTestCase
+{
+
+ public MavenITmng3379ParallelArtifactDownloadsTest()
+ {
+ super();
+ }
+
+ /**
+ * Tests that parallel downloads of artifacts from both the same and from different group ids don't corrupt
+ * the local repo.
+ */
+ public void testitMNG3379()
+ throws Exception
+ {
+ File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3379" );
+
+ Verifier verifier = new Verifier( testDir.getAbsolutePath() );
+ verifier.setAutoclean( false );
+ verifier.deleteArtifacts( "org.apache.maven.its.mng3379.a" );
+ verifier.deleteArtifacts( "org.apache.maven.its.mng3379.b" );
+ verifier.deleteArtifacts( "org.apache.maven.its.mng3379.c" );
+ verifier.deleteArtifacts( "org.apache.maven.its.mng3379.c" );
+ verifier.executeGoal( "validate" );
+ verifier.verifyErrorFreeLog();
+ verifier.resetStreams();
+
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.a", "x", "0.1", "", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.a", "x", "0.1", "", "pom" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.a", "x", "0.1", "tests", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.a", "x", "0.1", "sources", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.a", "x", "0.1", "test-javadoc", "jar" );
+
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.b", "x", "0.1", "", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.b", "x", "0.1", "", "pom" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.b", "x", "0.1", "tests", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.b", "x", "0.1", "sources", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.b", "x", "0.1", "test-javadoc", "jar" );
+
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.c", "x", "0.1", "", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.c", "x", "0.1", "", "pom" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.c", "x", "0.1", "tests", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.c", "x", "0.1", "sources", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.c", "x", "0.1", "test-javadoc", "jar" );
+
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.d", "x", "0.1", "", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.d", "x", "0.1", "", "pom" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.d", "x", "0.1", "tests", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.d", "x", "0.1", "sources", "jar" );
+ assertArtifactPresent( verifier, "org.apache.maven.its.mng3379.d", "x", "0.1", "test-javadoc", "jar" );
+ }
+
+ private void assertArtifactPresent( Verifier verifier, String gid, String aid, String ver, String cls, String ext )
+ {
+ StringBuffer buffer = new StringBuffer( 256 );
+ buffer.append( verifier.localRepo );
+ buffer.append( '/' ).append( gid.replace( '.', '/' ) );
+ buffer.append( '/' ).append( aid );
+ buffer.append( '/' ).append( ver );
+ buffer.append( '/' ).append( aid ).append( '-' ).append( ver );
+ if ( cls != null && cls.length() > 0 )
+ {
+ buffer.append( '-' ).append( cls );
+ }
+ buffer.append( '.' ).append( ext );
+ File file = new File( buffer.toString() );
+ assertTrue( file.getAbsolutePath(), file.isFile() );
+ }
+
+}
diff --git a/its/core-it-suite/src/test/resources/mng-3379/pom.xml b/its/core-it-suite/src/test/resources/mng-3379/pom.xml
new file mode 100644
index 0000000000..331ff1174d
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/pom.xml
@@ -0,0 +1,167 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.its.mng3379
+ test
+ jar
+ 1
+
+ Maven Integration Test :: MNG-3379
+
+ Tests that parallel downloads of artifacts from both the same and from different group ids don't corrupt
+ the local repo.
+
+
+
+
+
+ org.apache.maven.its.mng3379.a
+ x
+ 0.1
+
+
+ org.apache.maven.its.mng3379.a
+ x
+ 0.1
+ tests
+
+
+ org.apache.maven.its.mng3379.a
+ x
+ 0.1
+ sources
+
+
+ org.apache.maven.its.mng3379.a
+ x
+ 0.1
+ test-javadoc
+
+
+
+ org.apache.maven.its.mng3379.b
+ x
+ 0.1
+
+
+ org.apache.maven.its.mng3379.b
+ x
+ 0.1
+ tests
+
+
+ org.apache.maven.its.mng3379.b
+ x
+ 0.1
+ sources
+
+
+ org.apache.maven.its.mng3379.b
+ x
+ 0.1
+ test-javadoc
+
+
+
+ org.apache.maven.its.mng3379.c
+ x
+ 0.1
+
+
+ org.apache.maven.its.mng3379.c
+ x
+ 0.1
+ tests
+
+
+ org.apache.maven.its.mng3379.c
+ x
+ 0.1
+ sources
+
+
+ org.apache.maven.its.mng3379.c
+ x
+ 0.1
+ test-javadoc
+
+
+
+ org.apache.maven.its.mng3379.d
+ x
+ 0.1
+
+
+ org.apache.maven.its.mng3379.d
+ x
+ 0.1
+ tests
+
+
+ org.apache.maven.its.mng3379.d
+ x
+ 0.1
+ sources
+
+
+ org.apache.maven.its.mng3379.d
+ x
+ 0.1
+ test-javadoc
+
+
+
+
+
+ maven-core-it
+ file://${basedir}/repo
+
+
+ fail
+
+
+ false
+
+
+
+
+
+
+
+ org.apache.maven.its.plugins
+ maven-it-plugin-dependency-resolution
+ 2.1-SNAPSHOT
+
+
+ test
+ validate
+
+ compile
+
+
+
+
+
+
+
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-sources.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-sources.jar
new file mode 100644
index 0000000000..0112b922ab
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-sources.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-sources.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-sources.jar.sha1
new file mode 100644
index 0000000000..29a4c78d9f
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-sources.jar.sha1
@@ -0,0 +1 @@
+eb6f88879780e05b80766d0eff83e930f2b86601
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-test-javadoc.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-test-javadoc.jar
new file mode 100644
index 0000000000..d7104d9f12
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-test-javadoc.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-test-javadoc.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-test-javadoc.jar.sha1
new file mode 100644
index 0000000000..02d0d121ca
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-test-javadoc.jar.sha1
@@ -0,0 +1 @@
+fd805d41bd0ccd03e85c990298a0210eecfcc3a0
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-tests.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-tests.jar
new file mode 100644
index 0000000000..b3a61aee1f
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-tests.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-tests.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-tests.jar.sha1
new file mode 100644
index 0000000000..906db2ec10
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1-tests.jar.sha1
@@ -0,0 +1 @@
+70bab2c72a200ed93aea963ffb0cdfe238ac6ba6
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.jar
new file mode 100644
index 0000000000..8cecec21b0
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.jar.sha1
new file mode 100644
index 0000000000..2fa6f3fac6
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.jar.sha1
@@ -0,0 +1 @@
+b71e548e0427e3a92b1c130d27be6fa52d84c576
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.pom b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.pom
new file mode 100644
index 0000000000..980702b602
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.pom
@@ -0,0 +1,81 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.its.mng3379.a
+ x
+ 0.1
+ jar
+
+
+ true
+
+
+
+
+ maven-core-it
+ file:///${basedir}/repo
+
+
+
+
+
+
+ maven-jar-plugin
+ 2.2
+
+
+ tests
+
+ test-jar
+
+
+
+
+
+ maven-source-plugin
+ 2.0.4
+
+
+ sources
+
+ jar
+
+
+
+
+
+ maven-javadoc-plugin
+ 2.5
+
+
+ apidocs
+
+ test-jar
+
+
+
+
+
+
+
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.pom.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.pom.sha1
new file mode 100644
index 0000000000..3d469f2747
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/0.1/x-0.1.pom.sha1
@@ -0,0 +1 @@
+5904b07e6c250f792643b8ca9d8237bdbacd5acf
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/maven-metadata.xml
new file mode 100644
index 0000000000..b1a2001b0c
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/maven-metadata.xml
@@ -0,0 +1,12 @@
+
+ org.apache.maven.its.mng3379.a
+ x
+ 0.1
+
+ 0.1
+
+ 0.1
+
+ 20090208133354
+
+
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/maven-metadata.xml.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/maven-metadata.xml.sha1
new file mode 100644
index 0000000000..28103a3e9e
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/a/x/maven-metadata.xml.sha1
@@ -0,0 +1 @@
+4398fbb8bb8bba7064c300326fb20aa5ad28611b
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-sources.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-sources.jar
new file mode 100644
index 0000000000..376482c5af
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-sources.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-sources.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-sources.jar.sha1
new file mode 100644
index 0000000000..1dc448639d
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-sources.jar.sha1
@@ -0,0 +1 @@
+1a0c93a349a53312dc3ee58343f8393a88e78482
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-test-javadoc.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-test-javadoc.jar
new file mode 100644
index 0000000000..9e790d9268
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-test-javadoc.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-test-javadoc.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-test-javadoc.jar.sha1
new file mode 100644
index 0000000000..6da5a05c57
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-test-javadoc.jar.sha1
@@ -0,0 +1 @@
+0523c551c85a92127b9c18bb2795d5728d5174f3
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-tests.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-tests.jar
new file mode 100644
index 0000000000..99f75ddf0e
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-tests.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-tests.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-tests.jar.sha1
new file mode 100644
index 0000000000..4364da846f
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1-tests.jar.sha1
@@ -0,0 +1 @@
+5b5a09051f138d407d2600c0f016f48179a6be75
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.jar
new file mode 100644
index 0000000000..b8a736c1ba
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.jar.sha1
new file mode 100644
index 0000000000..05801333f2
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.jar.sha1
@@ -0,0 +1 @@
+e5cf583eab02c011806a2fba761915a8cfa7d77a
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.pom b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.pom
new file mode 100644
index 0000000000..4ef23ffefa
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.pom
@@ -0,0 +1,81 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.its.mng3379.b
+ x
+ 0.1
+ jar
+
+
+ true
+
+
+
+
+ maven-core-it
+ file:///${basedir}/repo
+
+
+
+
+
+
+ maven-jar-plugin
+ 2.2
+
+
+ tests
+
+ test-jar
+
+
+
+
+
+ maven-source-plugin
+ 2.0.4
+
+
+ sources
+
+ jar
+
+
+
+
+
+ maven-javadoc-plugin
+ 2.5
+
+
+ apidocs
+
+ test-jar
+
+
+
+
+
+
+
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.pom.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.pom.sha1
new file mode 100644
index 0000000000..53928ac3a5
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/0.1/x-0.1.pom.sha1
@@ -0,0 +1 @@
+6840d0bf1653fc445d4486c4a5e280813087a1a5
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/maven-metadata.xml
new file mode 100644
index 0000000000..d506be4e5c
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/maven-metadata.xml
@@ -0,0 +1,12 @@
+
+ org.apache.maven.its.mng3379.b
+ x
+ 0.1
+
+ 0.1
+
+ 0.1
+
+ 20090208133454
+
+
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/maven-metadata.xml.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/maven-metadata.xml.sha1
new file mode 100644
index 0000000000..db3a1dc20e
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/b/x/maven-metadata.xml.sha1
@@ -0,0 +1 @@
+a24c3b15d87466e4b9ed731895e6047e9b529f6c
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-sources.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-sources.jar
new file mode 100644
index 0000000000..3858a94b5f
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-sources.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-sources.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-sources.jar.sha1
new file mode 100644
index 0000000000..8306ce8350
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-sources.jar.sha1
@@ -0,0 +1 @@
+16ba8eb2c5586bc40092d6e74a10d558ad420c11
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-test-javadoc.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-test-javadoc.jar
new file mode 100644
index 0000000000..ba881296ed
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-test-javadoc.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-test-javadoc.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-test-javadoc.jar.sha1
new file mode 100644
index 0000000000..44e9bcbb77
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-test-javadoc.jar.sha1
@@ -0,0 +1 @@
+46f9b349dba7b94e0ea103f265e71881c41755e0
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-tests.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-tests.jar
new file mode 100644
index 0000000000..51b3c81884
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-tests.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-tests.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-tests.jar.sha1
new file mode 100644
index 0000000000..d8803858b7
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1-tests.jar.sha1
@@ -0,0 +1 @@
+ca12b841a47fb2eeb5ff7f90db342b91401a2b2e
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.jar
new file mode 100644
index 0000000000..d5ea8c8a04
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.jar.sha1
new file mode 100644
index 0000000000..345998a449
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.jar.sha1
@@ -0,0 +1 @@
+267b6326ac40acae70084d39f8d6653109195ce2
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.pom b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.pom
new file mode 100644
index 0000000000..0bc4a4ae2d
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.pom
@@ -0,0 +1,81 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.its.mng3379.c
+ x
+ 0.1
+ jar
+
+
+ true
+
+
+
+
+ maven-core-it
+ file:///${basedir}/repo
+
+
+
+
+
+
+ maven-jar-plugin
+ 2.2
+
+
+ tests
+
+ test-jar
+
+
+
+
+
+ maven-source-plugin
+ 2.0.4
+
+
+ sources
+
+ jar
+
+
+
+
+
+ maven-javadoc-plugin
+ 2.5
+
+
+ apidocs
+
+ test-jar
+
+
+
+
+
+
+
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.pom.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.pom.sha1
new file mode 100644
index 0000000000..3ad47e66b3
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/0.1/x-0.1.pom.sha1
@@ -0,0 +1 @@
+eae1c10beecc02eb0e4edd5a25e1cb964057b3e5
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/maven-metadata.xml
new file mode 100644
index 0000000000..66d765470f
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/maven-metadata.xml
@@ -0,0 +1,12 @@
+
+ org.apache.maven.its.mng3379.c
+ x
+ 0.1
+
+ 0.1
+
+ 0.1
+
+ 20090208133508
+
+
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/maven-metadata.xml.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/maven-metadata.xml.sha1
new file mode 100644
index 0000000000..f9f21ce139
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/c/x/maven-metadata.xml.sha1
@@ -0,0 +1 @@
+22a882ba475e2c2eda7a7db17bd3d7ff753e7b5c
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-sources.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-sources.jar
new file mode 100644
index 0000000000..111644e3a5
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-sources.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-sources.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-sources.jar.sha1
new file mode 100644
index 0000000000..b263d04d80
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-sources.jar.sha1
@@ -0,0 +1 @@
+573b4260baec255421e1bb7ffded4569d91e1867
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-test-javadoc.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-test-javadoc.jar
new file mode 100644
index 0000000000..b0eb8bf356
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-test-javadoc.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-test-javadoc.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-test-javadoc.jar.sha1
new file mode 100644
index 0000000000..b55b9352cb
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-test-javadoc.jar.sha1
@@ -0,0 +1 @@
+4bea5c6f80eab61b814b5ab005476a79dd05ada5
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-tests.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-tests.jar
new file mode 100644
index 0000000000..c9691859e6
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-tests.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-tests.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-tests.jar.sha1
new file mode 100644
index 0000000000..11d59b7f95
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1-tests.jar.sha1
@@ -0,0 +1 @@
+beb42cc5880099fb3df64bffb4b18afdb49dcf6a
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.jar b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.jar
new file mode 100644
index 0000000000..aad7104d61
Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.jar differ
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.jar.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.jar.sha1
new file mode 100644
index 0000000000..511a9a8b82
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.jar.sha1
@@ -0,0 +1 @@
+4f0d975441aea90243d1b89183512aac7420b757
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.pom b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.pom
new file mode 100644
index 0000000000..ef6b4df2ee
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.pom
@@ -0,0 +1,81 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.its.mng3379.d
+ x
+ 0.1
+ jar
+
+
+ true
+
+
+
+
+ maven-core-it
+ file:///${basedir}/repo
+
+
+
+
+
+
+ maven-jar-plugin
+ 2.2
+
+
+ tests
+
+ test-jar
+
+
+
+
+
+ maven-source-plugin
+ 2.0.4
+
+
+ sources
+
+ jar
+
+
+
+
+
+ maven-javadoc-plugin
+ 2.5
+
+
+ apidocs
+
+ test-jar
+
+
+
+
+
+
+
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.pom.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.pom.sha1
new file mode 100644
index 0000000000..9a8eff0723
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/0.1/x-0.1.pom.sha1
@@ -0,0 +1 @@
+dc011fe3156096fddc8368528b3443c162f33983
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/maven-metadata.xml
new file mode 100644
index 0000000000..0511f6fb91
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/maven-metadata.xml
@@ -0,0 +1,12 @@
+
+ org.apache.maven.its.mng3379.d
+ x
+ 0.1
+
+ 0.1
+
+ 0.1
+
+ 20090208133536
+
+
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/maven-metadata.xml.sha1 b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/maven-metadata.xml.sha1
new file mode 100644
index 0000000000..aa1b7b5331
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3379/repo/org/apache/maven/its/mng3379/d/x/maven-metadata.xml.sha1
@@ -0,0 +1 @@
+e5dc27ae9e5680b70cee0c767bfe78362a134aff
\ No newline at end of file