You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/06/30 10:13:32 UTC

[jira] Closed: (MNG-4564) Location (and name) for settings-security.xml has changed in Maven 3

     [ http://jira.codehaus.org/browse/MNG-4564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-4564.
----------------------------------

    Resolution: Fixed

bq. [ERROR] Failed to execute goal org.sonatype.plugins:nexus-maven-plugin:1.3.2.2-SNAPSHOT:staging-list (default-cli) [...] org.sonatype.plexus.components.sec.dispatcher.shaded.SecDispatcherException: java.io.FileNotFoundException: /Users/plynch/.settings-security.xml (No such file or directory) -> [Help 1]
This is a bug in the nexus-maven-plugin which uses a custom component with a wrong configuration.

> Location (and name) for settings-security.xml has changed in Maven 3
> --------------------------------------------------------------------
>
>                 Key: MNG-4564
>                 URL: http://jira.codehaus.org/browse/MNG-4564
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0-alpha-6
>         Environment: Windows XP
> SUN JDK 1.6.0_16
>            Reporter: Anders Hammar
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-alpha-7
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira