From 45def251aea4a8eb572ba9c908f99aeec4b2ff9c Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Wed, 5 Mar 2008 00:00:48 +0000 Subject: [PATCH] correct the sample git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@633717 13f79535-47bb-0310-9956-ffa450edef68 --- .../itSample/MavenITmngXXXXDescriptionOfProblemTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/its/maven-integration-test-sample/src/test/java/org/apache/maven/itSample/MavenITmngXXXXDescriptionOfProblemTest.java b/its/maven-integration-test-sample/src/test/java/org/apache/maven/itSample/MavenITmngXXXXDescriptionOfProblemTest.java index ee0abf2eb7..312c160b56 100644 --- a/its/maven-integration-test-sample/src/test/java/org/apache/maven/itSample/MavenITmngXXXXDescriptionOfProblemTest.java +++ b/its/maven-integration-test-sample/src/test/java/org/apache/maven/itSample/MavenITmngXXXXDescriptionOfProblemTest.java @@ -4,6 +4,7 @@ import java.io.File; import java.util.ArrayList; import java.util.List; +import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException; import org.apache.maven.integrationtests.AbstractMavenIntegrationTestCase; import org.apache.maven.it.Verifier; import org.apache.maven.it.util.ResourceExtractor; @@ -24,6 +25,12 @@ import org.apache.maven.it.util.ResourceExtractor; public class MavenITmngXXXXDescriptionOfProblemTest extends AbstractMavenIntegrationTestCase { + public MavenITmngXXXXDescriptionOfProblemTest() + throws InvalidVersionSpecificationException + { + super( "(2.0.8,)" ); // only test in 2.0.9+ + } + public void testitMNGxxxx () throws Exception { @@ -60,6 +67,7 @@ public class MavenITmngXXXXDescriptionOfProblemTest */ List cliOptions = new ArrayList(); cliOptions.add( "-N" ); + verifier.setCliOptions( cliOptions ); verifier.executeGoal( "install" ); /*