Except for the antrun part ;-) -----Original Message----- From: Paul Merlin [mailto:[EMAIL PROTECTED] Sent: Friday, November 16, 2007 5:51 PM To: [email protected] Subject: Re: Reuse of attached assemblies
Le Friday 16 November 2007 17:49:01 Wendy Smoak, vous avez écrit : > On Nov 16, 2007 11:28 AM, Paul MERLIN <[EMAIL PROTECTED]> wrote: > > I have a project that produce a zip file. I did a project with pom > > packaging, an assembly is building the zip file. This produced zip file > > is attached to the pom artifact so it is installed/deployed with it. > > > > Now I need to reuse this zip file from another maven project. > > > > How can I declare a dependency to the previous project and be able to use > > the attached zip file in another assembly in the new project ? > > It should work with a normal dependency plus the type and classifier > elements. That did it, thanks. Now in the second project I need to unpack, process and reassemble the zip content in the second project. I plan to unpack it with the maven-dependency-plugin at the generate-resources phase, to process with the maven-antrun-plugin at the process-resources phase. Does that sounds the maven way to do this type of things ? Paul -- Paul Merlin - [EMAIL PROTECTED] Chef de projet - Ingénieur R&D Netheos - http://www.netheos.net --------------------------------------------------------------------- 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]
