[ 
https://jira.codehaus.org/browse/MNG-5518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=333061#comment-333061
 ] 

Anders Hammar commented on MNG-5518:
------------------------------------

I think this is as intended. Some params we might not want configurable from 
command line. Possibly the javadocs should be improved here?
                
> @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

Reply via email to