[MNG-3991] POM validator allows <scope>optional</scope> but it is not valid.

o Adjusted IT to account for relaxed validation

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@821760 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-10-05 11:21:40 +00:00
parent 345a1e433e
commit 877538470d
1 changed files with 4 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class MavenITmng3991ValidDependencyScopeTest
public MavenITmng3991ValidDependencyScopeTest()
{
super( "[3.0-alpha-3,)" );
super( ALL_MAVEN_VERSIONS );
}
/**
@ -47,6 +47,9 @@ public class MavenITmng3991ValidDependencyScopeTest
public void testitProjectBuild()
throws Exception
{
// TODO: One day, we should be able to error out but this requires to consider extensions and their use cases
requiresMavenVersion( "[4.0,)" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3991/build" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );