You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/02/06 23:49:19 UTC

[jira] Created: (MNG-4023) Profiles from parent POM are injected multiple times if parent is part of reactor build

Profiles from parent POM are injected multiple times if parent is part of reactor build
---------------------------------------------------------------------------------------

                 Key: MNG-4023
                 URL: http://jira.codehaus.org/browse/MNG-4023
             Project: Maven 2
          Issue Type: Bug
          Components: Profiles
    Affects Versions: 2.1.0-M1, 2.0.9
            Reporter: Benjamin Bentmann


The test project provided for MNG-4022 depends on a bug in the project builder to trigger to actual {{Xpp3Dom}} merging issue. When the parent POM is part of the reactor, it will be added to the project cache and its model already includes active profiles. When the child is build next it retrieves the previously created parent model from the cache to assemble the lineage and injects the active profiles again. This causes discrepancies in the effective model if profile injection has additive effects on the model.

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

        

[jira] Closed: (MNG-4023) Profiles from parent POM are injected multiple times if parent is part of reactor build

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-4023.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 2.1.0-M2
                   2.0.11

Fixed in [r741777|http://svn.eu.apache.org/viewvc?view=rev&revision=741777] and [r741779|http://svn.eu.apache.org/viewvc?view=rev&revision=741779].

> Profiles from parent POM are injected multiple times if parent is part of reactor build
> ---------------------------------------------------------------------------------------
>
>                 Key: MNG-4023
>                 URL: http://jira.codehaus.org/browse/MNG-4023
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.0.9, 2.1.0-M1
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>             Fix For: 2.0.11, 2.1.0-M2
>
>
> The test project provided for MNG-4022 depends on a bug in the project builder to trigger to actual {{Xpp3Dom}} merging issue. When the parent POM is part of the reactor, it will be added to the project cache and its model already includes active profiles. When the child is build next it retrieves the previously created parent model from the cache to assemble the lineage and injects the active profiles again. This causes discrepancies in the effective model if profile injection has additive effects on the model.

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