you need to use maven-assembly-plugin-2.1-SNAPSHOT and bind assembly:attach to package phase
-D On 5/2/06, Tom Huybrechts <[EMAIL PROTECTED]> wrote:
You could bind the assembly:assembly goal to a well known phase in the client pom (e.g. package). If you then run 'mvn package/install/deploy' on the parent, the assembly will generated in the client, but not in any of the other modules. Tom On 5/2/06, fred flinta <[EMAIL PROTECTED]> wrote: > > Hi all! > > I'm trying to run the assembly for one of my modules, but it seems that > Maven forces me to define an assembly descriptor for each module. > > My system looks like: > > /pom.xml > /core/pom.xml > /core/src/.. > /client/pom.xml > /client/src/.. > /client/src/main/assembly > > Running "mvn assemly:assembly" in the "client" module works fine! > > When running the "mvn assemly:assembly" at the top level Maven states: > > [INFO] [assembly:assembly] > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] No assembly descriptors found. > [INFO] > ------------------------------------------------------------------------ > > What have I missed? .. How do I create create distribusitions for some of > may modules with many modules? > > > / Fred > > _________________________________________________________________ > Chat: Ha en fest på Habbo Hotel > http://habbohotel.msn.se/habbo/sv/channelizer Checka in här! > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]