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/17 23:59:09 UTC
svn commit: r696481 - in
/maven/core-integration-testing/trunk/core-integration-tests/src/test:
java/org/apache/maven/integrationtests/MavenIT0014Test.java
resources/it0014/pom.xml resources/it0014/src/
Author: bentmann
Date: Wed Sep 17 14:59:09 2008
New Revision: 696481
URL: http://svn.apache.org/viewvc?rev=696481&view=rev
Log:
o Decoupled it0014 from the Compiler Plugin
Removed:
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0014/src/
Modified:
maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0014Test.java
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0014/pom.xml
Modified: maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0014Test.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0014Test.java?rev=696481&r1=696480&r2=696481&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0014Test.java (original)
+++ maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0014Test.java Wed Sep 17 14:59:09 2008
@@ -17,12 +17,12 @@
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0014" );
+
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
- verifier.executeGoal( "test" );
- verifier.assertFilePresent( "target/classes/org/apache/maven/it0014/Person.class" );
+ verifier.executeGoal( "org.apache.maven.its.plugins:maven-it-plugin-file::file" );
+ verifier.assertFilePresent( "plugin-configuration.txt" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
-
}
-}
+}
Modified: maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0014/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0014/pom.xml?rev=696481&r1=696480&r2=696481&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0014/pom.xml (original)
+++ maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0014/pom.xml Wed Sep 17 14:59:09 2008
@@ -1,29 +1,44 @@
+<?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 :: it0014</name>
+
<groupId>org.apache.maven.its.it0014</groupId>
<artifactId>maven-it-it0014</artifactId>
- <description>Test POM configuration by settings the -source and -target for the
- compiler to 1.4</description>
- <packaging>jar</packaging>
<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 :: it0014</name>
+ <description>
+ Test POM configuration by setting a plugin parameter to a non-default value.
+ </description>
+
<build>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
+ <groupId>org.apache.maven.its.plugins</groupId>
+ <artifactId>maven-it-plugin-file</artifactId>
<configuration>
- <source>1.4</source>
- <target>1.4</target>
+ <pathname>plugin-configuration.txt</pathname>
</configuration>
</plugin>
</plugins>