From 877538470db538851323edcc3d228ee547192522 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Mon, 5 Oct 2009 11:21:40 +0000 Subject: [PATCH] [MNG-3991] POM validator allows optional 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 --- .../maven/it/MavenITmng3991ValidDependencyScopeTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3991ValidDependencyScopeTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3991ValidDependencyScopeTest.java index ad8d76253b..70e0563dd3 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3991ValidDependencyScopeTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3991ValidDependencyScopeTest.java @@ -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() );