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/12/29 18:58:14 UTC
svn commit: r729959 - in
/maven/core-integration-testing/trunk/core-it-suite/src/test:
java/org/apache/maven/it/MavenIT0008Test.java resources/it0008/pom.xml
Author: bentmann
Date: Mon Dec 29 09:58:13 2008
New Revision: 729959
URL: http://svn.apache.org/viewvc?rev=729959&view=rev
Log:
o Decoupled it0008 from production deps/plugins
Modified:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0008Test.java
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0008/pom.xml
Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0008Test.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0008Test.java?rev=729959&r1=729958&r2=729959&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0008Test.java (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0008Test.java Mon Dec 29 09:58:13 2008
@@ -39,13 +39,14 @@
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0008" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
+ verifier.setAutoclean( false );
+ verifier.deleteDirectory( "target" );
verifier.deleteArtifact( "org.apache.maven.its.plugins", "maven-it-plugin-touch", "1.0", "maven-plugin" );
- verifier.executeGoal( "compile" );
+ verifier.executeGoal( "process-sources" );
verifier.assertFilePresent( "target/touch.txt" );
verifier.assertFilePresent( "target/test-basedir-alignment/touch.txt" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
-
}
-}
+}
Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0008/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0008/pom.xml?rev=729959&r1=729958&r2=729959&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0008/pom.xml (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0008/pom.xml Mon Dec 29 09:58:13 2008
@@ -1,24 +1,40 @@
+<?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 :: it0008</name>
+
<groupId>org.apache.maven.its.it0008</groupId>
- <artifactId>maven-it-it0008</artifactId>
- <description>Simple goal decoration where a plugin binds to a phase and the plugin must
- be downloaded from a remote repository before it can be executed. This
- test also checks to make sure that mojo parameters are aligned to the
- project basedir when their type is "java.io.File".
- </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 :: it0008</name>
+ <description>
+ Simple goal decoration where a plugin binds to a phase and the plugin must
+ be downloaded from a remote repository before it can be executed. This
+ test also checks to make sure that mojo parameters are aligned to the
+ project basedir when their type is "java.io.File".
+ </description>
+
<build>
<plugins>
<plugin>