[ http://jira.codehaus.org/browse/MASSEMBLY-117?page=all ]

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

    Fix Version: 2.2

> 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
>         Type: Bug

>     Versions: 2.1
>     Reporter: Damien Lecan
>     Priority: Critical
>      Fix For: 2.2
>  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

Reply via email to