You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/28 14:59:36 UTC

(maven) 01/03: Maven 3.9.x should use Maven 3.1 validation in strict mode

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch rebased/pr-1542-fix-validation-level-maven-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 44ab5f0b362b5781be826cdb038a40bebada9df3
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Wed May 29 10:01:48 2024 +0200

    Maven 3.9.x should use Maven 3.1 validation in strict mode
---
 .../main/java/org/apache/maven/model/building/ModelBuildingRequest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
index 98649e0b44..1465a30580 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
@@ -60,7 +60,7 @@ public interface ModelBuildingRequest {
     /**
      * Denotes strict validation as recommended by the current Maven version.
      */
-    int VALIDATION_LEVEL_STRICT = VALIDATION_LEVEL_MAVEN_3_0;
+    int VALIDATION_LEVEL_STRICT = VALIDATION_LEVEL_MAVEN_3_1;
 
     /**
      * Gets the raw model to build. If not set, model source will be used to load raw model.