You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "dino b (Jira)" <ji...@apache.org> on 2022/02/09 17:35:00 UTC

[jira] [Created] (MNG-7410) snapshotPolicy tag throws a warning

dino b created MNG-7410:
---------------------------

             Summary: snapshotPolicy tag throws a warning
                 Key: MNG-7410
                 URL: https://issues.apache.org/jira/browse/MNG-7410
             Project: Maven
          Issue Type: Bug
            Reporter: dino b


The tag
{code:java}
<snapshotPolicy>{code}
 throws a warning, yet there is no documentation or instruction on what is this policy used for and how it should be setup correctly.  This tags is part of .m2/server.xml file created by maven.
{code:java}
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] Unrecognised tag: 'snapshotPolicy' (position: START_TAG seen ...</layout>\n    \t\t\t<snapshotPolicy>... @319:24)  @ C:\Users\KI0V\.m2\settings.xml, line 319, column 24
[WARNING]{code}
maven version

 
{code:java}
mvn -version
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T08:06:16-07:00)
Maven home: C:\Maven\apache-maven-3.6.2\bin\..
Java version: 11, vendor: Oracle Corporation, runtime: C:\Program Files\Java\openjdk_11
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
{code}
 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)