Author: bentmann
Date: Mon Dec 29 10:05:44 2008
New Revision: 729961

URL: http://svn.apache.org/viewvc?rev=729961&view=rev
Log:
o Decoupled it0009 from production deps/plugins

Modified:
    
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0009Test.java
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0009/pom.xml

Modified: 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0009Test.java
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0009Test.java?rev=729961&r1=729960&r2=729961&view=diff
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0009Test.java
 (original)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0009Test.java
 Mon Dec 29 10:05:44 2008
@@ -37,14 +37,14 @@
     {
         File testDir = ResourceExtractor.simpleExtractResources( getClass(), 
"/it0009" );
         Verifier verifier = new Verifier( testDir.getAbsolutePath() );
-        verifier.deleteArtifact( "org.apache.maven.its.plugins", 
"maven-it-plugin-touch", "1.0", "maven-plugin" );
-        verifier.executeGoal( "generate-resources" );
+        verifier.setAutoclean( false );
+        verifier.deleteDirectory( "target" );
+        verifier.executeGoal( "validate" );
         verifier.assertFilePresent( "target/pluginItem" );
         verifier.assertFilePresent( "target/goalItem" );
         verifier.assertFileNotPresent( "target/bad-item" );
         verifier.verifyErrorFreeLog();
         verifier.resetStreams();
-
     }
-}
 
+}

Modified: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0009/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0009/pom.xml?rev=729961&r1=729960&r2=729961&view=diff
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0009/pom.xml
 (original)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0009/pom.xml
 Mon Dec 29 10:05:44 2008
@@ -1,22 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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>
-  <name>Maven Integration Test :: it0009</name> 
+
   <groupId>org.apache.maven.its.it0009</groupId>
-  <artifactId>maven-it-it0009</artifactId>
-  <description>Test plugin configuration and goal configuration that overrides 
what the
-        mojo has specified.
-        </description>
-  <packaging>jar</packaging>
+  <artifactId>test</artifactId>
   <version>1.0</version>
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <type>jar</type>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
+  <packaging>jar</packaging>
+
+  <name>Maven Integration Test :: it0009</name> 
+  <description>
+    Test plugin configuration and goal configuration that overrides what the
+    mojo has specified.
+  </description>
+
   <build>
     <plugins>
       <plugin>
@@ -29,7 +45,7 @@
         </configuration>
         <executions>
           <execution>
-            <phase>generate-resources</phase>
+            <phase>validate</phase>
             <goals>
               <goal>touch</goal>
             </goals>


Reply via email to