You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sc...@apache.org on 2016/07/31 15:51:53 UTC

maven git commit: [MNG-6075] Increase the model validation level to the next minor level version.

Repository: maven
Updated Branches:
  refs/heads/master 3628e9665 -> 3681fd848


[MNG-6075] Increase the model validation level to the next minor level version.


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/3681fd84
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/3681fd84
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/3681fd84

Branch: refs/heads/master
Commit: 3681fd8489cd59d0c5bc49ef38725b655d524301
Parents: 3628e96
Author: Christian Schulte <sc...@apache.org>
Authored: Sun Jul 31 17:51:19 2016 +0200
Committer: Christian Schulte <sc...@apache.org>
Committed: Sun Jul 31 17:51:19 2016 +0200

----------------------------------------------------------------------
 .../org/apache/maven/model/building/ModelBuildingRequest.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/3681fd84/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
----------------------------------------------------------------------
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 8b51d45..ac0f8b8 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
@@ -55,14 +55,15 @@ public interface ModelBuildingRequest
     int VALIDATION_LEVEL_MAVEN_3_0 = 30;
 
     /**
-     * Denotes validation as performed by Maven 3.1. This validation level is meant for new projects.
+     * Denotes validation as performed by Maven 3.1. This validation level is meant for new projects. As of Maven 3.4,
+     * this is the default validation level.
      */
     int VALIDATION_LEVEL_MAVEN_3_1 = 31;
 
     /**
      * 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.