Details
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
Issue Links
- is duplicated by
-
MRELEASE-724
Release plugin doesn't honor profiles defined in user settings
-
-
MNG-5036
Settings.getProfiles() returning an empty list
-
- relates to
-
MRELEASE-577
release:prepare does not pass argument "--settings" with current settings.xml to inner maven
-
-
MRELEASE-724
Release plugin doesn't honor profiles defined in user settings
-
-
MRELEASE-756
release:prepare ignores properties from settings.xml
-
r1226842 contains the fix... needs test case before I am willing to mark this as closed