From 599a631ef76678e8e9be4adbc49b6432b85e773c Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Fri, 6 Mar 2009 11:54:38 +0000 Subject: [PATCH] o Fixed version range git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@750862 13f79535-47bb-0310-9956-ffa450edef68 --- .../it/MavenITmng3288SystemScopeDirTest.java | 4 ++-- .../src/test/resources/mng-3288/pom.xml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3288SystemScopeDirTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3288SystemScopeDirTest.java index f90a29106c..db86f9d855 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3288SystemScopeDirTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3288SystemScopeDirTest.java @@ -33,7 +33,7 @@ public class MavenITmng3288SystemScopeDirTest { public MavenITmng3288SystemScopeDirTest() { - super( ALL_MAVEN_VERSIONS ); + super( "[2.0.9,)" ); } /** @@ -48,7 +48,7 @@ public class MavenITmng3288SystemScopeDirTest verifier.setAutoclean( false ); try { - verifier.executeGoal( "org.apache.maven.its.plugins:maven-it-plugin-dependency-resolution::compile" ); + verifier.executeGoal( "validate" ); fail( "Usage of directory instead of file for system-scoped dependency did not fail dependency resolution" ); } catch ( VerificationException e ) diff --git a/its/core-it-suite/src/test/resources/mng-3288/pom.xml b/its/core-it-suite/src/test/resources/mng-3288/pom.xml index 6ccc54f250..42d5e57b25 100644 --- a/its/core-it-suite/src/test/resources/mng-3288/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-3288/pom.xml @@ -41,4 +41,23 @@ under the License. ${basedir}/lib + + + + + org.apache.maven.its.plugins + maven-it-plugin-dependency-resolution + 2.1-SNAPSHOT + + + test + validate + + compile + + + + + +