maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ittay Dror (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-3577) bug in PluginParameterExpressionEvaluator when using '${plugin.something}
Date Thu, 15 May 2008 10:26:27 GMT
bug in PluginParameterExpressionEvaluator when using '${plugin.something}
-------------------------------------------------------------------------

                 Key: MNG-3577
                 URL: http://jira.codehaus.org/browse/MNG-3577
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 2.0.8
            Reporter: Ittay Dror


when expression is 'plugin.something', this is the code that evaluates it:
                    value = ReflectionValueExtractor.evaluate( expression.substring( 1 ),
pluginDescriptor );

so the extractor sees 'lugin.something', which obviously won't work.

also, it returns 'null'. i think it would be better if evaluation of unfound expressions will
just leave them as they are (so evaluating ${foo} will leave it as '${foo}').


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

        

Mime
View raw message