Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-43

Adding validation in PluginXdocGenerator class?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4
    • None
    • None

    Description

      If we call the plugin:xdoc goal on a mojo defined like the following:
      /**

      • Generates something <b> for the project.
      • @goal agoal
        */
        The generated file (mymojo-mojo.xml) is not valid but the build is successful.

      Thus, the site:site goal generates the following exception:
      Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: end tag name </p> must be the same as start tag <b> from line 7 (position: TEXT seen ...<b> Checkstyle definitions defined by the project.</p>... @7:150)

      I think that the PluginXdocGenerator class should validate the generated file.

      Attachments

        Issue Links

          Activity

            People

              siveton Siveton Vincent
              siveton Siveton Vincent
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: