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

Reply via email to