Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4564

Location (and name) for settings-security.xml has changed in Maven 3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-alpha-6
    • 3.0-alpha-7
    • None
    • None
    • Windows XP
      SUN JDK 1.6.0_16

    Description

      Trying to encrypt server password (mvn --encrypt-password blabla) with Maven 3.0-alpha6 and having %USER_HOME%/.m2/settings-security.xml, I get a FileNotFoundException saying that %USER_HOME%/.settings-security.xml can't be found.

      Why has the name and location of this file change in Maven 3? It's not backwards compatible with Maven 2 as promised.

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            afloom Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: