diff --git a/maven-embedder/pom.xml b/maven-embedder/pom.xml index 7c57befdac..da1c1f5d16 100644 --- a/maven-embedder/pom.xml +++ b/maven-embedder/pom.xml @@ -170,22 +170,6 @@ under the License. - - - - org.apache.rat - apache-rat-plugin - - - src/main/resources/META-INF/MANIFEST.MF - src/test/*-projects/** - src/test/*-project/** - src/test/plugin-version-references/** - - - - - org.eclipse.sisu diff --git a/maven-embedder/src/test/embedder-test-project/pom.xml b/maven-embedder/src/test/embedder-test-project/pom.xml deleted file mode 100644 index 9917dd5ba2..0000000000 --- a/maven-embedder/src/test/embedder-test-project/pom.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - 4.0.0 - org.apache.maven - embedder-test-project - jar - 1.0-SNAPSHOT - Maven Quick Start Archetype - http://maven.apache.org - - - junit - junit - 3.8.1 - test - - - - - embedderProfile - - true - jason - somnambulance - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.4.3 - - - - diff --git a/maven-embedder/src/test/embedder-test-project/src/main/java/org/apache/maven/App.java b/maven-embedder/src/test/embedder-test-project/src/main/java/org/apache/maven/App.java deleted file mode 100644 index 3902bac58e..0000000000 --- a/maven-embedder/src/test/embedder-test-project/src/main/java/org/apache/maven/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.apache.maven; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/maven-embedder/src/test/embedder-test-project/src/test/java/org/apache/maven/AppTest.java b/maven-embedder/src/test/embedder-test-project/src/test/java/org/apache/maven/AppTest.java deleted file mode 100644 index 0c9e7ad746..0000000000 --- a/maven-embedder/src/test/embedder-test-project/src/test/java/org/apache/maven/AppTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.apache.maven; - -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 ); - } - - /** - * Rigorous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/aggregate-mojo-failure/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/aggregate-mojo-failure/plugin/pom.xml deleted file mode 100644 index a0dfb082f9..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/aggregate-mojo-failure/plugin/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - aggregate-mojo-failure-maven-plugin - maven-plugin - 1 - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/aggregate-mojo-failure/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/aggregate-mojo-failure/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index ec25183090..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/aggregate-mojo-failure/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,36 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - * @aggregator - * - * @author jdcasey - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - throw new MojoFailureException( this, "This mojo will always fail.", "This mojo is programmed to fail at all times, to express certain error-reporting functions." ); - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/aggregate-mojo-failure/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/aggregate-mojo-failure/project/pom.xml deleted file mode 100644 index cddcc1405a..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/aggregate-mojo-failure/project/pom.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 4.0.0 - org.apache.maven - aggregate-mojo-failure - 1 - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-build-plan/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-build-plan/plugin/pom.xml deleted file mode 100644 index 0a0c0d7774..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-build-plan/plugin/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - bad-build-plan-maven-plugin - maven-plugin - 1 - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-build-plan/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/bad-build-plan/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index b5e6ecd53e..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-build-plan/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,35 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - * @execute goal="my:something:else:that:is:wrong" - * - * @author jdcasey - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/bad-build-plan/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-build-plan/project/pom.xml deleted file mode 100644 index 6a4bcda32f..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-build-plan/project/pom.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 4.0.0 - org.apache.maven - bad-build-plan - 1 - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-dep-version/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-dep-version/pom.xml deleted file mode 100644 index cfd2970837..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-dep-version/pom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - 4.0.0 - org.apache.maven - bad-dep-version - 1 - - - - junit - junit - [3.1, - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-direct-deps/local-repo/org/apache/maven/errortest/test-maven-ext/1/test-maven-ext-1.pom b/maven-embedder/src/test/error-reporting-projects/bad-ext-direct-deps/local-repo/org/apache/maven/errortest/test-maven-ext/1/test-maven-ext-1.pom deleted file mode 100644 index dcaf397e55..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-direct-deps/local-repo/org/apache/maven/errortest/test-maven-ext/1/test-maven-ext-1.pom +++ /dev/null @@ -1,34 +0,0 @@ - - - - 4.0.0 - org.apache.maven.errortest - test-maven-ext - 1 - - - - junit - junit - [3.8, - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-direct-deps/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-ext-direct-deps/project/pom.xml deleted file mode 100644 index 6d06469fc4..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-direct-deps/project/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - 4.0.0 - org.apache.maven.errortest - bad-ext-direct-deps - 1 - - - - - org.apache.maven.errortest - test-maven-ext - 1 - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-dep-ver-maven-plugin/1/bad-ext-plugin-dep-ver-maven-plugin-1.jar b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-dep-ver-maven-plugin/1/bad-ext-plugin-dep-ver-maven-plugin-1.jar deleted file mode 100644 index 7d84901947..0000000000 Binary files a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-dep-ver-maven-plugin/1/bad-ext-plugin-dep-ver-maven-plugin-1.jar and /dev/null differ diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-dep-ver-maven-plugin/1/bad-ext-plugin-dep-ver-maven-plugin-1.pom b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-dep-ver-maven-plugin/1/bad-ext-plugin-dep-ver-maven-plugin-1.pom deleted file mode 100644 index 3c7f3f3fb2..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-dep-ver-maven-plugin/1/bad-ext-plugin-dep-ver-maven-plugin-1.pom +++ /dev/null @@ -1,55 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - bad-ext-plugin-dep-ver-maven-plugin - maven-plugin - 1 - - - - org.apache.maven - maven-plugin-api - 2.0 - - - junit - junit - [3.8.1, - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/plugin/pom.xml deleted file mode 100644 index 2c3da51d27..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/plugin/pom.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - bad-ext-plugin-maven-ver-maven-plugin - maven-plugin - 1 - - - - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 5836f1e0d6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - throw new MojoExecutionException( "This is meant to fail." ); - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/project/pom.xml deleted file mode 100644 index 9001cdcabe..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-dep-ver/project/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - org.apache.maven - bad-ext-plugin-dep-ver - 1 - - - - - org.apache.maven.errortest - bad-ext-plugin-dep-ver-maven-plugin - 1 - true - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-maven-ver-maven-plugin/1/bad-ext-plugin-maven-ver-maven-plugin-1.jar b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-maven-ver-maven-plugin/1/bad-ext-plugin-maven-ver-maven-plugin-1.jar deleted file mode 100644 index 7d84901947..0000000000 Binary files a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-maven-ver-maven-plugin/1/bad-ext-plugin-maven-ver-maven-plugin-1.jar and /dev/null differ diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-maven-ver-maven-plugin/1/bad-ext-plugin-maven-ver-maven-plugin-1.pom b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-maven-ver-maven-plugin/1/bad-ext-plugin-maven-ver-maven-plugin-1.pom deleted file mode 100644 index ffe6141e4a..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-maven-ver-maven-plugin/1/bad-ext-plugin-maven-ver-maven-plugin-1.pom +++ /dev/null @@ -1,54 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - bad-ext-plugin-maven-ver-maven-plugin - maven-plugin - 1 - - - 10 - - - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-maven-ver-maven-plugin/maven-metadata-local.xml b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-maven-ver-maven-plugin/maven-metadata-local.xml deleted file mode 100644 index 184a5f7d39..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/local-repo/org/apache/maven/errortest/bad-ext-plugin-maven-ver-maven-plugin/maven-metadata-local.xml +++ /dev/null @@ -1,12 +0,0 @@ - - org.apache.maven.errortest - bad-ext-plugin-maven-ver-maven-plugin - - 1 - 1 - - 1 - - 20070331131500 - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/plugin/pom.xml deleted file mode 100644 index 2c3da51d27..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/plugin/pom.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - bad-ext-plugin-maven-ver-maven-plugin - maven-plugin - 1 - - - - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 5836f1e0d6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - throw new MojoExecutionException( "This is meant to fail." ); - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/project/pom.xml deleted file mode 100644 index 3ab2818324..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-ext-plugin-maven-ver/project/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - org.apache.maven - bad-ext-plugin-maven-ver - 1 - - - - - org.apache.maven.errortest - bad-ext-plugin-maven-ver-maven-plugin - 1 - true - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-maven-version/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-maven-version/pom.xml deleted file mode 100644 index db547ca55d..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-maven-version/pom.xml +++ /dev/null @@ -1,11 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - bad-maven-version - 1 - - - 10 - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-mg-dep-version/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-mg-dep-version/pom.xml deleted file mode 100644 index 4bb4c4610b..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-mg-dep-version/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - 4.0.0 - org.apache.maven - bad-mg-dep-version - 1 - - - - - junit - junit - [3.1, - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-non-dep-version/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-non-dep-version/pom.xml deleted file mode 100644 index dd2cff370e..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-non-dep-version/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - 4.0.0 - org.apache.maven - bad-non-dep-version - 1 - - - - - junit - junit - [3.1, - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-profile-repo/pom.xml b/maven-embedder/src/test/error-reporting-projects/bad-profile-repo/pom.xml deleted file mode 100644 index d7a737549e..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-profile-repo/pom.xml +++ /dev/null @@ -1,7 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - bad-profile-repo - 1 - - diff --git a/maven-embedder/src/test/error-reporting-projects/bad-profile-repo/profiles.xml b/maven-embedder/src/test/error-reporting-projects/bad-profile-repo/profiles.xml deleted file mode 100644 index 43e20d8b92..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/bad-profile-repo/profiles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - test - - - test-repo - http://www.google.com/ - nothing-special - - - - - - test - - \ No newline at end of file diff --git a/maven-embedder/src/test/error-reporting-projects/config-rdonly-mojo-param/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/config-rdonly-mojo-param/plugin/pom.xml deleted file mode 100644 index 73a965832a..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/config-rdonly-mojo-param/plugin/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - config-rdonly-mojo-param-maven-plugin - maven-plugin - 1 - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/config-rdonly-mojo-param/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/config-rdonly-mojo-param/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 6aa5c335f1..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/config-rdonly-mojo-param/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,39 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - /** - * @parameter default-value="something" - * @required - * @readonly - */ - private String param; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/config-rdonly-mojo-param/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/config-rdonly-mojo-param/project/pom.xml deleted file mode 100644 index e2c74121ad..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/config-rdonly-mojo-param/project/pom.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - 4.0.0 - org.apache.maven - config-rdonly-mojo-param - 1 - - - - - org.apache.maven.errortest - config-rdonly-mojo-param-maven-plugin - 1 - - - test-run - initialize - - test - - - something-else - - - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/deploy-repo-creation-err/pom.xml b/maven-embedder/src/test/error-reporting-projects/deploy-repo-creation-err/pom.xml deleted file mode 100644 index d766e41896..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/deploy-repo-creation-err/pom.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - 4.0.0 - org.apache.maven - deploy-repo-creation-err - 1 - - - - junit - junit - 3.8.1 - - - - - - test - http://www.google.com - nothing - - - diff --git a/maven-embedder/src/test/error-reporting-projects/duplicated-attachments/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/duplicated-attachments/plugin/pom.xml deleted file mode 100644 index 21222df6e8..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/duplicated-attachments/plugin/pom.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - duplicated-attachments-maven-plugin - maven-plugin - 1 - - - org.apache.maven - maven-plugin-api - 2.0 - - - org.apache.maven - maven-project - 2.0.7 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/duplicated-attachments/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/duplicated-attachments/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 6b0f61ad8a..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/duplicated-attachments/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,50 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; -import org.apache.maven.project.MavenProjectHelper; -import org.apache.maven.project.MavenProject; - -/** - * @goal test - * - * @author jdcasey - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - /** - * @component - */ - private MavenProjectHelper mavenProjectHelper; - - /** - * @parameter default-value="${project}" - * @required - * @readonly - */ - private MavenProject project; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - mavenProjectHelper.attachArtifact( project, "pom", "classifier", project.getFile() ); - mavenProjectHelper.attachArtifact( project, "pom", "classifier", project.getFile() ); - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/duplicated-attachments/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/duplicated-attachments/project/pom.xml deleted file mode 100644 index a9517c94df..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/duplicated-attachments/project/pom.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 4.0.0 - org.apache.maven - duplicated-attachments - 1 - diff --git a/maven-embedder/src/test/error-reporting-projects/err-loading-plugin/local-repo/org/apache/maven/errortest/err-loading-plugin-maven-plugin/1/err-loading-plugin-maven-plugin-1.jar b/maven-embedder/src/test/error-reporting-projects/err-loading-plugin/local-repo/org/apache/maven/errortest/err-loading-plugin-maven-plugin/1/err-loading-plugin-maven-plugin-1.jar deleted file mode 100644 index 7d84901947..0000000000 Binary files a/maven-embedder/src/test/error-reporting-projects/err-loading-plugin/local-repo/org/apache/maven/errortest/err-loading-plugin-maven-plugin/1/err-loading-plugin-maven-plugin-1.jar and /dev/null differ diff --git a/maven-embedder/src/test/error-reporting-projects/err-loading-plugin/local-repo/org/apache/maven/errortest/err-loading-plugin-maven-plugin/1/err-loading-plugin-maven-plugin-1.pom b/maven-embedder/src/test/error-reporting-projects/err-loading-plugin/local-repo/org/apache/maven/errortest/err-loading-plugin-maven-plugin/1/err-loading-plugin-maven-plugin-1.pom deleted file mode 100644 index 7ac049095d..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/err-loading-plugin/local-repo/org/apache/maven/errortest/err-loading-plugin-maven-plugin/1/err-loading-plugin-maven-plugin-1.pom +++ /dev/null @@ -1,55 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - err-loading-plugin-maven-plugin - maven-plugin - 1 - - - - org.apache.maven - maven-plugin-api - 2.0 - - - nothing - nothing - 1 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/err-loading-plugin/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/err-loading-plugin/project/pom.xml deleted file mode 100644 index c210cfbae2..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/err-loading-plugin/project/pom.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - 4.0.0 - org.apache.maven - err-loading-plugin - 1 - - - - - org.apache.maven.errortest - err-loading-plugin-maven-plugin - 1 - - - test-run - initialize - - test - - - - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/local-repo/org/apache/maven/errortest/dep/1/dep-1.pom b/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/local-repo/org/apache/maven/errortest/dep/1/dep-1.pom deleted file mode 100644 index e6dd7a2be6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/local-repo/org/apache/maven/errortest/dep/1/dep-1.pom +++ /dev/null @@ -1,16 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - dep - 1 - pom - - - - junit - junit - [4.0,4.1] - - - \ No newline at end of file diff --git a/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/local-repo/org/apache/maven/errortest/err-resolving-ext-plugin-maven-plugin/1/err-resolving-ext-plugin-maven-plugin-1.jar b/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/local-repo/org/apache/maven/errortest/err-resolving-ext-plugin-maven-plugin/1/err-resolving-ext-plugin-maven-plugin-1.jar deleted file mode 100644 index 7d84901947..0000000000 Binary files a/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/local-repo/org/apache/maven/errortest/err-resolving-ext-plugin-maven-plugin/1/err-resolving-ext-plugin-maven-plugin-1.jar and /dev/null differ diff --git a/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/local-repo/org/apache/maven/errortest/err-resolving-ext-plugin-maven-plugin/1/err-resolving-ext-plugin-maven-plugin-1.pom b/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/local-repo/org/apache/maven/errortest/err-resolving-ext-plugin-maven-plugin/1/err-resolving-ext-plugin-maven-plugin-1.pom deleted file mode 100644 index e520ccc9ac..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/local-repo/org/apache/maven/errortest/err-resolving-ext-plugin-maven-plugin/1/err-resolving-ext-plugin-maven-plugin-1.pom +++ /dev/null @@ -1,60 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - err-resolving-ext-plugin-maven-plugin - maven-plugin - 1 - - - - org.apache.maven - maven-plugin-api - 2.0 - - - junit - junit - [3.8.1,3.8.2] - - - org.apache.maven.errortest - dep - 1 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/project/pom.xml deleted file mode 100644 index 1339c66cb6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/err-resolving-ext-plugin/project/pom.xml +++ /dev/null @@ -1,18 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - err-resolving-ext-plugin - 1 - - - - - org.apache.maven.errortest - err-resolving-ext-plugin-maven-plugin - 1 - true - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/local-repo/org/apache/maven/errortest/dep/1/dep-1.pom b/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/local-repo/org/apache/maven/errortest/dep/1/dep-1.pom deleted file mode 100644 index e6dd7a2be6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/local-repo/org/apache/maven/errortest/dep/1/dep-1.pom +++ /dev/null @@ -1,16 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - dep - 1 - pom - - - - junit - junit - [4.0,4.1] - - - \ No newline at end of file diff --git a/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/pom.xml deleted file mode 100644 index d0b755c6a6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/pom.xml +++ /dev/null @@ -1,27 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - err-resolving-project-dep - 1 - - - - junit - junit - [3.8.1,3.8.2] - - - org.apache.maven.errortest - dep - 1 - pom - - - - - - repo - file://localhost/${basedir}/local-repo - - - diff --git a/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/src/main/java/org/apache/maven/test/error/mojoFailure/App.java b/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/src/main/java/org/apache/maven/test/error/mojoFailure/App.java deleted file mode 100644 index dd4102a31b..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/src/main/java/org/apache/maven/test/error/mojoFailure/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.apache.maven.test.error.mojoFailure; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/src/test/java/org/apache/maven/test/error/mojoFailure/AppTest.java b/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/src/test/java/org/apache/maven/test/error/mojoFailure/AppTest.java deleted file mode 100644 index 94e6877a1f..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/err-resolving-project-dep/project/src/test/java/org/apache/maven/test/error/mojoFailure/AppTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.apache.maven.test.error.mojoFailure; - -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 ); - } - - /** - * Rigorous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/ext-deps-resolve-err/local-repo/org/apache/maven/errortest/test-maven-ext-dep/1/test-maven-ext-dep-1.pom b/maven-embedder/src/test/error-reporting-projects/ext-deps-resolve-err/local-repo/org/apache/maven/errortest/test-maven-ext-dep/1/test-maven-ext-dep-1.pom deleted file mode 100644 index 71edcf4df5..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-deps-resolve-err/local-repo/org/apache/maven/errortest/test-maven-ext-dep/1/test-maven-ext-dep-1.pom +++ /dev/null @@ -1,26 +0,0 @@ - - - - 4.0.0 - org.apache.maven.errortest - test-maven-ext-dep - 1 - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-deps-resolve-err/local-repo/org/apache/maven/errortest/test-maven-ext/1/test-maven-ext-1.pom b/maven-embedder/src/test/error-reporting-projects/ext-deps-resolve-err/local-repo/org/apache/maven/errortest/test-maven-ext/1/test-maven-ext-1.pom deleted file mode 100644 index cd40200d59..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-deps-resolve-err/local-repo/org/apache/maven/errortest/test-maven-ext/1/test-maven-ext-1.pom +++ /dev/null @@ -1,34 +0,0 @@ - - - - 4.0.0 - org.apache.maven.errortest - test-maven-ext - 1 - - - - org.apache.maven.errortest - test-maven-ext-dep - 1 - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-deps-resolve-err/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/ext-deps-resolve-err/project/pom.xml deleted file mode 100644 index 8da1560639..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-deps-resolve-err/project/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - 4.0.0 - org.apache.maven.errortest - ext-deps-resolve-err - 1 - - - - - org.apache.maven.errortest - test-maven-ext - 1 - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-artifact-missing/local-repo/org/apache/maven/errortest/ext-plugin-artifact-missing-maven-plugin/1/ext-plugin-artifact-missing-maven-plugin-1.pom b/maven-embedder/src/test/error-reporting-projects/ext-plugin-artifact-missing/local-repo/org/apache/maven/errortest/ext-plugin-artifact-missing-maven-plugin/1/ext-plugin-artifact-missing-maven-plugin-1.pom deleted file mode 100644 index b7f7d52993..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-artifact-missing/local-repo/org/apache/maven/errortest/ext-plugin-artifact-missing-maven-plugin/1/ext-plugin-artifact-missing-maven-plugin-1.pom +++ /dev/null @@ -1,55 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - ext-plugin-artifact-missing-maven-plugin - maven-plugin - 1 - - - - org.apache.maven - maven-plugin-api - 2.0 - - - nothing - nothing - 1 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-artifact-missing/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/ext-plugin-artifact-missing/project/pom.xml deleted file mode 100644 index 6565fd44de..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-artifact-missing/project/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - org.apache.maven - ext-plugin-artifact-missing - 1 - - - - - org.apache.maven.errortest - ext-plugin-artifact-missing-maven-plugin - 1 - true - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/pom.xml deleted file mode 100644 index e8e5218cc4..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - test-maven-ext-plugin - maven-plugin - 1 - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/java/org/plugin/ComponentOne.java b/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/java/org/plugin/ComponentOne.java deleted file mode 100644 index 49b7686e7e..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/java/org/plugin/ComponentOne.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.plugin; - -public class ComponentOne -{ - - private ComponentTwo two; - -} diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/java/org/plugin/ComponentTwo.java b/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/java/org/plugin/ComponentTwo.java deleted file mode 100644 index 0a82f57898..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/java/org/plugin/ComponentTwo.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.plugin; - -public class ComponentTwo -{ - - private ComponentOne one; - -} diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 4b4a1e4d51..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,39 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - * - * @author jdcasey - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - /** - * @component - */ - private ComponentOne one; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/resources/META-INF/plexus/components.xml b/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/resources/META-INF/plexus/components.xml deleted file mode 100644 index ddc1eee5a2..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/plugin/src/main/resources/META-INF/plexus/components.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - org.test.ComponentOne - default - org.test.ComponentOne - - - org.test.ComponentTwo - - - - - - org.test.ComponentTwo - default - org.test.ComponentTwo - - - org.test.ComponentOne - - - - - \ No newline at end of file diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/project/pom.xml deleted file mode 100644 index 513e00c856..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-realm-error/project/pom.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - 4.0.0 - org.apache.maven.errortest - ext-plugin-realm-error - 1 - - - - - org.apache.maven.errortest - test-maven-ext-plugin - 1 - true - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/local-repo/org/apache/maven/errortest/ext-plugin-version-err-maven-plugin/1/ext-plugin-version-err-maven-plugin-1.jar b/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/local-repo/org/apache/maven/errortest/ext-plugin-version-err-maven-plugin/1/ext-plugin-version-err-maven-plugin-1.jar deleted file mode 100644 index 7d84901947..0000000000 Binary files a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/local-repo/org/apache/maven/errortest/ext-plugin-version-err-maven-plugin/1/ext-plugin-version-err-maven-plugin-1.jar and /dev/null differ diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/local-repo/org/apache/maven/errortest/ext-plugin-version-err-maven-plugin/1/ext-plugin-version-err-maven-plugin-1.pom b/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/local-repo/org/apache/maven/errortest/ext-plugin-version-err-maven-plugin/1/ext-plugin-version-err-maven-plugin-1.pom deleted file mode 100644 index 5aab61d99c..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/local-repo/org/apache/maven/errortest/ext-plugin-version-err-maven-plugin/1/ext-plugin-version-err-maven-plugin-1.pom +++ /dev/null @@ -1,50 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - ext-plugin-version-err-maven-plugin - maven-plugin - 1 - - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/local-repo/org/apache/maven/errortest/ext-plugin-version-err-maven-plugin/maven-metadata-local.xml b/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/local-repo/org/apache/maven/errortest/ext-plugin-version-err-maven-plugin/maven-metadata-local.xml deleted file mode 100644 index 2a3d1c56b5..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/local-repo/org/apache/maven/errortest/ext-plugin-version-err-maven-plugin/maven-metadata-local.xml +++ /dev/null @@ -1,10 +0,0 @@ - - org.apache.maven.errortest - ext-plugin-version-err-maven-plugin - - - 1 - - 20070331131500 - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/plugin/pom.xml deleted file mode 100644 index 2c3da51d27..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/plugin/pom.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - bad-ext-plugin-maven-ver-maven-plugin - maven-plugin - 1 - - - - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 5836f1e0d6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - throw new MojoExecutionException( "This is meant to fail." ); - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/project/pom.xml deleted file mode 100644 index ad6effcec2..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-plugin-version-err/project/pom.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - 4.0.0 - org.apache.maven - ext-plugin-version-err - 1 - - - - - org.apache.maven.errortest - ext-plugin-version-err-maven-plugin - true - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-realm-error/ext/pom.xml b/maven-embedder/src/test/error-reporting-projects/ext-realm-error/ext/pom.xml deleted file mode 100644 index 647516e66e..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-realm-error/ext/pom.xml +++ /dev/null @@ -1,38 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - test-maven-ext - 1 - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/ext-realm-error/ext/src/main/java/org/ext/App.java b/maven-embedder/src/test/error-reporting-projects/ext-realm-error/ext/src/main/java/org/ext/App.java deleted file mode 100644 index 0701b7ae5e..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-realm-error/ext/src/main/java/org/ext/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.ext; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/ext-realm-error/ext/src/main/resources/META-INF/plexus/components.xml b/maven-embedder/src/test/error-reporting-projects/ext-realm-error/ext/src/main/resources/META-INF/plexus/components.xml deleted file mode 100644 index 18664051d5..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-realm-error/ext/src/main/resources/META-INF/plexus/components.xml +++ /dev/null @@ -1 +0,0 @@ -this is an error. \ No newline at end of file diff --git a/maven-embedder/src/test/error-reporting-projects/ext-realm-error/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/ext-realm-error/project/pom.xml deleted file mode 100644 index 85e9a9fbde..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/ext-realm-error/project/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - 4.0.0 - org.apache.maven.errortest - ext-realm-error - 1 - - - - - org.apache.maven.errortest - test-maven-ext - 1 - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/interp-from-model/pom.xml b/maven-embedder/src/test/error-reporting-projects/interp-from-model/pom.xml deleted file mode 100644 index a840870f99..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/interp-from-model/pom.xml +++ /dev/null @@ -1,7 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - interp-from-model - ${version} - - diff --git a/maven-embedder/src/test/error-reporting-projects/interp-from-project/project/local-repo/org/test/bad-pom/1/bad-pom-1.pom b/maven-embedder/src/test/error-reporting-projects/interp-from-project/project/local-repo/org/test/bad-pom/1/bad-pom-1.pom deleted file mode 100644 index b1f29c49a9..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/interp-from-project/project/local-repo/org/test/bad-pom/1/bad-pom-1.pom +++ /dev/null @@ -1,9 +0,0 @@ - - 4.0.0 - org.test - bad-pom - 1 - - ${packaging} - - \ No newline at end of file diff --git a/maven-embedder/src/test/error-reporting-projects/interp-from-project/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/interp-from-project/project/pom.xml deleted file mode 100644 index bb50b45c4c..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/interp-from-project/project/pom.xml +++ /dev/null @@ -1,22 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - interp-from-project - 1 - - - - org.test - bad-pom - 1 - pom - - - - - - repo - file://localhost/${basedir}/local-repo - - - diff --git a/maven-embedder/src/test/error-reporting-projects/load-extern-profiles-ioex/pom.xml b/maven-embedder/src/test/error-reporting-projects/load-extern-profiles-ioex/pom.xml deleted file mode 100644 index 2a924b8c51..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/load-extern-profiles-ioex/pom.xml +++ /dev/null @@ -1,7 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - load-extern-profiles-ioex - 1 - - diff --git a/maven-embedder/src/test/error-reporting-projects/load-extern-profiles-xex/pom.xml b/maven-embedder/src/test/error-reporting-projects/load-extern-profiles-xex/pom.xml deleted file mode 100644 index fdaa3d4333..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/load-extern-profiles-xex/pom.xml +++ /dev/null @@ -1,7 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - load-extern-profiles-xex - 1 - - diff --git a/maven-embedder/src/test/error-reporting-projects/load-extern-profiles-xex/profiles.xml b/maven-embedder/src/test/error-reporting-projects/load-extern-profiles-xex/profiles.xml deleted file mode 100644 index e99fc60b4e..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/load-extern-profiles-xex/profiles.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/maven-embedder/src/test/error-reporting-projects/missing-direct-invoke-mojo/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/missing-direct-invoke-mojo/plugin/pom.xml deleted file mode 100644 index 5895c2a960..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/missing-direct-invoke-mojo/plugin/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - missing-direct-invoke-mojo-maven-plugin - maven-plugin - 1 - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/missing-direct-invoke-mojo/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/missing-direct-invoke-mojo/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index bfd8a7f4c0..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/missing-direct-invoke-mojo/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,36 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test-unused - * @aggregator - * - * @author jdcasey - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - throw new MojoFailureException( this, "This mojo will always fail.", "This mojo is programmed to fail at all times, to express certain error-reporting functions." ); - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/missing-module-pom/child1/pom.xml b/maven-embedder/src/test/error-reporting-projects/missing-module-pom/child1/pom.xml deleted file mode 100644 index 7ff5c59891..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/missing-module-pom/child1/pom.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - missing-module-pom - org.apache.maven.errortest - 1 - - 4.0.0 - missing-module-pom-child1 - - - - junit - junit - 3.8.1 - test - - - diff --git a/maven-embedder/src/test/error-reporting-projects/missing-module-pom/child1/src/main/java/org/test/App.java b/maven-embedder/src/test/error-reporting-projects/missing-module-pom/child1/src/main/java/org/test/App.java deleted file mode 100644 index 2c825a09a1..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/missing-module-pom/child1/src/main/java/org/test/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.test; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/missing-module-pom/child1/src/test/java/org/test/AppTest.java b/maven-embedder/src/test/error-reporting-projects/missing-module-pom/child1/src/test/java/org/test/AppTest.java deleted file mode 100644 index 027000bcca..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/missing-module-pom/child1/src/test/java/org/test/AppTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.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 ); - } - - /** - * Rigorous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/missing-module-pom/pom.xml b/maven-embedder/src/test/error-reporting-projects/missing-module-pom/pom.xml deleted file mode 100644 index 92b6debae6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/missing-module-pom/pom.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - missing-module-pom - pom - 1 - - - child1 - child2 - - diff --git a/maven-embedder/src/test/error-reporting-projects/missing-parent-pom/pom.xml b/maven-embedder/src/test/error-reporting-projects/missing-parent-pom/pom.xml deleted file mode 100644 index e0ab9f6db4..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/missing-parent-pom/pom.xml +++ /dev/null @@ -1,11 +0,0 @@ - - 4.0.0 - - org.apache.maven.errortest - missing-parent-pom-parent - 1 - - - missing-parent-pom - - diff --git a/maven-embedder/src/test/error-reporting-projects/missing-req-mojo-param/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/missing-req-mojo-param/plugin/pom.xml deleted file mode 100644 index 6e53240d2b..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/missing-req-mojo-param/plugin/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - missing-req-mojo-param-maven-plugin - maven-plugin - 1 - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/missing-req-mojo-param/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/missing-req-mojo-param/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 51b71a87f4..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/missing-req-mojo-param/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - /** - * @parameter - * @required - */ - private String requiredParam; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/missing-req-mojo-param/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/missing-req-mojo-param/project/pom.xml deleted file mode 100644 index b5c9852beb..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/missing-req-mojo-param/project/pom.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 4.0.0 - org.apache.maven - missing-req-mojo-param - 1 - diff --git a/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/pom.xml deleted file mode 100644 index de32947ad1..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - mojo-config-error-maven-plugin - 1 - - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 5836f1e0d6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - throw new MojoExecutionException( "This is meant to fail." ); - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/src/main/resources/META-INF/maven/plugin.xml b/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/src/main/resources/META-INF/maven/plugin.xml deleted file mode 100644 index 35697de7c0..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/src/main/resources/META-INF/maven/plugin.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - org.apache.maven.errortest - mojo-config-error-maven-plugin - 1 - mojo-config-error - false - true - - - test - - false - true - false - false - false - true - org.plugin.TestPlugin - java - per-lookup - once-per-session - - - param - java.lang.String - true - false - - - - - - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/mojo-config-error/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/mojo-config-error/project/pom.xml deleted file mode 100644 index 9d63df51fc..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/mojo-config-error/project/pom.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - 4.0.0 - org.apache.maven - mojo-config-error - 1 - - - - - org.apache.maven.errortest - mojo-config-error-maven-plugin - 1 - - - test-run - initialize - - test - - - - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/mojo-exec-err/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/mojo-exec-err/plugin/pom.xml deleted file mode 100644 index 3347d3c74d..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/mojo-exec-err/plugin/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - mojo-exec-err-maven-plugin - maven-plugin - 1 - - - org.apache.maven - maven-plugin-api - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/mojo-exec-err/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/mojo-exec-err/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 5836f1e0d6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/mojo-exec-err/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - throw new MojoExecutionException( "This is meant to fail." ); - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/mojo-exec-err/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/mojo-exec-err/project/pom.xml deleted file mode 100644 index 1f10d0fecf..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/mojo-exec-err/project/pom.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - 4.0.0 - org.apache.maven - mojo-exec-err - 1 - - diff --git a/maven-embedder/src/test/error-reporting-projects/mojo-lookup-err/plugin/pom.xml b/maven-embedder/src/test/error-reporting-projects/mojo-lookup-err/plugin/pom.xml deleted file mode 100644 index 66adaf0061..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/mojo-lookup-err/plugin/pom.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - 4.0.0 - org.apache.maven.errortest - mojo-lookup-err-maven-plugin - maven-plugin - 1 - - - org.apache.maven - maven-plugin-api - 2.0 - - - org.apache.maven - maven-project - 2.0 - - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/mojo-lookup-err/plugin/src/main/java/org/plugin/TestPlugin.java b/maven-embedder/src/test/error-reporting-projects/mojo-lookup-err/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 71301e6d5e..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/mojo-lookup-err/plugin/src/main/java/org/plugin/TestPlugin.java +++ /dev/null @@ -1,42 +0,0 @@ -package org.plugin; - -import org.apache.maven.plugin.Mojo; -import org.apache.maven.project.MavenProject; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.plugin.logging.Log; - -/** - * @goal test - * @requiresProject false - * - * @author jdcasey - */ -public class TestPlugin - implements Mojo -{ - - private Log log; - - /** - * @component role-hint="nonexistent" - */ - private MavenProject project; - - public void execute() - throws MojoExecutionException, MojoFailureException - { - throw new MojoExecutionException( "THIS SHOULD NEVER BE CALLED." ); - } - - public Log getLog() - { - return log; - } - - public void setLog( Log log ) - { - this.log = log; - } - -} diff --git a/maven-embedder/src/test/error-reporting-projects/mojo-lookup-err/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/mojo-lookup-err/project/pom.xml deleted file mode 100644 index cddcc1405a..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/mojo-lookup-err/project/pom.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 4.0.0 - org.apache.maven - aggregate-mojo-failure - 1 - diff --git a/maven-embedder/src/test/error-reporting-projects/parent-parse-ioex/child/pom.xml b/maven-embedder/src/test/error-reporting-projects/parent-parse-ioex/child/pom.xml deleted file mode 100644 index b70261d15f..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/parent-parse-ioex/child/pom.xml +++ /dev/null @@ -1,10 +0,0 @@ - - 4.0.0 - - parent-parse-ioex - org.apache.maven.errortest - 1 - - parent-parse-ioex-child - - diff --git a/maven-embedder/src/test/error-reporting-projects/parent-parse-ioex/pom.xml b/maven-embedder/src/test/error-reporting-projects/parent-parse-ioex/pom.xml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/maven-embedder/src/test/error-reporting-projects/parent-parse-xex/child/pom.xml b/maven-embedder/src/test/error-reporting-projects/parent-parse-xex/child/pom.xml deleted file mode 100644 index 3961dd48c6..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/parent-parse-xex/child/pom.xml +++ /dev/null @@ -1,10 +0,0 @@ - - 4.0.0 - - parent-parse-xex - org.apache.maven.errortest - 1 - - parent-parse-xex-child - - diff --git a/maven-embedder/src/test/error-reporting-projects/parent-parse-xex/pom.xml b/maven-embedder/src/test/error-reporting-projects/parent-parse-xex/pom.xml deleted file mode 100644 index 7ac14c6cce..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/parent-parse-xex/pom.xml +++ /dev/null @@ -1,7 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - parent-parse-xex - 1 - - diff --git a/maven-embedder/src/test/error-reporting-projects/profile-activator-err/pom.xml b/maven-embedder/src/test/error-reporting-projects/profile-activator-err/pom.xml deleted file mode 100644 index 031ce1e922..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/profile-activator-err/pom.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - 4.0.0 - org.apache.maven - profile-activator-err - 1 - - - - faulty - - - nothing - - bar - - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/ext/pom.xml b/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/ext/pom.xml deleted file mode 100644 index c72cc0ab44..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/ext/pom.xml +++ /dev/null @@ -1,38 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - profile-activator-lookup-err-ext - 1 - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/ext/src/main/java/org/ext/App.java b/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/ext/src/main/java/org/ext/App.java deleted file mode 100644 index 0701b7ae5e..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/ext/src/main/java/org/ext/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.ext; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/ext/src/main/resources/META-INF/plexus/components.xml b/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/ext/src/main/resources/META-INF/plexus/components.xml deleted file mode 100644 index 74a2963ced..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/ext/src/main/resources/META-INF/plexus/components.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - org.apache.maven.profiles.activation.ProfileActivator - faulty - org.ext.App - - - org.apache.maven.artifact.ArtifactResolver - artifactResolver - - - - - \ No newline at end of file diff --git a/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/project/pom.xml b/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/project/pom.xml deleted file mode 100644 index a34b838de5..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/profile-activator-lookup-err/project/pom.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - 4.0.0 - org.apache.maven.errortest - profile-activator-lookup-err - 1 - - - - test-profile - - - java.version - - - - - - - - - org.apache.maven.errortest - profile-activator-lookup-err-ext - 1 - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/project-collision/mod1/pom.xml b/maven-embedder/src/test/error-reporting-projects/project-collision/mod1/pom.xml deleted file mode 100644 index ebb7ee7842..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-collision/mod1/pom.xml +++ /dev/null @@ -1,7 +0,0 @@ - - 4.0.0 - - org.apache.maven.errortest - module - 1 - \ No newline at end of file diff --git a/maven-embedder/src/test/error-reporting-projects/project-collision/mod2/pom.xml b/maven-embedder/src/test/error-reporting-projects/project-collision/mod2/pom.xml deleted file mode 100644 index ebb7ee7842..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-collision/mod2/pom.xml +++ /dev/null @@ -1,7 +0,0 @@ - - 4.0.0 - - org.apache.maven.errortest - module - 1 - \ No newline at end of file diff --git a/maven-embedder/src/test/error-reporting-projects/project-collision/pom.xml b/maven-embedder/src/test/error-reporting-projects/project-collision/pom.xml deleted file mode 100644 index 9e11c6d180..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-collision/pom.xml +++ /dev/null @@ -1,12 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - project-collision - 1 - pom - - - mod1 - mod2 - - diff --git a/maven-embedder/src/test/error-reporting-projects/project-cycle/dep/pom.xml b/maven-embedder/src/test/error-reporting-projects/project-cycle/dep/pom.xml deleted file mode 100644 index eb1f08fd73..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-cycle/dep/pom.xml +++ /dev/null @@ -1,12 +0,0 @@ - - 4.0.0 - - - org.apache.maven.errortest - project-cycle - 1 - - - org.apache.maven.errortest - project-cycle-dep - diff --git a/maven-embedder/src/test/error-reporting-projects/project-cycle/pom.xml b/maven-embedder/src/test/error-reporting-projects/project-cycle/pom.xml deleted file mode 100644 index 75c53e7bc9..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-cycle/pom.xml +++ /dev/null @@ -1,19 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - project-cycle - 1 - pom - - - dep - - - - - org.apache.maven.errortest - project-cycle-dep - 1 - - - diff --git a/maven-embedder/src/test/error-reporting-projects/project-dep-missing/pom.xml b/maven-embedder/src/test/error-reporting-projects/project-dep-missing/pom.xml deleted file mode 100644 index 3c297ac1bf..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-dep-missing/pom.xml +++ /dev/null @@ -1,22 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - project-dep-missing - 1 - - - - central - file://${java.io.tmpdir} - - - - - - not - found - 3.8.1 - - - - diff --git a/maven-embedder/src/test/error-reporting-projects/project-dep-missing/src/main/java/org/apache/maven/test/error/mojoFailure/App.java b/maven-embedder/src/test/error-reporting-projects/project-dep-missing/src/main/java/org/apache/maven/test/error/mojoFailure/App.java deleted file mode 100644 index dd4102a31b..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-dep-missing/src/main/java/org/apache/maven/test/error/mojoFailure/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.apache.maven.test.error.mojoFailure; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/project-dep-missing/src/test/java/org/apache/maven/test/error/mojoFailure/AppTest.java b/maven-embedder/src/test/error-reporting-projects/project-dep-missing/src/test/java/org/apache/maven/test/error/mojoFailure/AppTest.java deleted file mode 100644 index 94e6877a1f..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-dep-missing/src/test/java/org/apache/maven/test/error/mojoFailure/AppTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.apache.maven.test.error.mojoFailure; - -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 ); - } - - /** - * Rigorous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/project-mojo-failure/pom.xml b/maven-embedder/src/test/error-reporting-projects/project-mojo-failure/pom.xml deleted file mode 100644 index 3064b59795..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-mojo-failure/pom.xml +++ /dev/null @@ -1,17 +0,0 @@ - - 4.0.0 - org.apache.maven.test.error - project-mojo-failure - jar - 1 - - - - junit - junit - 3.8.1 - test - - - diff --git a/maven-embedder/src/test/error-reporting-projects/project-mojo-failure/src/main/java/org/apache/maven/test/error/mojoFailure/App.java b/maven-embedder/src/test/error-reporting-projects/project-mojo-failure/src/main/java/org/apache/maven/test/error/mojoFailure/App.java deleted file mode 100644 index 89f091d20b..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-mojo-failure/src/main/java/org/apache/maven/test/error/mojoFailure/App.java +++ /dev/null @@ -1,14 +0,0 @@ -package org.apache.maven.test.error.mojoFailure; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - StringUtils utils; - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/project-mojo-failure/src/test/java/org/apache/maven/test/error/mojoFailure/AppTest.java b/maven-embedder/src/test/error-reporting-projects/project-mojo-failure/src/test/java/org/apache/maven/test/error/mojoFailure/AppTest.java deleted file mode 100644 index 94e6877a1f..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-mojo-failure/src/test/java/org/apache/maven/test/error/mojoFailure/AppTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.apache.maven.test.error.mojoFailure; - -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 ); - } - - /** - * Rigorous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} diff --git a/maven-embedder/src/test/error-reporting-projects/project-parse-xex/pom.xml b/maven-embedder/src/test/error-reporting-projects/project-parse-xex/pom.xml deleted file mode 100644 index fd68be6eda..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-parse-xex/pom.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 4.0.0 - org.apache.maven - project-parse-xex - 1 - diff --git a/maven-embedder/src/test/error-reporting-projects/project-validation/pom.xml b/maven-embedder/src/test/error-reporting-projects/project-validation/pom.xml deleted file mode 100644 index 9f66c18bed..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/project-validation/pom.xml +++ /dev/null @@ -1,13 +0,0 @@ - - 4.0.0 - org.apache.maven.errortest - project-validation - 1 - - - - junit - junit - - - diff --git a/maven-embedder/src/test/error-reporting-projects/repo-creation-err/pom.xml b/maven-embedder/src/test/error-reporting-projects/repo-creation-err/pom.xml deleted file mode 100644 index d0574bd0df..0000000000 --- a/maven-embedder/src/test/error-reporting-projects/repo-creation-err/pom.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - 4.0.0 - org.apache.maven - repo-creation-err - 1 - - - - junit - junit - 3.8.1 - - - - - - test - http://www.google.com - nothing - - - diff --git a/maven-embedder/src/test/eventing-projects/read-with-deps/pom.xml b/maven-embedder/src/test/eventing-projects/read-with-deps/pom.xml deleted file mode 100644 index 169b392167..0000000000 --- a/maven-embedder/src/test/eventing-projects/read-with-deps/pom.xml +++ /dev/null @@ -1,15 +0,0 @@ - - 4.0.0 - testing - read-with-deps - 1 - - - - tests - dep - 1 - pom - - - \ No newline at end of file diff --git a/maven-embedder/src/test/eventing-projects/read-with-deps/repo/tests/dep/1/dep-1.pom b/maven-embedder/src/test/eventing-projects/read-with-deps/repo/tests/dep/1/dep-1.pom deleted file mode 100644 index 175bf21087..0000000000 --- a/maven-embedder/src/test/eventing-projects/read-with-deps/repo/tests/dep/1/dep-1.pom +++ /dev/null @@ -1,6 +0,0 @@ - - 4.0.0 - testing - dep - 1 - \ No newline at end of file diff --git a/maven-embedder/src/test/eventing-projects/simple-read-project/pom.xml b/maven-embedder/src/test/eventing-projects/simple-read-project/pom.xml deleted file mode 100644 index 9a3f6be472..0000000000 --- a/maven-embedder/src/test/eventing-projects/simple-read-project/pom.xml +++ /dev/null @@ -1,6 +0,0 @@ - - 4.0.0 - testing - simple-read-project - 1 - \ No newline at end of file diff --git a/maven-embedder/src/test/extensions/META-INF/plexus/components.xml b/maven-embedder/src/test/extensions/META-INF/plexus/components.xml deleted file mode 100644 index f38af5976e..0000000000 --- a/maven-embedder/src/test/extensions/META-INF/plexus/components.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - org.apache.maven.artifact.factory.ArtifactFactory - default - org.apache.maven.embedder.CustomArtifactFactory - - - \ No newline at end of file diff --git a/maven-embedder/src/test/plugin-version-references/jar-pom.xml b/maven-embedder/src/test/plugin-version-references/jar-pom.xml deleted file mode 100644 index 1cce9991db..0000000000 --- a/maven-embedder/src/test/plugin-version-references/jar-pom.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - - - diff --git a/maven-embedder/src/test/plugin-version-references/maven-plugin-pom.xml b/maven-embedder/src/test/plugin-version-references/maven-plugin-pom.xml deleted file mode 100644 index 7cfd6a2feb..0000000000 --- a/maven-embedder/src/test/plugin-version-references/maven-plugin-pom.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - maven-surefire-plugin - 2.2 - - - maven-deploy-plugin - 2.3 - - - maven-install-plugin - 2.2 - - - maven-resources-plugin - 2.2 - - - maven-jar-plugin - 2.1 - - - maven-compiler-plugin - 2.0.2 - - - maven-plugin-plugin - 2.3 - - - - - diff --git a/maven-embedder/src/test/projects/bad-module-non-recursive/badmodule/pom.xml b/maven-embedder/src/test/projects/bad-module-non-recursive/badmodule/pom.xml deleted file mode 100644 index 7efc0a2c16..0000000000 --- a/maven-embedder/src/test/projects/bad-module-non-recursive/badmodule/pom.xml +++ /dev/null @@ -1,14 +0,0 @@ - - 4.0.0 - - - other - parent - 0.0.1-SNAPSHOT - - - badmodule - badmodule - 0.0.1-SNAPSHOT - - \ No newline at end of file diff --git a/maven-embedder/src/test/projects/bad-module-non-recursive/goodmodule/pom.xml b/maven-embedder/src/test/projects/bad-module-non-recursive/goodmodule/pom.xml deleted file mode 100644 index 639315ed21..0000000000 --- a/maven-embedder/src/test/projects/bad-module-non-recursive/goodmodule/pom.xml +++ /dev/null @@ -1,14 +0,0 @@ - - 4.0.0 - - - badmodule - parent - 0.0.1-SNAPSHOT - - - badmodule - good - 0.0.1-SNAPSHOT - - \ No newline at end of file diff --git a/maven-embedder/src/test/projects/bad-module-non-recursive/pom.xml b/maven-embedder/src/test/projects/bad-module-non-recursive/pom.xml deleted file mode 100644 index 890e7c842f..0000000000 --- a/maven-embedder/src/test/projects/bad-module-non-recursive/pom.xml +++ /dev/null @@ -1,14 +0,0 @@ - - 4.0.0 - - badmodule - parent - 0.0.1-SNAPSHOT - pom - - - goodmodule - badmodule - - - \ No newline at end of file diff --git a/maven-embedder/src/test/projects/invalid-goal/pom.xml b/maven-embedder/src/test/projects/invalid-goal/pom.xml deleted file mode 100644 index d72b515ad3..0000000000 --- a/maven-embedder/src/test/projects/invalid-goal/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - 4.0.0 - - org.apache.maven.its.mng - test1 - 1.0-SNAPSHOT - - jar - - - - - org.apache.maven.plugins - maven-site-plugin - 2.0-beta-7 - - - - - invalid-goal - - - - - - - - diff --git a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/project/pom.xml b/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/project/pom.xml deleted file mode 100644 index d7151f24f0..0000000000 --- a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/project/pom.xml +++ /dev/null @@ -1,13 +0,0 @@ - - 4.0.0 - - org.codehaus.m2eclipse - parent - 1.0-SNAPSHOT - - project-1 - jar - project-1 - http://maven.apache.org - diff --git a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/project/src/main/java/org/codehaus/m2eclipse/App.java b/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/project/src/main/java/org/codehaus/m2eclipse/App.java deleted file mode 100644 index f959dc43eb..0000000000 --- a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/project/src/main/java/org/codehaus/m2eclipse/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.codehaus.m2eclipse; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/project/src/test/java/org/codehaus/m2eclipse/AppTest.java b/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/project/src/test/java/org/codehaus/m2eclipse/AppTest.java deleted file mode 100644 index 7275a8d6f4..0000000000 --- a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/project/src/test/java/org/codehaus/m2eclipse/AppTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.codehaus.m2eclipse; - -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 ); - } - - /** - * Rigorous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} diff --git a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/repository/org/codehaus/m2eclipse/parent/1.0-SNAPSHOT/maven-metadata-company.xml b/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/repository/org/codehaus/m2eclipse/parent/1.0-SNAPSHOT/maven-metadata-company.xml deleted file mode 100644 index 15db1b0d59..0000000000 --- a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/repository/org/codehaus/m2eclipse/parent/1.0-SNAPSHOT/maven-metadata-company.xml +++ /dev/null @@ -1,11 +0,0 @@ - - org.codehaus.m2eclipse - parent - 1.0-SNAPSHOT - - - true - - 20070930165921 - - \ No newline at end of file diff --git a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/repository/org/codehaus/m2eclipse/parent/1.0-SNAPSHOT/parent-1.0-SNAPSHOT.pom b/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/repository/org/codehaus/m2eclipse/parent/1.0-SNAPSHOT/parent-1.0-SNAPSHOT.pom deleted file mode 100644 index b7f47b0344..0000000000 --- a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/repository/org/codehaus/m2eclipse/parent/1.0-SNAPSHOT/parent-1.0-SNAPSHOT.pom +++ /dev/null @@ -1,18 +0,0 @@ - - 4.0.0 - org.codehaus.m2eclipse - parent - pom - 1.0-SNAPSHOT - parent - http://maven.apache.org - - - junit - junit - 3.8.1 - test - - - diff --git a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/repository/org/codehaus/m2eclipse/parent/maven-metadata-local.xml b/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/repository/org/codehaus/m2eclipse/parent/maven-metadata-local.xml deleted file mode 100644 index 5c4412d262..0000000000 --- a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/repository/org/codehaus/m2eclipse/parent/maven-metadata-local.xml +++ /dev/null @@ -1,11 +0,0 @@ - - org.codehaus.m2eclipse - parent - 1.0-SNAPSHOT - - - 1.0-SNAPSHOT - - 20070930165921 - - \ No newline at end of file diff --git a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/settings.xml b/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/settings.xml deleted file mode 100644 index 60c25eb840..0000000000 --- a/maven-embedder/src/test/projects/isolated-project-getting-parent-pom/settings.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - company - - - repo - file:///tmp/repo - - true - - - false - - - - - - - company - - diff --git a/maven-embedder/src/test/projects/optional-dep/pom.xml b/maven-embedder/src/test/projects/optional-dep/pom.xml deleted file mode 100644 index 12e2c55ec0..0000000000 --- a/maven-embedder/src/test/projects/optional-dep/pom.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - 4.0.0 - optionaldependency - p01 - 0.0.1-SNAPSHOT - - - - diff --git a/maven-embedder/src/test/projects/readProject-missingModuleIgnored/pom.xml b/maven-embedder/src/test/projects/readProject-missingModuleIgnored/pom.xml deleted file mode 100644 index 851987fe71..0000000000 --- a/maven-embedder/src/test/projects/readProject-missingModuleIgnored/pom.xml +++ /dev/null @@ -1,13 +0,0 @@ - - 4.0.0 - - missing.module - parent - 1 - pom - - - child1 - - - \ No newline at end of file diff --git a/maven-embedder/src/test/projects/readProject-withScmInheritance/modules/child1/pom.xml b/maven-embedder/src/test/projects/readProject-withScmInheritance/modules/child1/pom.xml deleted file mode 100644 index d269726d5a..0000000000 --- a/maven-embedder/src/test/projects/readProject-withScmInheritance/modules/child1/pom.xml +++ /dev/null @@ -1,13 +0,0 @@ - - 4.0.0 - - - scm.inherit - parent - 1 - ../../pom.xml - - - child1 - - \ No newline at end of file diff --git a/maven-embedder/src/test/projects/readProject-withScmInheritance/pom.xml b/maven-embedder/src/test/projects/readProject-withScmInheritance/pom.xml deleted file mode 100644 index 3323e47d60..0000000000 --- a/maven-embedder/src/test/projects/readProject-withScmInheritance/pom.xml +++ /dev/null @@ -1,19 +0,0 @@ - - 4.0.0 - - scm.inherit - parent - 1 - pom - - - scm:svn:http://host/trunk/parent - scm:svn:https://host/trunk/parent - http://host/viewer?path=/trunk/parent - - - - modules/child1 - - - \ No newline at end of file diff --git a/maven-embedder/src/test/resources/META-INF/maven/org.apache.maven/maven-core/pom.properties b/maven-embedder/src/test/resources/META-INF/maven/org.apache.maven/maven-core/pom.properties deleted file mode 100644 index 8b958ebbde..0000000000 --- a/maven-embedder/src/test/resources/META-INF/maven/org.apache.maven/maven-core/pom.properties +++ /dev/null @@ -1,18 +0,0 @@ -# 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. - -version=2.1-SNAPSHOT \ No newline at end of file diff --git a/maven-embedder/src/test/resources/pom-with-distribution-status.xml b/maven-embedder/src/test/resources/pom-with-distribution-status.xml deleted file mode 100644 index 0bece7fe9e..0000000000 --- a/maven-embedder/src/test/resources/pom-with-distribution-status.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - 4.0.0 - org.apache.maven - test - 1.0 - - deployed - - \ No newline at end of file diff --git a/maven-embedder/src/test/resources/pom-without-dependencies.xml b/maven-embedder/src/test/resources/pom-without-dependencies.xml deleted file mode 100644 index ad2d6aa309..0000000000 --- a/maven-embedder/src/test/resources/pom-without-dependencies.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - 4.0.0 - org.apache.maven - maven-model - Maven Embedder Test Project - 1.0 - Maven Embedder Test Project Without Any Dependencies - - - - diff --git a/maven-embedder/src/test/resources/pom.xml b/maven-embedder/src/test/resources/pom.xml deleted file mode 100644 index c226875a3b..0000000000 --- a/maven-embedder/src/test/resources/pom.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - 4.0.0 - org.apache.maven - maven-model - Maven Embedder Test Project - 1.0 - Maven Embedder Test Project - - - plexus - plexus-utils - 1.0.2 - - - diff --git a/maven-embedder/src/test/resources/pom2.xml b/maven-embedder/src/test/resources/pom2.xml deleted file mode 100644 index 00744d9d2f..0000000000 --- a/maven-embedder/src/test/resources/pom2.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - 4.0.0 - org.apache.maven - embedder-test-project2 - jar - 1.0-SNAPSHOT - Maven Quick Start Archetype - http://maven.apache.org - - - junit - junit - 3.8.2 - test - mkleint - - - - - - - maven-surefire-plugin - 2.4.3 - true - - - - diff --git a/maven-embedder/src/test/resources/settings/invalid-settings.xml b/maven-embedder/src/test/resources/settings/invalid-settings.xml deleted file mode 100644 index a6e0ea9699..0000000000 --- a/maven-embedder/src/test/resources/settings/invalid-settings.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - /Users/jvanzyl/maven-repo-local diff --git a/maven-embedder/src/test/resources/settings/valid-settings.xml b/maven-embedder/src/test/resources/settings/valid-settings.xml deleted file mode 100644 index a7693343e8..0000000000 --- a/maven-embedder/src/test/resources/settings/valid-settings.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - /global/maven/local-repository - - org.codehaus.tycho - org.sonatype.pwt - - diff --git a/maven-model-builder/src/main/mdo/profiles.mdo b/maven-model-builder/src/main/mdo/profiles.mdo deleted file mode 100644 index a55677cd05..0000000000 --- a/maven-model-builder/src/main/mdo/profiles.mdo +++ /dev/null @@ -1,399 +0,0 @@ - - - - profiles - Profiles - - - - package - org.apache.maven.profiles - - - - - ProfilesRoot - 1.0.0 - Root element of the profiles.xml file. - - - profiles - 1.0.0 - - - Profile - * - - - - activeProfiles - 1.0.0 - - - String - * - - - - - - Profile - 1.0.0 - - - - id - true - 1.0.0 - String - default - The ID of this build profile, for activation - purposes. - - - activation - 1.0.0 - - - Activation - - - - properties - Extended configuration specific to this profile goes - here. - Properties - - String - * - - - - repositories - 1.0.0 - - - - Repository - * - - - - pluginRepositories - 1.0.0 - - - Repository - * - - - - - - - Activation - 1.0.0 - - - - activeByDefault - 1.0.0 - boolean - Flag specifying whether this profile is active as a default. - - - jdk - 1.0.0 - String - - - - os - 1.0.0 - - - ActivationOS - - - - property - 1.0.0 - - - ActivationProperty - - - - file - 1.0.0 - - - ActivationFile - - - - - - - - RepositoryBase - 1.0.0 - - - - id - 1.0.0 - - String - - - name - 1.0.0 - - String - - - url - 1.0.0 - - String - - - layout - 1.0.0 - The type of layout this repository uses for locating and storing artifacts - can be "legacy" or - "default". - String - default - - - - - 1.0.0 - - - - - - Repository - RepositoryBase - 1.0.0 - - Repository contains the information needed for establishing connections with remote repository - - - - releases - 1.0.0 - How to handle downloading of releases from this repository - - RepositoryPolicy - - - - snapshots - 1.0.0 - How to handle downloading of snapshots from this repository - - RepositoryPolicy - - - - - - - 1.0.0 - - - - - - - RepositoryPolicy - 1.0.0 - Download policy - - - enabled - 1.0.0 - Whether to use this repository for downloading this type of artifact - boolean - true - - - updatePolicy - 1.0.0 - - The frequency for downloading updates - can be "always", "daily" (default), "interval:XXX" (in minutes) or - "never" (only if it doesn't exist locally). - - String - - - checksumPolicy - 1.0.0 - What to do when verification of an artifact checksum fails - warn, fail, etc. Valid values are - "fail" or "warn" - String - - - - - ActivationProperty - 1.0.0 - - - - name - 1.0.0 - String - true - The name of the property to be used to activate a profile - - - value - 1.0.0 - String - The value of the property to be used to activate a profile - - - - - ActivationFile - 1.0.0 - - - - missing - 1.0.0 - String - The name of the file that should be missing to activate a profile - - - exists - 1.0.0 - String - The name of the file that should exist to activate a profile - - - - - ActivationOS - 1.0.0 - - - - name - 1.0.0 - String - The name of the OS to be used to activate a profile - - - family - 1.0.0 - String - The general family of the OS to be used to activate a profile (e.g. 'windows') - - - arch - 1.0.0 - String - The architecture of the OS to be used to activate a profile - - - version - 1.0.0 - String - The version of the OS to be used to activate a profile - - - - -