maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Brechb├╝hl <rotscher...@gmail.com>
Subject Re: using a plugin twice?
Date Wed, 04 Sep 2013 12:06:30 GMT
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 <rsand@idfconnect.com>

> Ah, too easy! I was hoping for a more difficult solution :-)
>
>
> -----Original Message-----
> From: Stephen Connolly [mailto:stephen.alan.connolly@gmail.com]
> 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: users-unsubscribe@maven.apache.org
> > <javascript:;> For additional commands, e-mail:
> > users-help@maven.apache.org<javascript:;>
> >
> >
>
> --
> Sent from my phone
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message