Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.1
-
None
-
None
Description
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)
Attachments
Attachments
Issue Links
- duplicates
-
MASSEMBLY-109 Assembly task does not include deeper nested modules
- Closed