Setup your pom to use a verion properties with a default value (
<your.plugin.version>somedefault</your.plugin.version>

then you can override externally using -Dyour.plugin.version=xxxx

that my be close to what you looking for

-D


On Tue, May 13, 2014 at 12:31 AM, Karl Heinz Marbaise <khmarba...@gmx.de>wrote:

> Hi,
>
>
>
> > hi, all,
>
>> I have developed a maven build plugin and I will upgrade it
>> frequently. How to use the latest release version, not modify plugin
>> version in pom.xml frequently? One idea is no version setting, but it
>> will generate too much warnings. Setting LATEST, it won't work.
>> Is there any good solution? Glad to hear it.
>>
>
> The short answer is: Not possible.
>
> Just use the version in the pom file makes your build reproducible etc.
> If you update your plugin to new version it's a good idea to update the
> version in the pom file as well if you need to. The warnings which are
> being generated are a hint about not reproducible builds.
>
>
> Kind regards
> Karl-Heinz Marbaise
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to