[
https://jira.codehaus.org/browse/MPLUGIN-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed MPLUGIN-259.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.3
Assignee: Herve Boutemy
done in [r1592217|http://svn.apache.org/r1592217]
> @Parameter name="xxx" to set bean property name different from class' field
> ---------------------------------------------------------------------------
>
> Key: MPLUGIN-259
> URL: https://jira.codehaus.org/browse/MPLUGIN-259
> Project: Maven Plugin Tools
> Issue Type: New Feature
> Components: maven-plugin-tools-annotations,
> maven-plugin-tools-javadoc
> Affects Versions: 3.0, 3.2
> Reporter: Herve Boutemy
> Assignee: Herve Boutemy
> Fix For: 3.3
>
>
> feature existed in version 2.9 as
> {code}/**
> * @parameter property="beanPropertyName"
> */
> private String fieldName;{code}
> and permitted to have bean getters/setters with different name
> {code}public String getBeanPropertyName() { return fieldName; }
> public void setBeanPropertyName( String aValue ) { this.fieldName = aValue
> }{code}
> but was removed in MPLUGIN-199 to reuse the "property" definition with
> different meaning (see MPLUGIN-196)
> could be reintroduced both as javadoc annotation:
> {code}/**
> * @parameter name="beanPropertyName"
> */
> private String fieldName;{code}
> and java 5 annotation:
> {code}@Parameter name="beanPropertyName"
> private String fieldName;{code}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)