You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2007/03/28 19:06:12 UTC

[jira] Updated: (MASSEMBLY-117) Unable to assemble multi-module projects with more than 1 level depth folder structure

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

John Casey updated MASSEMBLY-117:
---------------------------------

    Fix Version/s:     (was: 2.2)
                   2.2-beta-1

> Unable to assemble multi-module projects with more than 1 level depth folder structure
> --------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-117
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-117
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Damien Lecan
>         Assigned To: John Casey
>            Priority: Critical
>             Fix For: 2.2-beta-1
>
>         Attachments: AbstractAssemblyMojo-407515.java.patch
>
>
> I'm using maven-assembly-plugin with multi-modules projects, and it works fine for "flat" hierachy.
> I mean for multi-modules projects as :
> Parent
>   +- Submodule1
>   +- Submodule2
> But for this kind of layout :
> Parent:pom
>   +- Submodule1:jar
>   +- SubParent:pom
>          +- Subsubmodule1:jar
>          +- Subsubmodule2:jar
> I am not able to build an assembly with all referenced modules in reactor (Submodule1, Subsubmodule1 and Subsubmodule2).
> AbstractAssemblyMojo#getModulesFromReactor(...) is responsible for filtering project in the reactor, but :
>  - it doesn't not recurse into reactor's projects (explicite call to getModulesFromReactor( parent, false ) : false = doesn't recurse)
>  - AbstractAssemblyMojo#isProjectModule(....) has a bug : it doesn't not return anything when recurse is true !! (line 716 is rev. 407515)

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