diff --git a/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java b/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java
index 5d4baa8242..a41bb56e22 100644
--- a/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java
+++ b/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java
@@ -133,6 +133,7 @@ public class IntegrationTestSuite
suite.addTestSuite( MavenIT0111PluginsThatRequireAResourceFromAnExtensionTest.class );
suite.addTestSuite( MavenIT0112ExtensionsThatDragDependencies.class );
suite.addTestSuite( MavenIT0113ServerAuthzAvailableToWagonMgrInPlugin.class );
+ //suite.addTestSuite( MavenIT0118AttachedArtifactsInReactor.class );
return suite;
}
}
diff --git a/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0118AttachedArtifactsInReactor.java b/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0118AttachedArtifactsInReactor.java
new file mode 100644
index 0000000000..ea4e8ed8a9
--- /dev/null
+++ b/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0118AttachedArtifactsInReactor.java
@@ -0,0 +1,31 @@
+package org.apache.maven.integrationtests;
+
+import java.io.File;
+import java.util.List;
+import java.util.ArrayList;
+
+import org.apache.maven.it.Verifier;
+import org.apache.maven.it.util.ResourceExtractor;
+
+public class MavenIT0118AttachedArtifactsInReactor
+ extends AbstractMavenIntegrationTestCase
+{
+ public void testit0118()
+ throws Exception
+ {
+ File testDir =
+ ResourceExtractor.simpleExtractResources( getClass(), "/it0118-attachedartifactinreactor" );
+
+ Verifier verifier;
+
+ // Install the parent POM
+ verifier = new Verifier( testDir.getAbsolutePath() );
+ verifier.deleteArtifact( "org.apache.maven.its.it0118", "parent", "1.0", "pom" );
+ verifier.deleteArtifact( "org.apache.maven.its.it0118", "one", "1.0", "jar" );
+ verifier.deleteArtifact( "org.apache.maven.its.it0118", "two", "1.0", "pom" );
+ List cliOptions = new ArrayList();
+ verifier.executeGoal( "package" );
+ verifier.verifyErrorFreeLog();
+ verifier.resetStreams();
+ }
+}
diff --git a/its/core-integration-tests/src/test/resources/it0118-attachedartifactinreactor/one/pom.xml b/its/core-integration-tests/src/test/resources/it0118-attachedartifactinreactor/one/pom.xml
new file mode 100644
index 0000000000..981a883fa4
--- /dev/null
+++ b/its/core-integration-tests/src/test/resources/it0118-attachedartifactinreactor/one/pom.xml
@@ -0,0 +1,27 @@
+
+
+ 4.0.0
+ org.apache.maven.its.it0118
+ one
+ 1.0
+
+
+
+ maven-assembly-plugin
+
+
+ package
+
+ single
+
+
+
+ src
+
+
+
+
+
+
+
+
diff --git a/its/core-integration-tests/src/test/resources/it0118-attachedartifactinreactor/pom.xml b/its/core-integration-tests/src/test/resources/it0118-attachedartifactinreactor/pom.xml
new file mode 100644
index 0000000000..8167b2dc1c
--- /dev/null
+++ b/its/core-integration-tests/src/test/resources/it0118-attachedartifactinreactor/pom.xml
@@ -0,0 +1,12 @@
+
+
+ 4.0.0
+ org.apache.maven.its.it0118
+ parent
+ 1.0
+ pom
+
+ one
+ two
+
+
diff --git a/its/core-integration-tests/src/test/resources/it0118-attachedartifactinreactor/two/pom.xml b/its/core-integration-tests/src/test/resources/it0118-attachedartifactinreactor/two/pom.xml
new file mode 100644
index 0000000000..3f2c86747d
--- /dev/null
+++ b/its/core-integration-tests/src/test/resources/it0118-attachedartifactinreactor/two/pom.xml
@@ -0,0 +1,37 @@
+
+
+ 4.0.0
+ org.apache.maven.its.it0118
+ two
+ 1.0
+ pom
+
+
+ org.apache.maven.its.it0118
+ one
+ 1.0
+ src
+ zip
+
+
+
+
+
+ maven-dependency-plugin
+
+
+ unpack
+ generate-sources
+
+ unpack-dependencies
+
+
+ ${project.build.directory}/extracted
+ zip
+
+
+
+
+
+
+