You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2007/10/28 03:16:32 UTC

svn commit: r589261 - in /maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all: ./ 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/...

Author: brianf
Date: Sat Oct 27 19:16:30 2007
New Revision: 589261

URL: http://svn.apache.org/viewvc?rev=589261&view=rev
Log:
adding new coreit plugin to consolidate some of the others.

Added:
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/   (with props)
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/pom.xml
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/org/
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/org/apache/
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/org/apache/maven/
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/org/apache/maven/plugin/
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/org/apache/maven/plugin/coreit/
    maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/org/apache/maven/plugin/coreit/AggregatorDependenciesMojo.java

Propchange: maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Oct 27 19:16:30 2007
@@ -0,0 +1,4 @@
+.classpath
+.project
+.settings
+target

Added: maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/pom.xml?rev=589261&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/pom.xml (added)
+++ maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/pom.xml Sat Oct 27 19:16:30 2007
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ Copyright 2005-2006 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.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <parent>
+    <artifactId>maven-it-plugins</artifactId>
+    <groupId>org.apache.maven.its.plugins</groupId>
+    <version>2.1-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>maven-it-plugin-all</artifactId>
+  <packaging>maven-plugin</packaging>
+  <name>Maven Integration Test Plugin :: This plugin should contain the mojos needed by all tests.</name>
+  <inceptionYear>2007</inceptionYear>
+
+  <properties>
+    <maven.test.skip>true</maven.test.skip>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin-api</artifactId>
+      <version>2.0</version>
+    </dependency>
+  </dependencies>
+</project>

Added: maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/org/apache/maven/plugin/coreit/AggregatorDependenciesMojo.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/org/apache/maven/plugin/coreit/AggregatorDependenciesMojo.java?rev=589261&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/org/apache/maven/plugin/coreit/AggregatorDependenciesMojo.java (added)
+++ maven/core-integration-testing/trunk/core-integration-testing-plugins/maven-it-plugin-all/src/main/java/org/apache/maven/plugin/coreit/AggregatorDependenciesMojo.java Sat Oct 27 19:16:30 2007
@@ -0,0 +1,22 @@
+package org.apache.maven.plugin.coreit;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+/**
+ * @requiresDependencyResolution test
+ * @aggregator
+ * @goal aggregator-dependencies
+ * @phase validate
+ */
+public class AggregatorDependenciesMojo
+    extends AbstractMojo
+{
+    
+
+    public void execute()
+        throws MojoExecutionException
+    {
+        //nothing to do, we are checking Maven's behavior here.
+    }
+}