maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Hinterseher (JIRA)" <>
Subject [jira] Created: (MRELEASE-667) Profiles activated in settings.xml can't be deactivated for release
Date Fri, 11 Mar 2011 11:37:22 GMT
Profiles activated in settings.xml can't be deactivated for release

                 Key: MRELEASE-667
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: perform, prepare
    Affects Versions: 2.1
         Environment: Maven 2.2.1
            Reporter: Michael Hinterseher

We are having a development profile in settings.xml to sign the jars.
For releases the release profile shall be used to sign with an official key.
I can't convince the release plugin to deactivate the development profile active as default
in settings.xml
I tried various combinations but nothing works:
- specify profiles configuration: <arguments>-Prelease,!development</arguments>
- specify profiles configuration: <releaseProfiles>release,!development</releaseProfiles>

- adding -Darguments="-Prelease,!development" -Prelease,!development release:prepare
- adding -Darguments="-Prelease,!development" -Prelease,!development release:perform
- combinations of the above
Running deploy with "-Prelease,!development" uses the correct profile and signs with the correct
It looks like the disabled properties are not propagated to the actual build but just removed
and then inherited from settings.xml again.
This affects both the release:prepare and the release:perform

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message