diff --git a/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-1/pom.xml b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-1/pom.xml new file mode 100644 index 0000000000..bf67bc80a7 --- /dev/null +++ b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-1/pom.xml @@ -0,0 +1,18 @@ + + 4.0.0 + test + child-1 + jar + 1.0-SNAPSHOT + child-1 + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + diff --git a/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-1/src/main/java/org/apache/maven/test/App.java b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-1/src/main/java/org/apache/maven/test/App.java new file mode 100644 index 0000000000..009c6daab9 --- /dev/null +++ b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-1/src/main/java/org/apache/maven/test/App.java @@ -0,0 +1,13 @@ +package org.apache.maven.test; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-1/src/test/java/org/apache/maven/test/AppTest.java b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-1/src/test/java/org/apache/maven/test/AppTest.java new file mode 100644 index 0000000000..b55bab0b89 --- /dev/null +++ b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-1/src/test/java/org/apache/maven/test/AppTest.java @@ -0,0 +1,38 @@ +package org.apache.maven.test; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-2/pom.xml b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-2/pom.xml new file mode 100644 index 0000000000..f940fbc502 --- /dev/null +++ b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-2/pom.xml @@ -0,0 +1,23 @@ + + 4.0.0 + test + child-2 + jar + 1.0-SNAPSHOT + child-2 + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + org.apache.maven.test + child-1 + 1.0-SNAPSHOT + + + diff --git a/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-2/src/main/java/org/apache/maven/test/App.java b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-2/src/main/java/org/apache/maven/test/App.java new file mode 100644 index 0000000000..009c6daab9 --- /dev/null +++ b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-2/src/main/java/org/apache/maven/test/App.java @@ -0,0 +1,13 @@ +package org.apache.maven.test; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-2/src/test/java/org/apache/maven/test/AppTest.java b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-2/src/test/java/org/apache/maven/test/AppTest.java new file mode 100644 index 0000000000..b55bab0b89 --- /dev/null +++ b/maven-embedder/src/test/projects/no-artifact-in-repository-test/child-2/src/test/java/org/apache/maven/test/AppTest.java @@ -0,0 +1,38 @@ +package org.apache.maven.test; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/maven-embedder/src/test/projects/no-artifact-in-repository-test/pom.xml b/maven-embedder/src/test/projects/no-artifact-in-repository-test/pom.xml new file mode 100644 index 0000000000..9334337cbf --- /dev/null +++ b/maven-embedder/src/test/projects/no-artifact-in-repository-test/pom.xml @@ -0,0 +1,22 @@ + + 4.0.0 + test + no-artifact-in-repository-test + pom + 1.0-SNAPSHOT + no-artifact-in-repository-test + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + + child-1 + child-2 + +