Hi,
I think I remember a recent answer from Stephen about plugin conf, saying
basically you'd just have to fall back to xpath project/build and then see
what's present.

My 2 cents


2014-01-30 Karl Heinz Marbaise <khmarba...@gmx.de>:

> Hi,
>
> just a question concerning the usage of default values in a mojo...
>
> If i define a default value for a parameter in a Mojo like the following:
>
> @Parameter( defaultValue = "${project.build.finalName}", required = true )
> private String finalName;
>
> So the question is:
>
> Can i see the difference in the mojo code if someone in the pom file has
> written:
>
>   <finalName/>
> or
>   just omit it.
>
> or is this not possible ?
>
>
> In my opinion it's not possible to distinguish between those two cases.
>
> Any ideas ?
>
> Thanks in advance.
>
> Kind regards
> Karl Heinz Marbaise
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor ! nbsp;! <dev-h...@maven.apache.org>

Reply via email to