Re: using a plugin twice?

2013-09-04 Thread Roger Brechbühl
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 

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


RE: using a plugin twice?

2013-09-03 Thread Richard Sand
Ah, too easy! I was hoping for a more difficult solution :-)


-Original Message-
From: Stephen Connolly [mailto:stephen.alan.conno...@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-unsubscr...@maven.apache.org 
>  For additional commands, e-mail: 
> users-h...@maven.apache.org
>
>

--
Sent from my phone



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: using a plugin twice?

2013-09-03 Thread Stephen Connolly
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-unsubscr...@maven.apache.org 
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-- 
Sent from my phone