Index: src/test/java/org/apache/maven/integrationtests/MavenIT0124AntrunDependencies.java =================================================================== --- src/test/java/org/apache/maven/integrationtests/MavenIT0124AntrunDependencies.java (wersja 0) +++ src/test/java/org/apache/maven/integrationtests/MavenIT0124AntrunDependencies.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 MavenIT0124AntrunDependencies + extends AbstractMavenIntegrationTestCase +{ + + /** + * MNG-1323 + */ + public void testit0124() + throws Exception + { + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0124-antrunDependencies" ); + + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); + verifier.deleteArtifact( "org.apache.maven.its.it0124", "parent", "1.0-SNAPSHOT", "pom" ); + verifier.deleteArtifact( "org.apache.maven.its.it0124", "a", "1.0-SNAPSHOT", "jar" ); + verifier.deleteArtifact( "org.apache.maven.its.it0124", "b", "1.0-SNAPSHOT", "jar" ); + verifier.executeGoal( "compile" ); + verifier.verifyErrorFreeLog(); + verifier.resetStreams(); + } + + + +} Index: src/test/resources/it0124-antrunDependencies/a/src/main/java/org/apache/maven/its/it0124/Component.java =================================================================== --- src/test/resources/it0124-antrunDependencies/a/src/main/java/org/apache/maven/its/it0124/Component.java (wersja 0) +++ src/test/resources/it0124-antrunDependencies/a/src/main/java/org/apache/maven/its/it0124/Component.java (wersja 0) @@ -0,0 +1,25 @@ +package org.apache.maven.its.it0124; + +/* + * 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: src/test/resources/it0124-antrunDependencies/a/pom.xml =================================================================== --- src/test/resources/it0124-antrunDependencies/a/pom.xml (wersja 0) +++ src/test/resources/it0124-antrunDependencies/a/pom.xml (wersja 0) @@ -0,0 +1,60 @@ + + + + + + 4.0.0 + + org.apache.maven.its.it0124 + parent + 1.0-SNAPSHOT + + a + a + jar + + + + + maven-antrun-plugin + + + generate-sources + + + + + + + + + run + + + + + + + + + + Index: src/test/resources/it0124-antrunDependencies/b/src/main/java/org/apache/maven/its/it0124/MyClient.java =================================================================== --- src/test/resources/it0124-antrunDependencies/b/src/main/java/org/apache/maven/its/it0124/MyClient.java (wersja 0) +++ src/test/resources/it0124-antrunDependencies/b/src/main/java/org/apache/maven/its/it0124/MyClient.java (wersja 0) @@ -0,0 +1,29 @@ +package org.apache.maven.its.it0124; + +/* + * 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: src/test/resources/it0124-antrunDependencies/b/pom.xml =================================================================== --- src/test/resources/it0124-antrunDependencies/b/pom.xml (wersja 0) +++ src/test/resources/it0124-antrunDependencies/b/pom.xml (wersja 0) @@ -0,0 +1,84 @@ + + + + + + 4.0.0 + + org.apache.maven.its.it0124 + parent + 1.0-SNAPSHOT + + b + b + jar + + + org.apache.maven.its.it0124 + 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: src/test/resources/it0124-antrunDependencies/pom.xml =================================================================== --- src/test/resources/it0124-antrunDependencies/pom.xml (wersja 0) +++ src/test/resources/it0124-antrunDependencies/pom.xml (wersja 0) @@ -0,0 +1,38 @@ + + + + + + 4.0.0 + org.apache.maven.its.it0124 + parent + Parent + pom + 1.0-SNAPSHOT + + a + b + + + MNG-1323 + + Index: src/test/resources/pom.xml =================================================================== --- src/test/resources/pom.xml (wersja 549444) +++ src/test/resources/pom.xml (kopia robocza) @@ -119,7 +119,8 @@ - + it0120-ejbClientDependency + it0121-testJarDependency it0121-transitiveDepManVersion it0122-reactorDependencyResolution it0123-snapshotRangeRepository it0124-antrunDependencies