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.
Activity
Benjamin Bentmann
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 3.0-alpha-7 [ 16087 ] | |
| Resolution | Fixed [ 1 ] | |
| Assignee | Benjamin Bentmann [ bentmann ] |
Peter Lynch
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
Benjamin Bentmann
made changes -
| Status | Reopened [ 4 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
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.