You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2013/01/30 23:21:13 UTC

[jira] (MPH-93) Replace expression label with user property when possible

Robert Scholte created MPH-93:
---------------------------------

             Summary: Replace expression label with user property when possible
                 Key: MPH-93
                 URL: https://jira.codehaus.org/browse/MPH-93
             Project: Maven 2.x Help Plugin
          Issue Type: Improvement
    Affects Versions: 2.1.1
            Reporter: Robert Scholte


Expression is the more technical label for a field which should contain exaclty 1 expression, so you can add it as a {{-Dkey=value}} on the commandline.
Plugin developers often mix default-value and expression, but with the new Mojo Annotations this difference is much more clear by talking about {{property}} instead of {{expression}} and removing the ${ and }.
There are still enough expressions which contain a default-value ( for instance ${project.build.directory}/generated-sources/foobar/ ), so only in case of valid expressions the "User property" label should be used. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPH-93) Replace expression label with user property when possible

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MPH-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MPH-93.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
         Assignee: Robert Scholte

Fixed in [r1440711|http://svn.apache.org/viewvc?rev=1440711&view=rev]
                
> Replace expression label with user property when possible
> ---------------------------------------------------------
>
>                 Key: MPH-93
>                 URL: https://jira.codehaus.org/browse/MPH-93
>             Project: Maven 2.x Help Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.1.1
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>             Fix For: 2.2
>
>
> Expression is the more technical label for a field which should contain exaclty 1 expression, so you can add it as a {{-Dkey=value}} on the commandline.
> Plugin developers often mix default-value and expression, but with the new Mojo Annotations this difference is much more clear by talking about {{property}} instead of {{expression}} and removing the ${ and }.
> There are still enough expressions which contain a default-value ( for instance ${project.build.directory}/generated-sources/foobar/ ), so only in case of valid expressions the "User property" label should be used. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira