You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2021/09/24 19:26:13 UTC

[maven] 04/04: Default value of checksumPolicy depends on the Maven version

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

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git

commit b7182873e9ffd091cccc3e2c679e90292c648c0b
Author: Sungpeo Kook <ju...@gmail.com>
AuthorDate: Wed Sep 22 21:24:40 2021 +0900

    Default value of checksumPolicy depends on the Maven version
    
    This closes #529
---
 maven-compat/src/main/mdo/profiles.mdo   | 4 ++--
 maven-settings/src/main/mdo/settings.mdo | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/maven-compat/src/main/mdo/profiles.mdo b/maven-compat/src/main/mdo/profiles.mdo
index 8ee32ec..5132490 100644
--- a/maven-compat/src/main/mdo/profiles.mdo
+++ b/maven-compat/src/main/mdo/profiles.mdo
@@ -308,8 +308,8 @@ under the License.
           <name>checksumPolicy</name>
           <version>1.0.0</version>
           <description>
-            What to do when verification of an artifact checksum fails. Valid values are "fail" (default), "warn" or
-            "ignore"
+            What to do when verification of an artifact checksum fails. Valid values are "fail" (default for Maven 4 and
+            above), "warn" (default for Maven 2 and 3) or "ignore".
           </description>
           <type>String</type>
         </field>
diff --git a/maven-settings/src/main/mdo/settings.mdo b/maven-settings/src/main/mdo/settings.mdo
index 6420769..4500560 100644
--- a/maven-settings/src/main/mdo/settings.mdo
+++ b/maven-settings/src/main/mdo/settings.mdo
@@ -968,8 +968,8 @@
           <name>checksumPolicy</name>
           <version>1.0.0+</version>
           <description>
-            What to do when verification of an artifact checksum fails. Valid values are "fail" (default), "warn" or
-            "ignore".
+            What to do when verification of an artifact checksum fails. Valid values are "fail" (default for Maven 4 and
+            above), "warn" (default for Maven 2 and 3) or "ignore".
           </description>
           <type>String</type>
         </field>