From 850b4c6cd2fc61d04203abb23856f5bbe4f61630 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Mon, 29 Dec 2008 17:58:13 +0000 Subject: [PATCH] o Decoupled it0008 from production deps/plugins git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@729959 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/it/MavenIT0008Test.java | 7 +-- .../src/test/resources/it0008/pom.xml | 50 ++++++++++++------- 2 files changed, 37 insertions(+), 20 deletions(-) diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0008Test.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0008Test.java index 4284cd8210..3f658380db 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0008Test.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0008Test.java @@ -39,13 +39,14 @@ public class MavenIT0008Test { 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(); - } -} +} diff --git a/its/core-it-suite/src/test/resources/it0008/pom.xml b/its/core-it-suite/src/test/resources/it0008/pom.xml index a25f7a7d97..ff7a05a669 100644 --- a/its/core-it-suite/src/test/resources/it0008/pom.xml +++ b/its/core-it-suite/src/test/resources/it0008/pom.xml @@ -1,24 +1,40 @@ + + + + 4.0.0 - Maven Integration Test :: it0008 + org.apache.maven.its.it0008 - maven-it-it0008 - 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". - - jar + test 1.0 - - - junit - junit - 3.8.1 - jar - test - - + jar + + Maven Integration Test :: it0008 + + 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". + +