[
https://jira.codehaus.org/browse/MNG-5518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=333062#comment-333062
]
Robert Patrick commented on MNG-5518:
-------------------------------------
This is a behavior change from plugins using the javadoc-style annotations,
which supported all parameters being expressed from the command-line. Given
that I can always specify them from a POM, I don't understand why it is
important to not allow me to specify them from the command-line.
> @Parameter annotation requires property element to use command-line -D
> ----------------------------------------------------------------------
>
> Key: MNG-5518
> URL: https://jira.codehaus.org/browse/MNG-5518
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Plugin API
> Affects Versions: 3.0.4, 3.1.0
> Environment: Windows 7 Pro 64 bit, JDK 1.7.0_40
> Reporter: Robert Patrick
> Attachments: annotations.zip
>
>
> When writing a plugin using the Maven Java annotations, the @Parameter
> annotation currently requires the property element to allow the goal to
> receive configuration information from the command-line using
> -DparamName=value even though the goal works fine without it when using a POM.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira