Re: Understanding Assembly Plugin

2009-09-22 Thread Luca Li Greci
: Luca Li Greci [mailto:luca.ligr...@gmail.com] > Sent: Mon 9/21/2009 4:00 PM > To: Maven Users List > Subject: Re: Understanding Assembly Plugin > > Hi Neil, > > I usually add a project for the distribution so that I can decouple the > "build logic" from the mo

RE: Understanding Assembly Plugin

2009-09-21 Thread Neil Chaudhuri
ng on this? Thanks. Neil -Original Message- From: Luca Li Greci [mailto:luca.ligr...@gmail.com] Sent: Mon 9/21/2009 4:00 PM To: Maven Users List Subject: Re: Understanding Assembly Plugin Hi Neil, I usually add a project for the distribution so that I can decouple the "build l

Re: Understanding Assembly Plugin

2009-09-21 Thread Luca Li Greci
Hi Neil, I usually add a project for the distribution so that I can decouple the "build logic" from the modules. In the parent I define the assembly plugin and in this distribution module I write the assembly under src/resources/assembly. Using this approach will avoid weird situation where one

Understanding Assembly Plugin

2009-09-21 Thread Neil Chaudhuri
I have 4 poms: 1) parent, which has common dependencies and configuration shared by children 2) persistence, which packages a jar and is a child of parent 3) services, which packages a war, is a child of parent, and has persistence as a dependency 4) logging, which packages a jar that is a depend