[ http://jira.codehaus.org/browse/MNG-4357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4357. ---------------------------------- Assignee: Benjamin Bentmann Resolution: Fixed Fix Version/s: 3.0-alpha-3 Fixed by updating to plexus-container-default:1.2.1+ which contains the required fix. > [regression] Custom packagings from build extensions are not reliably loaded > during a reactor build > --------------------------------------------------------------------------------------------------- > > Key: MNG-4357 > URL: http://jira.codehaus.org/browse/MNG-4357 > Project: Maven 2 > Issue Type: Bug > Components: Plugins and Lifecycle, Reactor and workspace > Affects Versions: 3.0-alpha-3 > Reporter: Benjamin Bentmann > Assignee: Benjamin Bentmann > Fix For: 3.0-alpha-3 > > > Building XWiki platform with trunk in one go produces > {noformat} > [ERROR] Unknown packaging: maven-archetype @ > org.xwiki.platform.tools:xwiki-archetype-macro:1.1-SNAPSHOT > {noformat} > The mentioned project properly declares the required build extensions in its > POM and builds fine in isolation. > The issue boils down to the active component map > {{DefaultLifecycleExecutor.lifecycleMappings}} not being properly updated > when switching the projects in the reactor. In detail, > {{AbstractComponentCollection.checkUpdate()}} from Plexus doesn't update the > map if the number of component descriptors hasn't changed. This apparently > misses the situation where the total count of component descriptors from two > different class realms is the same but the set of role hints has changed, > e.g. {{[one, two]}} vs. {{[one, three]}}. -- 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