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 beaa20c132..062917606d 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 @@ -227,6 +227,7 @@ public class IntegrationTestSuite suite.addTestSuite( MavenITmng0282NonReactorExecWhenProjectIndependentTest.class ); suite.addTestSuite( MavenITmng0249ResolveDepsFromReactorTest.class ); suite.addTestSuite( MavenITmng0095ReactorFailureBehaviorTest.class ); + suite.addTestSuite( MavenIT0143TransitiveDependencyScopesTest.class ); suite.addTestSuite( MavenIT0142DirectDependencyScopesTest.class ); suite.addTestSuite( MavenIT0140Test.class ); suite.addTestSuite( MavenIT0139Test.class ); diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0142DirectDependencyScopesTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0142DirectDependencyScopesTest.java index d25e7dbcab..738843acdd 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0142DirectDependencyScopesTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0142DirectDependencyScopesTest.java @@ -35,6 +35,10 @@ public class MavenIT0142DirectDependencyScopesTest extends AbstractMavenIntegrationTestCase { + /* + * NOTE: Class path ordering is another issue (MNG-1412), so we merely check set containment here. + */ + public MavenIT0142DirectDependencyScopesTest() { } @@ -51,49 +55,44 @@ public class MavenIT0142DirectDependencyScopesTest verifier.setAutoclean( false ); verifier.deleteDirectory( "target" ); verifier.deleteArtifacts( "org.apache.maven.its.it0142" ); - verifier.filterFile( "pom.xml", "pom.xml", "UTF-8", verifier.newDefaultFilterProperties() ); + verifier.filterFile( "pom-template.xml", "pom.xml", "UTF-8", verifier.newDefaultFilterProperties() ); verifier.executeGoal( "validate" ); verifier.verifyErrorFreeLog(); verifier.resetStreams(); - /* - * NOTE: Class path ordering is another issue (MNG-1412), so we merely check set containment here. - */ - List compileArtifacts = verifier.loadLines( "target/compile-artifacts.txt", "UTF-8" ); - assertEquals( 3, compileArtifacts.size() ); assertTrue( compileArtifacts.toString(), compileArtifacts.contains( "org.apache.maven.its.it0142:system:jar:0.1" ) ); assertTrue( compileArtifacts.toString(), compileArtifacts.contains( "org.apache.maven.its.it0142:provided:jar:0.1" ) ); assertTrue( compileArtifacts.toString(), compileArtifacts.contains( "org.apache.maven.its.it0142:compile:jar:0.1" ) ); + assertEquals( 3, compileArtifacts.size() ); List compileClassPath = verifier.loadLines( "target/compile-cp.txt", "UTF-8" ); - assertEquals( 4, compileClassPath.size() ); assertTrue( compileClassPath.toString(), compileClassPath.contains( "classes" ) ); assertTrue( compileClassPath.toString(), compileClassPath.contains( "system-0.1.jar" ) ); assertTrue( compileClassPath.toString(), compileClassPath.contains( "provided-0.1.jar" ) ); assertTrue( compileClassPath.toString(), compileClassPath.contains( "compile-0.1.jar" ) ); + assertEquals( 4, compileClassPath.size() ); List runtimeArtifacts = verifier.loadLines( "target/runtime-artifacts.txt", "UTF-8" ); - assertEquals( 2, runtimeArtifacts.size() ); assertTrue( runtimeArtifacts.toString(), runtimeArtifacts.contains( "org.apache.maven.its.it0142:compile:jar:0.1" ) ); assertTrue( runtimeArtifacts.toString(), runtimeArtifacts.contains( "org.apache.maven.its.it0142:runtime:jar:0.1" ) ); + assertEquals( 2, runtimeArtifacts.size() ); List runtimeClassPath = verifier.loadLines( "target/runtime-cp.txt", "UTF-8" ); - assertEquals( 3, runtimeClassPath.size() ); assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "classes" ) ); assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "compile-0.1.jar" ) ); assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "runtime-0.1.jar" ) ); + assertEquals( 3, runtimeClassPath.size() ); List testArtifacts = verifier.loadLines( "target/test-artifacts.txt", "UTF-8" ); - assertEquals( 5, testArtifacts.size() ); assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0142:system:jar:0.1" ) ); assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0142:provided:jar:0.1" ) ); assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0142:compile:jar:0.1" ) ); assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0142:runtime:jar:0.1" ) ); assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0142:test:jar:0.1" ) ); + assertEquals( 5, testArtifacts.size() ); List testClassPath = verifier.loadLines( "target/test-cp.txt", "UTF-8" ); - assertEquals( 7, testClassPath.size() ); assertTrue( testClassPath.toString(), testClassPath.contains( "classes" ) ); assertTrue( testClassPath.toString(), testClassPath.contains( "test-classes" ) ); assertTrue( testClassPath.toString(), testClassPath.contains( "system-0.1.jar" ) ); @@ -101,6 +100,7 @@ public class MavenIT0142DirectDependencyScopesTest assertTrue( testClassPath.toString(), testClassPath.contains( "compile-0.1.jar" ) ); assertTrue( testClassPath.toString(), testClassPath.contains( "runtime-0.1.jar" ) ); assertTrue( testClassPath.toString(), testClassPath.contains( "test-0.1.jar" ) ); + assertEquals( 7, testClassPath.size() ); } } diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0143TransitiveDependencyScopesTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0143TransitiveDependencyScopesTest.java new file mode 100644 index 0000000000..9b9639a01c --- /dev/null +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0143TransitiveDependencyScopesTest.java @@ -0,0 +1,250 @@ +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 org.apache.maven.it.Verifier; +import org.apache.maven.it.util.ResourceExtractor; + +import java.io.File; +import java.util.Arrays; +import java.util.List; +import java.util.Properties; + +/** + * + * @author Benjamin Bentmann + * @version $Id$ + */ +public class MavenIT0143TransitiveDependencyScopesTest + extends AbstractMavenIntegrationTestCase +{ + + /* + * NOTE: Class path ordering is another issue (MNG-1412), so we merely check set containment here. + */ + + public MavenIT0143TransitiveDependencyScopesTest() + { + } + + /** + * Test that the different scopes of transitive dependencies end up on the right class paths when mediated from + * a compile-scope dependency. + */ + public void testitCompileScope() + throws Exception + { + Verifier verifier = run( "compile" ); + String targetDir = "target-compile"; + + /* + * NOTE: Transitive compile dependencies end up in compile scope to support the case of a class in the direct + * dependency that extends a class from the transitive dependency, i.e. + * project imports A from direct dependency and A extends B from transitive dependency. + */ + List compileArtifacts = verifier.loadLines( targetDir + "/compile-artifacts.txt", "UTF-8" ); + assertTrue( compileArtifacts.toString(), compileArtifacts.contains( "org.apache.maven.its.it0143:direct:jar:0.1" ) ); + assertTrue( compileArtifacts.toString(), compileArtifacts.contains( "org.apache.maven.its.it0143:compile:jar:0.1" ) ); + assertEquals( 2, compileArtifacts.size() ); + + List compileClassPath = verifier.loadLines( targetDir + "/compile-cp.txt", "UTF-8" ); + assertTrue( compileClassPath.toString(), compileClassPath.contains( "classes" ) ); + assertTrue( compileClassPath.toString(), compileClassPath.contains( "direct-0.1.jar" ) ); + assertTrue( compileClassPath.toString(), compileClassPath.contains( "compile-0.1.jar" ) ); + assertEquals( 3, compileClassPath.size() ); + + List runtimeArtifacts = verifier.loadLines( targetDir + "/runtime-artifacts.txt", "UTF-8" ); + assertTrue( runtimeArtifacts.toString(), runtimeArtifacts.contains( "org.apache.maven.its.it0143:direct:jar:0.1" ) ); + assertTrue( runtimeArtifacts.toString(), runtimeArtifacts.contains( "org.apache.maven.its.it0143:compile:jar:0.1" ) ); + assertTrue( runtimeArtifacts.toString(), runtimeArtifacts.contains( "org.apache.maven.its.it0143:runtime:jar:0.1" ) ); + assertEquals( 3, runtimeArtifacts.size() ); + + List runtimeClassPath = verifier.loadLines( targetDir + "/runtime-cp.txt", "UTF-8" ); + assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "classes" ) ); + assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "direct-0.1.jar" ) ); + assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "compile-0.1.jar" ) ); + assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "runtime-0.1.jar" ) ); + assertEquals( 4, runtimeClassPath.size() ); + + List testArtifacts = verifier.loadLines( targetDir + "/test-artifacts.txt", "UTF-8" ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:direct:jar:0.1" ) ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:compile:jar:0.1" ) ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:runtime:jar:0.1" ) ); + assertEquals( 3, testArtifacts.size() ); + + List testClassPath = verifier.loadLines( targetDir + "/test-cp.txt", "UTF-8" ); + assertTrue( testClassPath.toString(), testClassPath.contains( "classes" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "test-classes" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "direct-0.1.jar" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "compile-0.1.jar" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "runtime-0.1.jar" ) ); + assertEquals( 5, testClassPath.size() ); + } + + /** + * Test that the different scopes of transitive dependencies end up on the right class paths when mediated from + * a provided-scope dependency. + */ + public void testitProvidedScope() + throws Exception + { + Verifier verifier = run( "provided" ); + String targetDir = "target-provided"; + + List compileArtifacts = verifier.loadLines( targetDir + "/compile-artifacts.txt", "UTF-8" ); + assertTrue( compileArtifacts.toString(), compileArtifacts.contains( "org.apache.maven.its.it0143:direct:jar:0.1" ) ); + assertTrue( compileArtifacts.toString(), compileArtifacts.contains( "org.apache.maven.its.it0143:compile:jar:0.1" ) ); + assertTrue( compileArtifacts.toString(), compileArtifacts.contains( "org.apache.maven.its.it0143:runtime:jar:0.1" ) ); + assertEquals( 3, compileArtifacts.size() ); + + List compileClassPath = verifier.loadLines( targetDir + "/compile-cp.txt", "UTF-8" ); + assertTrue( compileClassPath.toString(), compileClassPath.contains( "classes" ) ); + assertTrue( compileClassPath.toString(), compileClassPath.contains( "direct-0.1.jar" ) ); + assertTrue( compileClassPath.toString(), compileClassPath.contains( "compile-0.1.jar" ) ); + assertTrue( compileClassPath.toString(), compileClassPath.contains( "runtime-0.1.jar" ) ); + assertEquals( 4, compileClassPath.size() ); + + List runtimeArtifacts = verifier.loadLines( targetDir + "/runtime-artifacts.txt", "UTF-8" ); + assertEquals( 0, runtimeArtifacts.size() ); + + List runtimeClassPath = verifier.loadLines( targetDir + "/runtime-cp.txt", "UTF-8" ); + assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "classes" ) ); + assertEquals( 1, runtimeClassPath.size() ); + + List testArtifacts = verifier.loadLines( targetDir + "/test-artifacts.txt", "UTF-8" ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:direct:jar:0.1" ) ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:compile:jar:0.1" ) ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:runtime:jar:0.1" ) ); + assertEquals( 3, testArtifacts.size() ); + + List testClassPath = verifier.loadLines( targetDir + "/test-cp.txt", "UTF-8" ); + assertTrue( testClassPath.toString(), testClassPath.contains( "classes" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "test-classes" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "direct-0.1.jar" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "compile-0.1.jar" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "runtime-0.1.jar" ) ); + assertEquals( 5, testClassPath.size() ); + } + + /** + * Test that the different scopes of transitive dependencies end up on the right class paths when mediated from + * a runtime-scope dependency. + */ + public void testitRuntimeScope() + throws Exception + { + Verifier verifier = run( "runtime" ); + String targetDir = "target-runtime"; + + List compileArtifacts = verifier.loadLines( targetDir + "/compile-artifacts.txt", "UTF-8" ); + assertEquals( 0, compileArtifacts.size() ); + + List compileClassPath = verifier.loadLines( targetDir + "/compile-cp.txt", "UTF-8" ); + assertTrue( compileClassPath.toString(), compileClassPath.contains( "classes" ) ); + assertEquals( 1, compileClassPath.size() ); + + List runtimeArtifacts = verifier.loadLines( targetDir + "/runtime-artifacts.txt", "UTF-8" ); + assertTrue( runtimeArtifacts.toString(), runtimeArtifacts.contains( "org.apache.maven.its.it0143:direct:jar:0.1" ) ); + assertTrue( runtimeArtifacts.toString(), runtimeArtifacts.contains( "org.apache.maven.its.it0143:compile:jar:0.1" ) ); + assertTrue( runtimeArtifacts.toString(), runtimeArtifacts.contains( "org.apache.maven.its.it0143:runtime:jar:0.1" ) ); + assertEquals( 3, runtimeArtifacts.size() ); + + List runtimeClassPath = verifier.loadLines( targetDir + "/runtime-cp.txt", "UTF-8" ); + assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "classes" ) ); + assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "direct-0.1.jar" ) ); + assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "compile-0.1.jar" ) ); + assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "runtime-0.1.jar" ) ); + assertEquals( 4, runtimeClassPath.size() ); + + List testArtifacts = verifier.loadLines( targetDir + "/test-artifacts.txt", "UTF-8" ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:direct:jar:0.1" ) ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:compile:jar:0.1" ) ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:runtime:jar:0.1" ) ); + assertEquals( 3, testArtifacts.size() ); + + List testClassPath = verifier.loadLines( targetDir + "/test-cp.txt", "UTF-8" ); + assertTrue( testClassPath.toString(), testClassPath.contains( "classes" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "test-classes" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "direct-0.1.jar" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "compile-0.1.jar" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "runtime-0.1.jar" ) ); + assertEquals( 5, testClassPath.size() ); + } + + /** + * Test that the different scopes of transitive dependencies end up on the right class paths when mediated from + * a test-scope dependency. + */ + public void testitTestScope() + throws Exception + { + Verifier verifier = run( "test" ); + String targetDir = "target-test"; + + List compileArtifacts = verifier.loadLines( targetDir + "/compile-artifacts.txt", "UTF-8" ); + assertEquals( 0, compileArtifacts.size() ); + + List compileClassPath = verifier.loadLines( targetDir + "/compile-cp.txt", "UTF-8" ); + assertTrue( compileClassPath.toString(), compileClassPath.contains( "classes" ) ); + assertEquals( 1, compileClassPath.size() ); + + List runtimeArtifacts = verifier.loadLines( targetDir + "/runtime-artifacts.txt", "UTF-8" ); + assertEquals( 0, runtimeArtifacts.size() ); + + List runtimeClassPath = verifier.loadLines( targetDir + "/runtime-cp.txt", "UTF-8" ); + assertTrue( runtimeClassPath.toString(), runtimeClassPath.contains( "classes" ) ); + assertEquals( 1, runtimeClassPath.size() ); + + List testArtifacts = verifier.loadLines( targetDir + "/test-artifacts.txt", "UTF-8" ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:direct:jar:0.1" ) ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:compile:jar:0.1" ) ); + assertTrue( testArtifacts.toString(), testArtifacts.contains( "org.apache.maven.its.it0143:runtime:jar:0.1" ) ); + assertEquals( 3, testArtifacts.size() ); + + List testClassPath = verifier.loadLines( targetDir + "/test-cp.txt", "UTF-8" ); + assertTrue( testClassPath.toString(), testClassPath.contains( "classes" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "test-classes" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "direct-0.1.jar" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "compile-0.1.jar" ) ); + assertTrue( testClassPath.toString(), testClassPath.contains( "runtime-0.1.jar" ) ); + assertEquals( 5, testClassPath.size() ); + } + + private Verifier run( String scope ) + throws Exception + { + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0143" ); + + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); + verifier.setAutoclean( false ); + verifier.deleteDirectory( "target-" + scope ); + verifier.deleteArtifacts( "org.apache.maven.its.it0143" ); + Properties filterProps = verifier.newDefaultFilterProperties(); + filterProps.setProperty( "@scope@", scope ); + verifier.filterFile( "pom-template.xml", "pom.xml", "UTF-8", filterProps ); + verifier.setLogFileName( "log-" + scope + ".txt" ); + verifier.executeGoal( "validate" ); + verifier.verifyErrorFreeLog(); + verifier.resetStreams(); + + return verifier; + } + +} diff --git a/its/core-it-suite/src/test/resources/it0142/pom.xml b/its/core-it-suite/src/test/resources/it0142/pom-template.xml similarity index 98% rename from its/core-it-suite/src/test/resources/it0142/pom.xml rename to its/core-it-suite/src/test/resources/it0142/pom-template.xml index 32932a0ffc..fc0728ce79 100644 --- a/its/core-it-suite/src/test/resources/it0142/pom.xml +++ b/its/core-it-suite/src/test/resources/it0142/pom-template.xml @@ -71,7 +71,7 @@ under the License. maven-core-it - file:///${basedir}/repo + @baseurl@/repo ignore diff --git a/its/core-it-suite/src/test/resources/it0143/pom-template.xml b/its/core-it-suite/src/test/resources/it0143/pom-template.xml new file mode 100644 index 0000000000..ccdd677dbf --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/pom-template.xml @@ -0,0 +1,85 @@ + + + + + + 4.0.0 + + org.apache.maven.its.it0143 + consumer + 0.1 + + Maven Integration Test :: it0143 + + Test that the different scopes of transitive dependencies end up on the right class paths. + + + + + org.apache.maven.its.it0143 + direct + 0.1 + @scope@ + + + + + + maven-core-it + @baseurl@/repo + + ignore + + + ignore + + + + + + + + org.apache.maven.its.plugins + maven-it-plugin-dependency-resolution + 2.1-SNAPSHOT + + + test + validate + + target-@scope@/compile-cp.txt + target-@scope@/compile-artifacts.txt + target-@scope@/runtime-cp.txt + target-@scope@/runtime-artifacts.txt + target-@scope@/test-cp.txt + target-@scope@/test-artifacts.txt + 1 + + + compile + runtime + test + + + + + + + diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/compile/0.1/compile-0.1.jar b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/compile/0.1/compile-0.1.jar new file mode 100644 index 0000000000..ef0a8d8fb8 Binary files /dev/null and b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/compile/0.1/compile-0.1.jar differ diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/compile/0.1/compile-0.1.pom b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/compile/0.1/compile-0.1.pom new file mode 100644 index 0000000000..7d80e0b20d --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/compile/0.1/compile-0.1.pom @@ -0,0 +1,56 @@ + + + + + + 4.0.0 + + org.apache.maven.its.it0143 + compile + 0.1 + jar + + + + maven-core-it + file:///${basedir}/repo + + + + + true + true + + + + + + . + + pom.xml + src/** + + + + src/main/resources + + + + diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/compile/maven-metadata.xml b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/compile/maven-metadata.xml new file mode 100644 index 0000000000..f494f4c292 --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/compile/maven-metadata.xml @@ -0,0 +1,11 @@ + + org.apache.maven.its.it0143 + compile + 0.1 + + + 0.1 + + 20081206181258 + + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/direct/0.1/direct-0.1.jar b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/direct/0.1/direct-0.1.jar new file mode 100644 index 0000000000..5d4317382d Binary files /dev/null and b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/direct/0.1/direct-0.1.jar differ diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/direct/0.1/direct-0.1.pom b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/direct/0.1/direct-0.1.pom new file mode 100644 index 0000000000..eecaf1be40 --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/direct/0.1/direct-0.1.pom @@ -0,0 +1,83 @@ + + + + + + 4.0.0 + + org.apache.maven.its.it0143 + direct + 0.1 + jar + + + + maven-core-it + file:///${basedir}/repo + + + + + true + true + + + + + org.apache.maven.its.it0143 + compile + 0.1 + compile + + + org.apache.maven.its.it0143 + provided + 0.1 + provided + + + org.apache.maven.its.it0143 + runtime + 0.1 + runtime + + + org.apache.maven.its.it0143 + test + 0.1 + test + + + + + + + . + + pom.xml + src/** + + + + src/main/resources + + + + diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/direct/maven-metadata.xml b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/direct/maven-metadata.xml new file mode 100644 index 0000000000..090228471a --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/direct/maven-metadata.xml @@ -0,0 +1,11 @@ + + org.apache.maven.its.it0143 + direct + 0.1 + + + 0.1 + + 20081206182957 + + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/provided/0.1/provided-0.1.jar b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/provided/0.1/provided-0.1.jar new file mode 100644 index 0000000000..b38b3ab750 Binary files /dev/null and b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/provided/0.1/provided-0.1.jar differ diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/provided/0.1/provided-0.1.pom b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/provided/0.1/provided-0.1.pom new file mode 100644 index 0000000000..9c189ffe75 --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/provided/0.1/provided-0.1.pom @@ -0,0 +1,56 @@ + + + + + + 4.0.0 + + org.apache.maven.its.it0143 + provided + 0.1 + jar + + + + maven-core-it + file:///${basedir}/repo + + + + + true + true + + + + + + . + + pom.xml + src/** + + + + src/main/resources + + + + diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/provided/maven-metadata.xml b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/provided/maven-metadata.xml new file mode 100644 index 0000000000..06663e9518 --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/provided/maven-metadata.xml @@ -0,0 +1,11 @@ + + org.apache.maven.its.it0143 + provided + 0.1 + + + 0.1 + + 20081206181318 + + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/runtime/0.1/runtime-0.1.jar b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/runtime/0.1/runtime-0.1.jar new file mode 100644 index 0000000000..8822d449e0 Binary files /dev/null and b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/runtime/0.1/runtime-0.1.jar differ diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/runtime/0.1/runtime-0.1.pom b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/runtime/0.1/runtime-0.1.pom new file mode 100644 index 0000000000..9029df2bb9 --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/runtime/0.1/runtime-0.1.pom @@ -0,0 +1,56 @@ + + + + + + 4.0.0 + + org.apache.maven.its.it0143 + runtime + 0.1 + jar + + + + maven-core-it + file:///${basedir}/repo + + + + + true + true + + + + + + . + + pom.xml + src/** + + + + src/main/resources + + + + diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/runtime/maven-metadata.xml b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/runtime/maven-metadata.xml new file mode 100644 index 0000000000..bc76a2542b --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/runtime/maven-metadata.xml @@ -0,0 +1,11 @@ + + org.apache.maven.its.it0143 + runtime + 0.1 + + + 0.1 + + 20081206181327 + + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/test/0.1/test-0.1.jar b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/test/0.1/test-0.1.jar new file mode 100644 index 0000000000..c6e944a54a Binary files /dev/null and b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/test/0.1/test-0.1.jar differ diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/test/0.1/test-0.1.pom b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/test/0.1/test-0.1.pom new file mode 100644 index 0000000000..30109e7cff --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/test/0.1/test-0.1.pom @@ -0,0 +1,56 @@ + + + + + + 4.0.0 + + org.apache.maven.its.it0143 + test + 0.1 + jar + + + + maven-core-it + file:///${basedir}/repo + + + + + true + true + + + + + + . + + pom.xml + src/** + + + + src/main/resources + + + + diff --git a/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/test/maven-metadata.xml b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/test/maven-metadata.xml new file mode 100644 index 0000000000..e226e8a817 --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0143/repo/org/apache/maven/its/it0143/test/maven-metadata.xml @@ -0,0 +1,11 @@ + + org.apache.maven.its.it0143 + test + 0.1 + + + 0.1 + + 20081206181336 + + \ No newline at end of file