Maven Plugin Tools
  1. Maven Plugin Tools
  2. MPLUGIN-215

role-hint and configuration generated with empty values

    Details

      Description

      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

        Activity

        Hervé Boutemy created issue -
        Hervé Boutemy made changes -
        Field Original Value New Value
        Fix Version/s 3.1 [ 18553 ]
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Assignee Herve Boutemy [ hboutemy ]
        Hervé Boutemy made changes -
        Description 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
        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
        Mark Thomas made changes -
        Project Import Sun Apr 05 12:08:28 UTC 2015 [ 1428235708524 ]
        Mark Thomas made changes -
        Workflow jira [ 12723200 ] Default workflow, editable Closed status [ 12756225 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 00:41:51 UTC 2015 [ 1428280911727 ]
        Mark Thomas made changes -
        Workflow jira [ 12960838 ] Default workflow, editable Closed status [ 12997481 ]

          People

          • Assignee:
            Hervé Boutemy
            Reporter:
            Hervé Boutemy
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development