[ http://jira.codehaus.org/browse/MASSEMBLY-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-185. -------------------------------- Resolution: Fixed Fix Version/s: (was: 2.2) 2.2-beta-6 Assignee: John Casey definitely fixed in this release, if not before this. If nothing else, you can use the <useAllReactorProjects/> flag inside a <moduleSet> from a child module to gain access to all projects in the current reactor, then filter them by project coordinate. > When using different parent and aggregator poms, the assembly plugin does not > package the ModuleSets of the aggregator modules > ------------------------------------------------------------------------------------------------------------------------------ > > Key: MASSEMBLY-185 > URL: http://jira.codehaus.org/browse/MASSEMBLY-185 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.1 > Reporter: Peter De Velder > Assignee: John Casey > Fix For: 2.2-beta-6 > > > As mentioned on http://maven.apache.org/pom.html#Aggregation (see: A final > note on Inheritance v. Aggregation), the aggregator project and parent > project are conceptually not the same and can be split physically into 2 > different projects. In the example below, the aggregProj just groups > ChildProj1 and ChildProj2 in it's <modules> definition, while the ChildProj > poms do NOT reference aggregProj, but they both refer to parentProj in their > <parent> > aggregProj > +-- ChildProj1 --> parentProj > +-- ChildProj2 --> parentProj > mvn clean package assembly:assembly > in this case the ChildProj artifacts are not packaged, although they are > referenced in the <ModulesSets> of the aggregProj > In other words if the <artifactId> of aggregProj differs from the > <artifactId> in the ChildProjX <parent> definitions, the packaging is > incorrect. -- 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