Stephen Connolly created MNG-5224:
-------------------------------------

             Summary: REGRESSION: Injected Settings in a Mojo are missing the 
profiles from settings.xml
                 Key: MNG-5224
                 URL: https://jira.codehaus.org/browse/MNG-5224
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Settings
    Affects Versions: 3.0.3
            Reporter: Stephen Connolly


If you have a Mojo with 

{code}
/**
 * @parameter expression="${settings}"
 * @required
 * @readonly
 */
private Settings settings;
{code}

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to