You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Marcin Maciukiewicz <ci...@gmail.com> on 2006/06/26 16:08:50 UTC

How to overwrite clean behaviour.

Hi!

My plugin is using my own packaging. I need to overwrite (not only
customize) clean behaviour.  How to do this and still let users to
call only:
$> mvn clean

Regards.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: How to overwrite clean behaviour.

Posted by dan tran <da...@gmail.com>.
Marcin, if you figure out how to override it , please post

thanks

-Dan



On 6/29/06, Marcin Maciukiewicz <ci...@gmail.com> wrote:
>
> Thanks for this link. This is what I was missing:)
>
> Regards,
> Marcin.
>
> Eric Redmond wrote:
> > Similar to how maven-core declares them, you can overwrite them:
> >
> http://svn.apache.org/repos/asf/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml
> >
> >
> > Eric
> >
> > On 6/28/06, dan tran <da...@gmail.com> wrote:
> >>
> >> how?
> >>
> >> -D
> >>
> >>
> >> On 6/28/06, Eric Redmond <er...@gmail.com> wrote:
> >> >
> >> > Can't you override the clean lifecycle as a plexus component, adding
> >> your
> >> > plugin to it?
> >> >
> >> > Eric
> >> >
> >> > On 6/28/06, dan tran <da...@gmail.com> wrote:
> >> > >
> >> > > any suggestion?
> >> > >
> >> > > -D
> >> > >
> >> > >
> >> > > On 6/26/06, dan tran <da...@gmail.com> wrote:
> >> > > >
> >> > > >  I am also interested on how to do this as well?   any
> suggestion?
> >> > > >
> >> > > > -Dan
> >> > > >
> >> > > >
> >> > > >  On 6/26/06, Marcin Maciukiewicz <ci...@gmail.com> wrote:
> >> > > > >
> >> > > > > Hi!
> >> > > > >
> >> > > > > My plugin is using my own packaging. I need to overwrite (not
> >> only
> >> > > > > customize) clean behaviour.  How to do this and still let
> >> users to
> >> > > > > call only:
> >> > > > > $> mvn clean
> >> > > > >
> >> > > > > Regards.
> >> > > > >
> >> > > > >
> >> > ---------------------------------------------------------------------
> >> > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >> > > > > For additional commands, e-mail: dev-help@maven.apache.org
> >> > > > >
> >> > > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: How to overwrite clean behaviour.

Posted by Marcin Maciukiewicz <ci...@gmail.com>.
Thanks for this link. This is what I was missing:)

Regards,
Marcin.

Eric Redmond wrote:
> Similar to how maven-core declares them, you can overwrite them:
> http://svn.apache.org/repos/asf/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml 
>
>
> Eric
>
> On 6/28/06, dan tran <da...@gmail.com> wrote:
>>
>> how?
>>
>> -D
>>
>>
>> On 6/28/06, Eric Redmond <er...@gmail.com> wrote:
>> >
>> > Can't you override the clean lifecycle as a plexus component, adding
>> your
>> > plugin to it?
>> >
>> > Eric
>> >
>> > On 6/28/06, dan tran <da...@gmail.com> wrote:
>> > >
>> > > any suggestion?
>> > >
>> > > -D
>> > >
>> > >
>> > > On 6/26/06, dan tran <da...@gmail.com> wrote:
>> > > >
>> > > >  I am also interested on how to do this as well?   any suggestion?
>> > > >
>> > > > -Dan
>> > > >
>> > > >
>> > > >  On 6/26/06, Marcin Maciukiewicz <ci...@gmail.com> wrote:
>> > > > >
>> > > > > Hi!
>> > > > >
>> > > > > My plugin is using my own packaging. I need to overwrite (not 
>> only
>> > > > > customize) clean behaviour.  How to do this and still let 
>> users to
>> > > > > call only:
>> > > > > $> mvn clean
>> > > > >
>> > > > > Regards.
>> > > > >
>> > > > >
>> > ---------------------------------------------------------------------
>> > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> > > > > For additional commands, e-mail: dev-help@maven.apache.org
>> > > > >
>> > > > >
>> > > >
>> > >
>> > >
>> >
>> >
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: How to overwrite clean behaviour.

Posted by dan tran <da...@gmail.com>.
Yes I have seen it many times, but still dont know how to override it .

Could you be more specific?  ( sorry i am not well versed wht plexus either)

a snippet is good

-D


On 6/28/06, Eric Redmond <er...@gmail.com> wrote:
>
> Similar to how maven-core declares them, you can overwrite them:
>
> http://svn.apache.org/repos/asf/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml
>
> Eric
>
> On 6/28/06, dan tran <da...@gmail.com> wrote:
> >
> > how?
> >
> > -D
> >
> >
> > On 6/28/06, Eric Redmond <er...@gmail.com> wrote:
> > >
> > > Can't you override the clean lifecycle as a plexus component, adding
> > your
> > > plugin to it?
> > >
> > > Eric
> > >
> > > On 6/28/06, dan tran <da...@gmail.com> wrote:
> > > >
> > > > any suggestion?
> > > >
> > > > -D
> > > >
> > > >
> > > > On 6/26/06, dan tran <da...@gmail.com> wrote:
> > > > >
> > > > >  I am also interested on how to do this as well?   any suggestion?
> > > > >
> > > > > -Dan
> > > > >
> > > > >
> > > > >  On 6/26/06, Marcin Maciukiewicz <ci...@gmail.com> wrote:
> > > > > >
> > > > > > Hi!
> > > > > >
> > > > > > My plugin is using my own packaging. I need to overwrite (not
> only
> > > > > > customize) clean behaviour.  How to do this and still let users
> to
> > > > > > call only:
> > > > > > $> mvn clean
> > > > > >
> > > > > > Regards.
> > > > > >
> > > > > >
> > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

Re: How to overwrite clean behaviour.

Posted by Eric Redmond <er...@gmail.com>.
Similar to how maven-core declares them, you can overwrite them:
http://svn.apache.org/repos/asf/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml

Eric

On 6/28/06, dan tran <da...@gmail.com> wrote:
>
> how?
>
> -D
>
>
> On 6/28/06, Eric Redmond <er...@gmail.com> wrote:
> >
> > Can't you override the clean lifecycle as a plexus component, adding
> your
> > plugin to it?
> >
> > Eric
> >
> > On 6/28/06, dan tran <da...@gmail.com> wrote:
> > >
> > > any suggestion?
> > >
> > > -D
> > >
> > >
> > > On 6/26/06, dan tran <da...@gmail.com> wrote:
> > > >
> > > >  I am also interested on how to do this as well?   any suggestion?
> > > >
> > > > -Dan
> > > >
> > > >
> > > >  On 6/26/06, Marcin Maciukiewicz <ci...@gmail.com> wrote:
> > > > >
> > > > > Hi!
> > > > >
> > > > > My plugin is using my own packaging. I need to overwrite (not only
> > > > > customize) clean behaviour.  How to do this and still let users to
> > > > > call only:
> > > > > $> mvn clean
> > > > >
> > > > > Regards.
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > >
> > >
> >
> >
>
>

Re: How to overwrite clean behaviour.

Posted by dan tran <da...@gmail.com>.
how?

-D


On 6/28/06, Eric Redmond <er...@gmail.com> wrote:
>
> Can't you override the clean lifecycle as a plexus component, adding your
> plugin to it?
>
> Eric
>
> On 6/28/06, dan tran <da...@gmail.com> wrote:
> >
> > any suggestion?
> >
> > -D
> >
> >
> > On 6/26/06, dan tran <da...@gmail.com> wrote:
> > >
> > >  I am also interested on how to do this as well?   any suggestion?
> > >
> > > -Dan
> > >
> > >
> > >  On 6/26/06, Marcin Maciukiewicz <ci...@gmail.com> wrote:
> > > >
> > > > Hi!
> > > >
> > > > My plugin is using my own packaging. I need to overwrite (not only
> > > > customize) clean behaviour.  How to do this and still let users to
> > > > call only:
> > > > $> mvn clean
> > > >
> > > > Regards.
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > >
> > > >
> > >
> >
> >
>
>

Re: How to overwrite clean behaviour.

Posted by Eric Redmond <er...@gmail.com>.
Can't you override the clean lifecycle as a plexus component, adding your
plugin to it?

Eric

On 6/28/06, dan tran <da...@gmail.com> wrote:
>
> any suggestion?
>
> -D
>
>
> On 6/26/06, dan tran <da...@gmail.com> wrote:
> >
> >  I am also interested on how to do this as well?   any suggestion?
> >
> > -Dan
> >
> >
> >  On 6/26/06, Marcin Maciukiewicz <ci...@gmail.com> wrote:
> > >
> > > Hi!
> > >
> > > My plugin is using my own packaging. I need to overwrite (not only
> > > customize) clean behaviour.  How to do this and still let users to
> > > call only:
> > > $> mvn clean
> > >
> > > Regards.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
>
>

Re: How to overwrite clean behaviour.

Posted by dan tran <da...@gmail.com>.
any suggestion?

-D


On 6/26/06, dan tran <da...@gmail.com> wrote:
>
>  I am also interested on how to do this as well?   any suggestion?
>
> -Dan
>
>
>  On 6/26/06, Marcin Maciukiewicz <ci...@gmail.com> wrote:
> >
> > Hi!
> >
> > My plugin is using my own packaging. I need to overwrite (not only
> > customize) clean behaviour.  How to do this and still let users to
> > call only:
> > $> mvn clean
> >
> > Regards.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>

Re: How to overwrite clean behaviour.

Posted by dan tran <da...@gmail.com>.
I am also interested on how to do this as well?   any suggestion?

-Dan


On 6/26/06, Marcin Maciukiewicz <ci...@gmail.com> wrote:
>
> Hi!
>
> My plugin is using my own packaging. I need to overwrite (not only
> customize) clean behaviour.  How to do this and still let users to
> call only:
> $> mvn clean
>
> Regards.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>