[ 
http://jira.codehaus.org/browse/MNG-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106693
 ] 

Brett Porter commented on MNG-1936:
-----------------------------------

see mailing list for Jason's original proposal - to be included in the wiki

> pattern: for mojo parameters which have default values in the POM we need 
> standard usage
> ----------------------------------------------------------------------------------------
>
>                 Key: MNG-1936
>                 URL: http://jira.codehaus.org/browse/MNG-1936
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Design, Patterns & Best Practices
>            Reporter: Jason van Zyl
>             Fix For: 2.1
>
>
> For mojo parameters which have default values in the POM but can be overriden 
> we should have a standard way of doing this:
>     /**
>      * Directory containing the generated JAR.
>      *
>      * @parameter expression="${outputDirectory}" 
> default-value="${pom.build.outputDirectory}"
>      * @required
>      */
>     private File outputDirectory;
> So there is a short name which can be overriden in a POM configuration or the 
> command line (outputDirectory), but if not specified we'll fall back to the 
> standard recommended value in the POM. There is some inconsistencies in a lot 
> of the plug-ins with respect to this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to