maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "allan ramirez (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNG-830) review plugins use of expression and change to default-value/component where appropriate
Date Mon, 10 Oct 2005 06:26:12 GMT
     [ http://jira.codehaus.org/browse/MNG-830?page=all ]

allan ramirez updated MNG-830:
------------------------------

    Attachment: MNG-830.patch

>From the clover plugin, I found the usage of expression to be
     /**
      * @parameter expression=""
      */
     private String licenseFile;


Since expression value is null, I removed the expression word to be like this
     /**
      * @parameter
      */
     private String licenseFile;




> review plugins use of expression and change to default-value/component where appropriate
> ----------------------------------------------------------------------------------------
>
>          Key: MNG-830
>          URL: http://jira.codehaus.org/browse/MNG-830
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Reporter: Brett Porter
>     Assignee: allan ramirez
>      Fix For: 2.0-beta-4
>  Attachments: MNG-830.patch
>
> Original Estimate: 2 hours
>         Remaining: 2 hours
>
> we also need a good explanation written down of the difference.
> * default-value is used when expression is null
> * expression is intended to be used to get the user's override, eg from a system property
> Perhaps if we could cover that other use case differently (eg by a standard system property
mechanism that went [plugin-prefix.goal.configuration]), we could eliminate expression altogether
in a future version of Maven.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message