Maven 1.x XDoc Plugin
  1. Maven 1.x XDoc Plugin
  2. MPXDOC-186

Mailing list links break if the address starts with http

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 1.10
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Our mailing lists have email addresses that start with http: e.g. httpclient-dev-subscribe@jakarta.apache.org

      Our POM:
      http://svn.apache.org/repos/asf/jakarta/commons/proper/httpclient/trunk/project.xml

      The generated HTML:
      http://jakarta.apache.org/commons/httpclient/mail-lists.html

      As you can see the mailing list links are missing the mailto: prefix.

      The problem is on line 24 in the file plugin-resources/templates/mail-lists.xml:

      #if ($link.trim().startsWith("http"))

      which should be

      #if ($link.trim().startsWith("http://"))

      or equivalent.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ortwin Glück
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: