Index: core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0127AntrunDependencies.java
===================================================================
--- core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0127AntrunDependencies.java (wersja 0)
+++ core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0127AntrunDependencies.java (wersja 0)
@@ -0,0 +1,50 @@
+package org.apache.maven.integrationtests;
+
+/*
+ * 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;
+
+public class MavenIT0127AntrunDependencies
+ extends AbstractMavenIntegrationTestCase
+{
+
+ /**
+ * MNG-1323
+ */
+ public void testit0127()
+ throws Exception
+ {
+ File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0127-antrunDependencies" );
+
+ Verifier verifier = new Verifier( testDir.getAbsolutePath() );
+ verifier.deleteArtifact( "org.apache.maven.its.it0127", "parent", "1.0-SNAPSHOT", "pom" );
+ verifier.deleteArtifact( "org.apache.maven.its.it0127", "a", "1.0-SNAPSHOT", "jar" );
+ verifier.deleteArtifact( "org.apache.maven.its.it0127", "b", "1.0-SNAPSHOT", "jar" );
+ verifier.executeGoal( "compile" );
+ verifier.verifyErrorFreeLog();
+ verifier.resetStreams();
+ }
+
+
+
+}
Index: core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java
===================================================================
--- core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java (wersja 572446)
+++ core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java (kopia robocza)
@@ -178,6 +178,7 @@
// suite.addTestSuite( MavenIT0123SnapshotRangeRepositoryTest.class ); -- MNG-2994
// suite.addTestSuite( MavenIT0124PomExtensionComponentOverrideTest.class ); -- MNG-2771
// suite.addTestSuite( MavenIT0126TestJarDependency.class ); // MJAR-75 / MNG-3160
+ suite.addTestSuite(MavenIT0127AntrunDependencies.class);
return suite;
}
}
Index: core-integration-tests/src/test/resources/pom.xml
===================================================================
--- core-integration-tests/src/test/resources/pom.xml (wersja 572446)
+++ core-integration-tests/src/test/resources/pom.xml (kopia robocza)
@@ -126,5 +126,6 @@
it0126-testJarDependency
+ it0127-antrunDependencies
Index: core-integration-tests/src/test/resources/it0127-antrunDependencies/a/src/main/java/org/apache/maven/its/it0127/Component.java
===================================================================
--- core-integration-tests/src/test/resources/it0127-antrunDependencies/a/src/main/java/org/apache/maven/its/it0127/Component.java (wersja 0)
+++ core-integration-tests/src/test/resources/it0127-antrunDependencies/a/src/main/java/org/apache/maven/its/it0127/Component.java (wersja 0)
@@ -0,0 +1,25 @@
+package org.apache.maven.its.it0127;
+
+/*
+ * 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.
+ */
+
+public interface Component
+{
+ void func();
+}
Index: core-integration-tests/src/test/resources/it0127-antrunDependencies/a/pom.xml
===================================================================
--- core-integration-tests/src/test/resources/it0127-antrunDependencies/a/pom.xml (wersja 0)
+++ core-integration-tests/src/test/resources/it0127-antrunDependencies/a/pom.xml (wersja 0)
@@ -0,0 +1,60 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.its.it0127
+ parent
+ 1.0-SNAPSHOT
+
+ a
+ a
+ jar
+
+
+
+
+ maven-antrun-plugin
+
+
+ generate-sources
+
+
+
+
+
+
+
+
+ run
+
+
+
+
+
+
+
+
+
+
Index: core-integration-tests/src/test/resources/it0127-antrunDependencies/b/src/main/java/org/apache/maven/its/it0127/MyClient.java
===================================================================
--- core-integration-tests/src/test/resources/it0127-antrunDependencies/b/src/main/java/org/apache/maven/its/it0127/MyClient.java (wersja 0)
+++ core-integration-tests/src/test/resources/it0127-antrunDependencies/b/src/main/java/org/apache/maven/its/it0127/MyClient.java (wersja 0)
@@ -0,0 +1,29 @@
+package org.apache.maven.its.it0127;
+
+/*
+ * 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.
+ */
+
+
+public class MyClient
+{
+
+ void func()
+ {
+ }
+}
Index: core-integration-tests/src/test/resources/it0127-antrunDependencies/b/pom.xml
===================================================================
--- core-integration-tests/src/test/resources/it0127-antrunDependencies/b/pom.xml (wersja 0)
+++ core-integration-tests/src/test/resources/it0127-antrunDependencies/b/pom.xml (wersja 0)
@@ -0,0 +1,84 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.its.it0127
+ parent
+ 1.0-SNAPSHOT
+
+ b
+ b
+ jar
+
+
+ org.apache.maven.its.it0127
+ a
+ 1.0-SNAPSHOT
+
+
+
+
+
+
+ maven-antrun-plugin
+
+
+ generate-sources
+
+
+
+
+
+
+
+
+
+
+
+ run
+
+
+
+
+
+ jakarta-regexp
+ jakarta-regexp
+ 1.4
+
+
+ ant
+ ant-jakarta-regexp
+ 1.6.1
+
+
+ org.apache.ant
+ ant-nodeps
+ 1.7.0
+
+
+
+
+
+
Index: core-integration-tests/src/test/resources/it0127-antrunDependencies/pom.xml
===================================================================
--- core-integration-tests/src/test/resources/it0127-antrunDependencies/pom.xml (wersja 0)
+++ core-integration-tests/src/test/resources/it0127-antrunDependencies/pom.xml (wersja 0)
@@ -0,0 +1,38 @@
+
+
+
+
+
+ 4.0.0
+ org.apache.maven.its.it0127
+ parent
+ Parent
+ pom
+ 1.0-SNAPSHOT
+
+ a
+ b
+
+
+ MNG-1323
+
+