You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@codehaus.org> on 2010/02/18 11:17:55 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=210607#action_210607 ] 

Anders Hammar commented on MNG-4564:
------------------------------------

Trying to do an actual deploy I see that the file has to be in %USER_HOME%/.m2/settings-security.xml. It seems as this is a bug in the encrypt-password functionality.


> 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
>
> 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