diff options
Diffstat (limited to 'framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error')
4 files changed, 0 insertions, 165 deletions
diff --git a/framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/pom.xml b/framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/pom.xml deleted file mode 100644 index de32947a..00000000 --- a/framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<project> - <modelVersion>4.0.0</modelVersion> - <groupId>org.apache.maven.errortest</groupId> - <artifactId>mojo-config-error-maven-plugin</artifactId> - <version>1</version> - - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <version>2.0</version> - </dependency> - </dependencies> - <build> - <pluginManagement> - <plugins> - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> - <artifactId>maven-deploy-plugin</artifactId> - <version>2.3</version> - </plugin> - <plugin> - <artifactId>maven-install-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> - <artifactId>maven-resources-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> - <artifactId>maven-jar-plugin</artifactId> - <version>2.1</version> - </plugin> - <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <version>2.0.2</version> - </plugin> - <plugin> - <artifactId>maven-plugin-plugin</artifactId> - <version>2.3</version> - </plugin> - </plugins> - </pluginManagement> - </build> -</project> diff --git a/framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/src/main/java/org/plugin/TestPlugin.java b/framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/src/main/java/org/plugin/TestPlugin.java deleted file mode 100644 index 5836f1e0..00000000 --- a/framework/src/maven/apache-maven-3.3.3/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/framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/src/main/resources/META-INF/maven/plugin.xml b/framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error/plugin/src/main/resources/META-INF/maven/plugin.xml deleted file mode 100644 index 35697de7..00000000 --- a/framework/src/maven/apache-maven-3.3.3/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 @@ -<plugin> - <description></description> - <groupId>org.apache.maven.errortest</groupId> - <artifactId>mojo-config-error-maven-plugin</artifactId> - <version>1</version> - <goalPrefix>mojo-config-error</goalPrefix> - <isolatedRealm>false</isolatedRealm> - <inheritedByDefault>true</inheritedByDefault> - <mojos> - <mojo> - <goal>test</goal> - <description></description> - <requiresDirectInvocation>false</requiresDirectInvocation> - <requiresProject>true</requiresProject> - <requiresReports>false</requiresReports> - <aggregator>false</aggregator> - <requiresOnline>false</requiresOnline> - <inheritedByDefault>true</inheritedByDefault> - <implementation>org.plugin.TestPlugin</implementation> - <language>java</language> - <instantiationStrategy>per-lookup</instantiationStrategy> - <executionStrategy>once-per-session</executionStrategy> - <parameters> - <parameter> - <name>param</name> - <type>java.lang.String</type> - <required>true</required> - <editable>false</editable> - <description></description> - </parameter> - </parameters> - <configuration> - <param implementation="java.lang.String" default-value="something"/> - </configuration> - </mojo> - </mojos> - <dependencies/> -</plugin> diff --git a/framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error/project/pom.xml b/framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error/project/pom.xml deleted file mode 100644 index 9d63df51..00000000 --- a/framework/src/maven/apache-maven-3.3.3/maven-embedder/src/test/error-reporting-projects/mojo-config-error/project/pom.xml +++ /dev/null @@ -1,45 +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. ---> - -<project> - <modelVersion>4.0.0</modelVersion> - <groupId>org.apache.maven</groupId> - <artifactId>mojo-config-error</artifactId> - <version>1</version> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.errortest</groupId> - <artifactId>mojo-config-error-maven-plugin</artifactId> - <version>1</version> - <executions> - <execution> - <id>test-run</id> - <phase>initialize</phase> - <goals> - <goal>test</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - -</project> |