You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Basil James Whitehouse III (JIRA)" <ji...@codehaus.org> on 2008/10/10 22:15:51 UTC

[jira] Commented: (MRELEASE-313) add an option to set the profile(s) used to perform the release

    [ http://jira.codehaus.org/browse/MRELEASE-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150511#action_150511 ] 

Basil James Whitehouse III commented on MRELEASE-313:
-----------------------------------------------------

Can this profile also be activated when running release:prepare?

I have a multi-module project that builds a distribution archive that is only activated by a profile since developers don't normally need it and it's quite large (80 MB) and don't want to occupy space in the local Maven repo.  In order for this distribute module to have it's version number changed by the release plugin it needs to be part of the release:prepare .

For now I use the performRelease property to activate it, but I'd rather not use that since it could also activate other things I don't normally need.  E.g. mvn --batch-mode release:prepare release:perform -DperformRelease

> add an option to set the profile(s) used to perform the release
> ---------------------------------------------------------------
>
>                 Key: MRELEASE-313
>                 URL: http://jira.codehaus.org/browse/MRELEASE-313
>             Project: Maven 2.x Release Plugin
>          Issue Type: Wish
>    Affects Versions: 2.0-beta-7
>            Reporter: nicolas de loof
>            Assignee: nicolas de loof
>            Priority: Minor
>             Fix For: 2.0-beta-8
>
>
> release:perform runs maven to build the released artifact with the current active profiles (AFAIK)
> It would be nice to have a configuration parameter to set release profiles, so that it does not depend on user environment.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira