You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Prashant Bhate <pr...@gmail.com> on 2010/09/08 18:29:36 UTC
extending existing maven plugin
Hi,
Is there a recommended way to extend maven plugins?
which is better extend or aggregate with respect to MOJO inheritance?
I wanted to extend versions:set plugin to atoumatically increment
major/minor version and set based on argument passed, instead of user to
pass full version string,
Any clues are much appreciated.
Regards,
Prashant Bhate
Re: extending existing maven plugin
Posted by Stephane Nicoll <st...@gmail.com>.
Maybe it would make more sense to provide a patch to the plugin and see how
the feature can be integrated with some configuration option instead of
extending it.
S.
On Wed, Sep 8, 2010 at 6:29 PM, Prashant Bhate <
prashant.mailing.list@gmail.com> wrote:
> Hi,
>
> Is there a recommended way to extend maven plugins?
> which is better extend or aggregate with respect to MOJO inheritance?
>
> I wanted to extend versions:set plugin to atoumatically increment
> major/minor version and set based on argument passed, instead of user to
> pass full version string,
>
> Any clues are much appreciated.
>
> Regards,
> Prashant Bhate
>
Re: extending existing maven plugin
Posted by Justin Edelson <ju...@justinedelson.com>.
You should look at the list archives. This has been discussed before.
On Wed, Sep 8, 2010 at 12:29 PM, Prashant Bhate
<pr...@gmail.com> wrote:
> Hi,
>
> Is there a recommended way to extend maven plugins?
> which is better extend or aggregate with respect to MOJO inheritance?
>
> I wanted to extend versions:set plugin to atoumatically increment
> major/minor version and set based on argument passed, instead of user to
> pass full version string,
>
> Any clues are much appreciated.
>
> Regards,
> Prashant Bhate
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org