o Fixed version range

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@750862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-03-06 11:54:38 +00:00
parent cc3abdcb08
commit 599a631ef7
2 changed files with 21 additions and 2 deletions

View File

@ -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 )

View File

@ -41,4 +41,23 @@ under the License.
<systemPath>${basedir}/lib</systemPath>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-dependency-resolution</artifactId>
<version>2.1-SNAPSHOT</version>
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>