You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jd...@apache.org on 2005/05/06 02:36:01 UTC
svn commit: r168483 - in /maven/components/trunk/maven-core-it/it1005: ./
src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/
src/main/java/org/apache/maven/ src/main/java/org/apache/maven/plugin/
src/main/java/org/apache/maven/plugin/coreit/
Author: jdcasey
Date: Thu May 5 17:36:00 2005
New Revision: 168483
URL: http://svn.apache.org/viewcvs?rev=168483&view=rev
Log:
IT for testing failure when duplicate goal names are specified in multiple mojos...
Added:
maven/components/trunk/maven-core-it/it1005/
maven/components/trunk/maven-core-it/it1005/expected-results.txt (with props)
maven/components/trunk/maven-core-it/it1005/goals.txt (with props)
maven/components/trunk/maven-core-it/it1005/pom.xml (with props)
maven/components/trunk/maven-core-it/it1005/src/
maven/components/trunk/maven-core-it/it1005/src/main/
maven/components/trunk/maven-core-it/it1005/src/main/java/
maven/components/trunk/maven-core-it/it1005/src/main/java/org/
maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/
maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/
maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/
maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/
maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo.java (with props)
maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo2.java (with props)
Added: maven/components/trunk/maven-core-it/it1005/expected-results.txt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it1005/expected-results.txt?rev=168483&view=auto
==============================================================================
(empty)
Propchange: maven/components/trunk/maven-core-it/it1005/expected-results.txt
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author"
Added: maven/components/trunk/maven-core-it/it1005/goals.txt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it1005/goals.txt?rev=168483&view=auto
==============================================================================
--- maven/components/trunk/maven-core-it/it1005/goals.txt (added)
+++ maven/components/trunk/maven-core-it/it1005/goals.txt Thu May 5 17:36:00 2005
@@ -0,0 +1,2 @@
+clean:clean
+package
Propchange: maven/components/trunk/maven-core-it/it1005/goals.txt
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author"
Added: maven/components/trunk/maven-core-it/it1005/pom.xml
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it1005/pom.xml?rev=168483&view=auto
==============================================================================
--- maven/components/trunk/maven-core-it/it1005/pom.xml (added)
+++ maven/components/trunk/maven-core-it/it1005/pom.xml Thu May 5 17:36:00 2005
@@ -0,0 +1,16 @@
+<model>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-it1005-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <type>jar</type>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+</model>
Propchange: maven/components/trunk/maven-core-it/it1005/pom.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author"
Propchange: maven/components/trunk/maven-core-it/it1005/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo.java?rev=168483&view=auto
==============================================================================
--- maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo.java (added)
+++ maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo.java Thu May 5 17:36:00 2005
@@ -0,0 +1,41 @@
+package org.apache.maven.plugin.coreit;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+
+/**
+ * @goal it1005
+ *
+ * @description test for goal collision. This is copy #2
+ *
+ */
+public class CoreIt1005Mojo
+ extends AbstractMojo
+{
+
+ public void execute()
+ throws MojoExecutionException
+ {
+ System.out.println( "Test mojo (copy 2)." );
+ }
+}
Propchange: maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo.java
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author"
Added: maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo2.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo2.java?rev=168483&view=auto
==============================================================================
--- maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo2.java (added)
+++ maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo2.java Thu May 5 17:36:00 2005
@@ -0,0 +1,41 @@
+package org.apache.maven.plugin.coreit;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+
+/**
+ * @goal it1005
+ *
+ * @description test for goal collision. This is copy #1
+ *
+ */
+public class CoreIt1005Mojo2
+ extends AbstractMojo
+{
+
+ public void execute()
+ throws MojoExecutionException
+ {
+ System.out.println("Test mojo (copy 1).");
+ }
+}
Propchange: maven/components/trunk/maven-core-it/it1005/src/main/java/org/apache/maven/plugin/coreit/CoreIt1005Mojo2.java
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org