You probably want to implement your own packaging type and have that
packaging type apply the bindings you are after

On Thu, Mar 6, 2008 at 4:14 PM, Martin Gainty <[EMAIL PROTECTED]> wrote:

> Hi Stephen
>
> I had a similar situation present itself where I was building a mar
> (essentially same as jar with a module.xml configurator)
> so where the pom was specifying using <packaging>mar</packaging> i simply
> changed the pom to use jar packaging e.g. <packaging>jar</packaging>
> and this disables jar goals?
>
> This appears to be non-intuitive ..
>
> is there a readme which says to execute a goal specify the opposite on the
> packaging element?
> Any way to override packaging on command line?
> Is there any documentation on this?
>
> Thanks/
> M-
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: "Maven Users List" <[email protected]>
> Sent: Thursday, March 06, 2008 11:05 AM
> Subject: Re: override a goal within a phase
>
>
> > "jar" is the default value, so simply deleting the element is
> > insufficient. You must actually change the value to something else, like
> > "pom".
> >
> >
> > Robert Egan
> >
> > Paolo Casarini <[EMAIL PROTECTED]> wrote on 03/06/2008 10:54:15 AM:
> >
> > >
> > > I don't know... erasing <packaging>jar</packaging> don't change any
> > > behaviour. The jar:jar goal is still invoked.
> > >
> > > Paolo.
> > >
> > >
> > > Il giorno 06/mar/08, alle ore 16:42, Ian Hummel ha scritto:
> > >
> > > > Does that mean you will have to manually bind all the other goals to
> > > > their respective phases?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Mar 6, 2008, at 7:37 AM, Stephen Connolly wrote:
> > > >
> > > >> don't use <packaging>jar</packaging> and that will disable the
> > > >> jar:jar
> > > >>
> > > >> On Thu, Mar 6, 2008 at 12:10 PM, Paolo Casarini
> > > >> <[EMAIL PROTECTED]> wrote:
> > > >>
> > > >>> Hi,
> > > >>>
> > > >>> does anybody can tell me how can I replace the standard jar:jar,
> in
> > > >>> the package phase, with my xxxx:jar goal implemented by my
> xxxxMojo?
> > > >>> or is there a way to disable the execution of the standard jar:jar
> > > >>> goal?
> > ---
> > This email message and any attachments may contain confidential,
> > proprietary or non-public information.  The information is intended
> solely
> > for the designated recipient(s).  If an addressing or transmission error
> > has misdirected this email, please notify the sender immediately and
> > destroy this email.  Any review, dissemination, use or reliance upon
> this
> > information by unintended recipients is prohibited.  Any opinions
> > expressed in this email are those of the author personally.
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to