[ https://jira.codehaus.org/browse/MASSEMBLY-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies closed MASSEMBLY-203. -------------------------------------- Resolution: Won't Fix Fix Version/s: (was: 2.3) Assignee: Benson Margulies This goal is deprecated. > assembly:attached creates empty assemblies in reactor builds, but works fine > in normal builds > --------------------------------------------------------------------------------------------- > > Key: MASSEMBLY-203 > URL: https://jira.codehaus.org/browse/MASSEMBLY-203 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2-beta-1 > Environment: java version "1.5.0_09" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01) > Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_09-b01, mixed mode) > Reporter: Graham Leggett > Assignee: Benson Margulies > > When attaching an assemply to the package phase as below, and running mvn > install, the assembly is built without a problem. > If however the assembly is a sub-artifact built as part of a reactor / > multimodule build, mvn install in the root pom produces an empty assembly. > The kludge workaround is to cd to the assembly artifact directory and run mvn > install from there. > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > <version>2.2-beta-1</version> > <configuration> > <descriptors> > <descriptor>assembly.xml</descriptor> > </descriptors> > </configuration> > <executions> > <execution> > <id>make-assembly</id> > <phase>package</phase> > <goals> > <goal>attached</goal> > </goals> > </execution> > </executions> > </plugin> -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira