You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Heinrich Nirschl (JIRA)" <ji...@codehaus.org> on 2008/01/02 12:07:57 UTC
[jira] Created: (MPLUGIN-64) Beanshell extractor does not handle
parameter default value
Beanshell extractor does not handle parameter default value
-----------------------------------------------------------
Key: MPLUGIN-64
URL: http://jira.codehaus.org/browse/MPLUGIN-64
Project: Maven 2.x Plugin Tools
Issue Type: Improvement
Components: Beanshell Plugins
Affects Versions: 2.3
Reporter: Heinrich Nirschl
Attachments: default-value.patch
In a parameter specification like
/**
* The message to write.
* @parameter type="java.lang.String" expression="${helloMessage}" default-value="Hello World!"
*/
setMessage(msg) {
message = msg;
}
the default value is ignored.
The attached patch fixes 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
[jira] Closed: (MPLUGIN-64) Beanshell extractor does not handle
parameter default value
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPLUGIN-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Siveton closed MPLUGIN-64.
----------------------------------
Assignee: Vincent Siveton
Resolution: Fixed
Fix Version/s: 2.4
Patch applied. Thanks!
> Beanshell extractor does not handle parameter default value
> -----------------------------------------------------------
>
> Key: MPLUGIN-64
> URL: http://jira.codehaus.org/browse/MPLUGIN-64
> Project: Maven 2.x Plugin Tools
> Issue Type: Improvement
> Components: Beanshell Plugins
> Affects Versions: 2.3
> Reporter: Heinrich Nirschl
> Assignee: Vincent Siveton
> Fix For: 2.4
>
> Attachments: default-value.patch
>
>
> In a parameter specification like
> /**
> * The message to write.
> * @parameter type="java.lang.String" expression="${helloMessage}" default-value="Hello World!"
> */
> setMessage(msg) {
> message = msg;
> }
> the default value is ignored.
> The attached patch fixes 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