[ 
http://jira.codehaus.org/browse/MNG-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MNG-4684.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-beta-2
         Assignee: Benjamin Bentmann

Fixed in [r946980|http://svn.apache.org/viewvc?view=revision&revision=946980].

> distributionManagment section in profiles do not override default one (maven 
> 3 regression)
> ------------------------------------------------------------------------------------------
>
>                 Key: MNG-4684
>                 URL: http://jira.codehaus.org/browse/MNG-4684
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 3.0-beta-1
>            Reporter: Matthieu Leclercq
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-beta-2
>
>         Attachments: pom.xml
>
>
> If a profile contains a distributionManagement section, it does not override 
> the default distributionManagment section when the profile is activated.
> See attachment, if the "test-deploy" profile is activated, the deployment 
> info are not overridden. (this can be seen by using : mvn -Ptest-deploy 
> help:effective-pom)
> This work well with maven 2.2.1
> I also notice that if the POM does not contain a distributionManagement 
> section at top-level, then when the profile is activated the 
> distributiuonManagment section of the profile is correctly used. 

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

        

Reply via email to