Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0-beta-8
-
Fix Version/s: None
-
Component/s: prepare
-
Labels:None
-
Number of attachments :
Description
Right now the mojo calls project.getActiveProfiles() and adds them automatically to the "arguments". So they come in addition to profiles passed with "-Darguments=-Pprofile1,profile2,etc".
We would like to only execute the passed profiles. I propose to add a "releaseProfiles" configuration element (as for release:perform, except that releaseProfiles values don't seem to be taken into account for perform for some reason but that's another problem).
Issue Links
- is related to
-
MRELEASE-313
add an option to set the profile(s) used to perform the release
-
I consider to close this as "won't fix", because the active profile resolution has changed with
MRELEASE-571for Maven3: the plugin will only pass the (de)activated profiles from the commandline.