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

Refactor makeValidHtml into PluginUtils for better reusage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • None
    • None
    • Patch

    Description

      The current approach for MPLUGIN-43 and especially MPLUGIN-73 is suboptimal: These changes are limited to the PluginXDocGenerator although other components have similar needs (e.g. PluginReport from the maven-plugin-plugin which needs to print the mojo description, too).

      The patch suggests to move makeHtmlValid() and decodeJavadocTags() into PluginUtils for better reusage among PluginXdocGenerator and PluginReport. Alternatively, these functions could be employed by the descriptor extractors instead of the report generators to beautify the strings right at the beginning of their processing, making them out-of-the-box viewable in beautified format for all consumers of the mojo descriptor.

      Attachments

        1. valid-html.patch
          22 kB
          Benjamin Bentmann

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: