Maven Project Info Reports Plugin
  1. Maven Project Info Reports Plugin
  2. MPIR-204

License report should not try to include pdf content as plain text

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3
    • Component/s: license
    • Labels:
      None
    • Number of attachments :
      1

      Description

      The LicenseReport class has a relevant TODO: we should check for a text/html mime type instead, and possibly use a html parser to do this a bit more cleanly/reliably.. That, and/or there could be a configuration item so that one could configure the report to simply render links to the license documents rather than attempt to include them verbatim in the generated html.

        Activity

        Hide
        Grégory Joseph added a comment -

        Here's a patch implementing this feature with a simple boolean.
        Prior to applying the patch, you'll need to svn cp src/test/resources/plugin-configs/license-plugin-config.xml src/test/resources/plugin-configs/license-plugin-config-linkonly.xml

        Show
        Grégory Joseph added a comment - Here's a patch implementing this feature with a simple boolean. Prior to applying the patch, you'll need to svn cp src/test/resources/plugin-configs/license-plugin-config.xml src/test/resources/plugin-configs/license-plugin-config-linkonly.xml
        Hide
        Vincent Siveton added a comment -

        Patch applied in r1028267 with this change: linkOnly param is always true in offline mode

        Show
        Vincent Siveton added a comment - Patch applied in r1028267 with this change: linkOnly param is always true in offline mode
        Hide
        Grégory Joseph added a comment -

        great, thanks!
        Any plans for the next release ?

        Show
        Grégory Joseph added a comment - great, thanks! Any plans for the next release ?
        Hide
        Vincent Siveton added a comment -

        soon probably in November or for Xmas

        Show
        Vincent Siveton added a comment - soon probably in November or for Xmas
        Hide
        Grégory Joseph added a comment -

        ok thanks!

        Show
        Grégory Joseph added a comment - ok thanks!

          People

          • Assignee:
            Vincent Siveton
            Reporter:
            Grégory Joseph
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: