You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/09/25 23:32:46 UTC
svn commit: r699100 - in
/maven/core-integration-testing/trunk/core-it-suite/src/test:
java/org/apache/maven/it/MavenIT0076Test.java resources/it0076/pom.xml
Author: bentmann
Date: Thu Sep 25 14:32:45 2008
New Revision: 699100
URL: http://svn.apache.org/viewvc?rev=699100&view=rev
Log:
o Decoupled it0076 from WAR Plugin
Modified:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0076Test.java
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0076/pom.xml
Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0076Test.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0076Test.java?rev=699100&r1=699099&r2=699100&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0076Test.java (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0076Test.java Thu Sep 25 14:32:45 2008
@@ -38,10 +38,10 @@
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0076" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
- verifier.executeGoal( "install" );
+ verifier.executeGoal( "initialize" );
+ verifier.assertFileNotPresent( "target/unexpected.txt" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
-
}
-}
+}
Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0076/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0076/pom.xml?rev=699100&r1=699099&r2=699100&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0076/pom.xml (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0076/pom.xml Thu Sep 25 14:32:45 2008
@@ -1,29 +1,55 @@
<?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 :: it0076</name>
+
<groupId>org.apache.maven.its.it0076</groupId>
<artifactId>maven-it-it0076</artifactId>
- <description>Test that plugins in pluginManagement aren't included in the build
- unless they are referenced by groupId/artifactId within the plugins
- section of a pom.</description>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
+ <name>Maven Integration Test :: it0076</name>
+ <description>
+ Test that plugins in pluginManagement aren't included in the build
+ unless they are referenced by groupId/artifactId within the plugins
+ section of a pom.
+ </description>
+
<build>
<pluginManagement>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
-
+ <groupId>org.apache.maven.its.plugins</groupId>
+ <artifactId>maven-it-plugin-file</artifactId>
<executions>
<execution>
<id>exec1</id>
- <phase>package</phase>
+ <phase>initialize</phase>
<goals>
- <goal>war</goal>
+ <goal>file</goal>
</goals>
+ <configuration>
+ <pathname>target/unexpected.txt</pathname>
+ </configuration>
</execution>
</executions>
</plugin>