maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r699103 - in /maven/core-integration-testing/trunk/core-it-suite/src/test: java/org/apache/maven/it/MavenIT0078Test.java resources/it0078/pom.xml resources/it0078/src/
Date Thu, 25 Sep 2008 21:35:37 GMT
Author: bentmann
Date: Thu Sep 25 14:35:37 2008
New Revision: 699103

URL: http://svn.apache.org/viewvc?rev=699103&view=rev
Log:
o Decoupled it0078 from production plugin

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

Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0078Test.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0078Test.java?rev=699103&r1=699102&r2=699103&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0078Test.java
(original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0078Test.java
Thu Sep 25 14:35:37 2008
@@ -29,7 +29,7 @@
 {
 
     /**
-     * Test that configuration for maven-compiler-plugin is injected from
+     * Test that configuration for a lifecycle-bound plugin is injected from
      * PluginManagement section even when it's not explicitly defined in the
      * plugins section.
      */
@@ -38,11 +38,11 @@
     {
         File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0078" );
         Verifier verifier = new Verifier( testDir.getAbsolutePath() );
-        verifier.executeGoal( "compile" );
-        verifier.assertFileNotPresent( "target/classes/Test.class" );
+        verifier.executeGoal( "process-resources" );
+        verifier.assertFilePresent( "target/plugin-management.txt" );
+        verifier.assertFileNotPresent( "target/resources-resources.txt" );
         verifier.verifyErrorFreeLog();
         verifier.resetStreams();
-
     }
-}
 
+}

Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0078/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0078/pom.xml?rev=699103&r1=699102&r2=699103&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0078/pom.xml (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0078/pom.xml Thu
Sep 25 14:35:37 2008
@@ -1,22 +1,47 @@
+<?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 :: it0078</name> 
+
   <groupId>org.apache.maven.its.it0078</groupId>
   <artifactId>maven-it-it0078</artifactId>
-  <description>Test that configuration for maven-compiler-plugin is injected from
-        PluginManagement section even when it's not explicitly defined in the
-        plugins section.</description>
-  <packaging>jar</packaging>
   <version>1.0</version>
+  <packaging>jar</packaging>
+
+  <name>Maven Integration Test :: it0078</name> 
+  <description>
+    Test that configuration for a lifecycle-bound plugin is injected from
+    PluginManagement section even when it's not explicitly defined in the
+    plugins section.
+  </description>
+
   <build>
     <pluginManagement>
       <plugins>
         <plugin>
-          <artifactId>maven-compiler-plugin</artifactId>
+          <artifactId>maven-resources-plugin</artifactId>
+          <version>0.1-stub-SNAPSHOT</version>
           <configuration>
-            <excludes>
-              <exclude implementation="java.lang.String">**/Test.java</exclude>
-            </excludes>
+            <pathname>target/plugin-management.txt</pathname>
           </configuration>
         </plugin>
       </plugins>



Mime
View raw message