Author: bentmann Date: Tue Sep 23 14:13:58 2008 New Revision: 698353 URL: http://svn.apache.org/viewvc?rev=698353&view=rev Log: o Decoupled it0048 from Surefire Plugin
Removed: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0048/src/ Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0048Test.java maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0048/pom.xml Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0048Test.java URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0048Test.java?rev=698353&r1=698352&r2=698353&view=diff ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0048Test.java (original) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0048Test.java Tue Sep 23 14:13:58 2008 @@ -29,19 +29,19 @@ { /** - * Verify that default values for mojo parameters are working (indirectly, - * by verifying that the Surefire mojo is functioning correctly). + * Verify that default values for mojo parameters are working (indirectly, + * by verifying that the IT mojo is functioning correctly). */ public void testit0048() throws Exception { File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0048" ); + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); - verifier.executeGoal( "test" ); - verifier.assertFilePresent( "target/testFileOutput.txt" ); + verifier.executeGoal( "org.apache.maven.its.plugins:maven-it-plugin-file::file" ); + verifier.assertFilePresent( "target/file.txt" ); verifier.verifyErrorFreeLog(); verifier.resetStreams(); - } -} +} Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0048/pom.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0048/pom.xml?rev=698353&r1=698352&r2=698353&view=diff ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0048/pom.xml (original) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0048/pom.xml Tue Sep 23 14:13:58 2008 @@ -1,19 +1,35 @@ +<?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 :: it0048</name> + <groupId>org.apache.maven.its.it0048</groupId> <artifactId>maven-it-it0048</artifactId> - <description>Verify that default values for mojo parameters are working (indirectly, - by verifying that the Surefire mojo is functioning correctly).</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> + + <name>Maven Integration Test :: it0048</name> + <description> + Verify that default values for mojo parameters are working (indirectly, + by verifying that the IT mojo is functioning correctly). + </description> </project>