You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it uses the name which is not the actual parameter name as defined in the doc (name is when configuring from the pom.xml), it should use the property instead:
ok after a bit of investigation it's not a simple, for some reason Maven didn't provide api to access the property.
Best solution might be to align properties and names (as name is used when configuring the plugin from the pom.xml) https://stackoverflow.com/a/34659049
Describe the bug
Currently it uses the
name
which is not the actual parameter name as defined in the doc (name is when configuring from the pom.xml), it should use theproperty
instead:Because of this the doc parameters names a wrong:
We need to make sure the
@Parameter(property=...
is used in the doc when set (I would hope that the fieldName is used if not set).Expected behavior
Have the right parameter names in the doc
Actual behavior
it uses the fieldName because
name
is not the actual name of the property at all, see:https://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html#name()
The text was updated successfully, but these errors were encountered: