mirror of https://github.com/apache/maven.git
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:
parent
cc3abdcb08
commit
599a631ef7
|
@ -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 )
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue