Updated Branches: refs/heads/master af0dd8f90 -> d2fc26066
o Made IT's run with pre 3.1.0 versions too Project: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/d2fc2606 Tree: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/d2fc2606 Diff: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/d2fc2606 Branch: refs/heads/master Commit: d2fc26066b3e5ceb7912b69ce360fa75a8d9a2bb Parents: af0dd8f Author: Kristian Rosenvold <kristian.rosenv...@gmail.com> Authored: Mon Dec 3 17:06:56 2012 +0100 Committer: Kristian Rosenvold <kristian.rosenv...@gmail.com> Committed: Mon Dec 3 17:06:56 2012 +0100 ---------------------------------------------------------------------- .../maven/it/MavenIT0009GoalConfigurationTest.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/d2fc2606/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0009GoalConfigurationTest.java ---------------------------------------------------------------------- diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0009GoalConfigurationTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0009GoalConfigurationTest.java index 32569b9..44dc0ef 100644 --- a/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0009GoalConfigurationTest.java +++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0009GoalConfigurationTest.java @@ -40,12 +40,15 @@ public class MavenIT0009GoalConfigurationTest public void testit0009() throws Exception { + + boolean supportSpaceInXml = matchesVersionRange( "[3.1.0,)"); + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0009" ); Verifier verifier = newVerifier( testDir.getAbsolutePath() ); verifier.setAutoclean( false ); verifier.deleteDirectory( "target" ); verifier.executeGoal( "validate" ); - verifier.assertFilePresent( "target/ pluginItem " ); + verifier.assertFilePresent( supportSpaceInXml ? "target/ pluginItem " : "target/pluginItem"); verifier.assertFilePresent( "target/goalItem" ); verifier.assertFileNotPresent( "target/bad-item" ); verifier.verifyErrorFreeLog();