mirror of https://github.com/apache/maven.git
[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:
parent
345a1e433e
commit
877538470d
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue