And in case of the assembly-plugin you could configure multiple descriptors to generate different artifacts with one pom.xml.....
2013/9/4 Richard Sand <[email protected]> > Ah, too easy! I was hoping for a more difficult solution :-) > > > -----Original Message----- > From: Stephen Connolly [mailto:[email protected]] > Sent: Tuesday, September 03, 2013 6:09 PM > To: Maven Users List > Subject: Re: using a plugin twice? > > Just add the second execution with a different id > > On Tuesday, 3 September 2013, Richard Sand wrote: > > > I've a feeling I know the answer at this point, but: > > > > Is it possible to use the same plugin twice in the same maven session? > E.g. > > if I want to use maven-assembly-plugin to create two different > assemblies? > > Or if I wanted the maven-shade-plugin to create a zip and a tarball > > but with slightly different contents? Or is this another case of "just > > use two poms"? > > > > Best regards, > > > > Richard > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > <javascript:;> For additional commands, e-mail: > > [email protected]<javascript:;> > > > > > > -- > Sent from my phone > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
