[ 
https://jira.codehaus.org/browse/MRELEASE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MRELEASE-415.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4
         Assignee: Robert Scholte

Fixed as part of MRELEASE-571. Be aware that this will only work for Maven3. 
                
> Plugin fails to activate profiles in submodules.
> ------------------------------------------------
>
>                 Key: MRELEASE-415
>                 URL: https://jira.codehaus.org/browse/MRELEASE-415
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: perform
>    Affects Versions: 2.0-beta-8
>         Environment: Fedora8, Sun Java 1.6.0_07, Maven 2.0.9
>            Reporter: David C. Hicks
>            Assignee: Robert Scholte
>             Fix For: 2.4
>
>         Attachments: AbstractReleaseMojo.patch
>
>
> (I hope this is not a duplicate.  I searched JIRA but didn't find anything 
> that looked like one.)
> In a multi-module project, profiles that are activated only for sub-modules 
> (not the parent project) are omitted from execution during release:perform.  
> In my specific case, I have a large, multi-module project in which one of the 
> sub-modules is there to create an assembly during release.  Since I only want 
> it to run during release, I've placed that into a profile in the sub-module's 
> pom.xml.  When I run release:perform, I activate the profile.  However, the 
> profile is never executed.
> Workaround: By adding a dummy profile to the parent pom.xml, I was able to 
> get release:perform to operate as desired.
> I'm afraid I don't have an example to upload, at this time.  If I can find 
> the time, I'll try to create one and come back to upload it.

--
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