Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0-alpha-6
-
Fix Version/s: 3.0-alpha-7
-
Component/s: None
-
Labels:None
-
Environment:Windows XP
SUN JDK 1.6.0_16
-
Complexity:Intermediate
-
Number of attachments :
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.
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.