Description
If you have a Mojo with
/** * @parameter expression="${settings}" * @required * @readonly */ private Settings settings;
In Maven 2.2.1, the Settings included all the profiles, in Maven 3.0.3 the profiles are all missing.
This issue becomes critical, as most users using Maven Release Plugin will be storing their gpg.passphrase as a property in a profile in their settings.xml, and as of Maven Release Plugin 2.2.2 we serialize the injected Settings to a file with the result that most users will be unable to use Maven 3.0.3 with Maven Release Plugin 2.2.2
Attachments
Issue Links
- is duplicated by
-
MRELEASE-724 Release plugin doesn't honor profiles defined in user settings
- Closed
-
MNG-5036 Settings.getProfiles() returning an empty list
- Closed
- relates to
-
MRELEASE-577 release:prepare does not pass argument "--settings" with current settings.xml to inner maven
- Closed
-
MRELEASE-724 Release plugin doesn't honor profiles defined in user settings
- Closed
-
MRELEASE-756 release:prepare ignores properties from settings.xml
- Closed