Affects Version/s: None
Fix Version/s: None
Component/s: Plugins and Lifecycle
Number of attachments :
Required parameters configured in execution part of POM are ignored if:
the parameter ist set as required AND
(no default value is set OR
default-Value is set to "") AND
configuration of parameter values are done in the execution element.
Parameter definition in Mojo:
and snip from POM:
If I change the definition of the parameter to
then I got an error:
 inside the definition for plugin: 'maven-myownartifact-plugin'specify the following:
In my opinion this is a bug because with @required I have already tagged this parameter as mandatory. So I'm already forced to configure it.
BTW, if I configure the parameters outside the execution element evrything works fine as expected!
- the plugin is bind to the package phase
If a runable example is needed it's possible to provide one.