diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0019Test.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0019Test.java index ebc9f2f105..fdc36e997f 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0019Test.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0019Test.java @@ -36,11 +36,12 @@ public class MavenIT0019Test { File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0019" ); Verifier verifier = new Verifier( testDir.getAbsolutePath() ); - verifier.executeGoal( "compile" ); - verifier.assertFilePresent( "target/classes/org/apache/maven/it0019/Person.class" ); + verifier.setAutoclean( false ); + verifier.deleteDirectory( "target" ); + verifier.executeGoal( "process-resources" ); + verifier.assertFilePresent( "target/classes/test.txt" ); verifier.verifyErrorFreeLog(); verifier.resetStreams(); - } -} +} diff --git a/its/core-it-suite/src/test/resources/it0019/pom.xml b/its/core-it-suite/src/test/resources/it0019/pom.xml index 4b2fe559df..999889dd13 100644 --- a/its/core-it-suite/src/test/resources/it0019/pom.xml +++ b/its/core-it-suite/src/test/resources/it0019/pom.xml @@ -1,14 +1,38 @@ + + + + 4.0.0 - Maven Integration Test :: it0019 + org.apache.maven.its.it0019 maven-it-it0019 - Test that a version is managed by pluginManagement in the super POM 1.0 + + Maven Integration Test :: it0019 + Test that a version is managed by pluginManagement in the super POM + - maven-compiler-plugin + maven-resources-plugin diff --git a/its/core-it-suite/src/test/resources/it0019/src/main/java/org/apache/maven/it0019/Person.java b/its/core-it-suite/src/test/resources/it0019/src/main/java/org/apache/maven/it0019/Person.java deleted file mode 100644 index 30dd2d4dd0..0000000000 --- a/its/core-it-suite/src/test/resources/it0019/src/main/java/org/apache/maven/it0019/Person.java +++ /dev/null @@ -1,16 +0,0 @@ -package org.apache.maven.it0019; - -public class Person -{ - private String name; - - public void setName( String name ) - { - this.name = name; - } - - public String getName() - { - return name; - } -} diff --git a/its/core-it-suite/src/test/resources/it0019/src/main/resources/test.txt b/its/core-it-suite/src/test/resources/it0019/src/main/resources/test.txt new file mode 100644 index 0000000000..e69de29bb2