[ https://jira.codehaus.org/browse/MPLUGIN-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated MPLUGIN-215: ---------------------------------- Description: as reported on [mavendev|http://mail-archives.apache.org/mod_mbox/maven-dev/201206.mbox/%3Cop.wgcyfqiskdkhrr%40columbia%3E], descriptor generated from java 5 annotations is different from descriptor generated from javadoc tags: - phase is always added without value - elements within <configuration> have an explicit closing tag if there's no content (was a compressed tag like <foo implementation="a.b.C"/>) - role-hint-tag with empty content is added if there's no role-hint (wasn't there, IIRC this could be an issue) this is probably due to the fact that annotations are defined with empty String default value where javadoc tags have no default value then null was: as reported on [mavendev|], descriptor generated from java 5 annotations is different from descriptor generated from javadoc tags: - phase is always added without value - elements within <configuration> have an explicit closing tag if there's no content (was a compressed tag like <foo implementation="a.b.C"/>) - role-hint-tag with empty content is added if there's no role-hint (wasn't there, IIRC this could be an issue) this is probably due to the fact that annotations are defined with empty String default value where javadoc tags have no default value then null > role-hint and configuration generated with empty values > ------------------------------------------------------- > > Key: MPLUGIN-215 > URL: https://jira.codehaus.org/browse/MPLUGIN-215 > Project: Maven 2.x Plugin Tools > Issue Type: Bug > Components: maven-plugin-tools-annotations > Affects Versions: 3.0 > Reporter: Herve Boutemy > Assignee: Herve Boutemy > Fix For: 3.1 > > > as reported on > [mavendev|http://mail-archives.apache.org/mod_mbox/maven-dev/201206.mbox/%3Cop.wgcyfqiskdkhrr%40columbia%3E], > descriptor generated from java 5 annotations is different from descriptor > generated from javadoc tags: > - phase is always added without value > - elements within <configuration> have an explicit closing tag if there's no > content (was a compressed tag like <foo implementation="a.b.C"/>) > - role-hint-tag with empty content is added if there's no role-hint (wasn't > there, IIRC this could be an issue) > this is probably due to the fact that annotations are defined with empty > String default value where javadoc tags have no default value then null -- 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