Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.5.1
    • Component/s: dependencies
    • Labels:
      None
    • Environment:
      Win XP; Maven 2.2.1; Java 1.6.0_18
    • Number of attachments :
      3

      Description

      Hey,
      when i create a project site with the site-plugin, i do not get links in the dependency tree at the dependency report(See attachment Pic1).
      This is our internal domain and it would be very useful if this works.

      If i change the domain to something else(even it is total stupid) it works...but just if the domain does not have more than 4 characters.
      (See attachment Pic2 where it works and it is a link & Pic3 where it is longer than 4 chars and does not work anymore).

      1. Pic1.png
        13 kB
      2. Pic2.png
        12 kB
      3. Pic3.png
        12 kB

        Activity

        Hide
        Markus Milcher added a comment - - edited

        I found the location where this happens:
        DependenciesRenderer in lines 952-963.
        It might be a solution to configure the validation in line 952 or delete it completely.

        I found the reason at:
        https://svn.apache.org/repos/asf/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/UrlValidator.java
        in line 366.

        I think links often contain the TLD ".local" or sth else (especially company intern)

        Will you change?
        Or is there any possibility to send me the sourcecode of the plugin as a zip?

        Show
        Markus Milcher added a comment - - edited I found the location where this happens: DependenciesRenderer in lines 952-963. It might be a solution to configure the validation in line 952 or delete it completely. I found the reason at: https://svn.apache.org/repos/asf/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/UrlValidator.java in line 366. I think links often contain the TLD ".local" or sth else (especially company intern) Will you change? Or is there any possibility to send me the sourcecode of the plugin as a zip?
        Hide
        Herve Boutemy added a comment -

        UrlValidator has an option to support more TLD, as fixed in https://issues.apache.org/jira/browse/VALIDATOR-288
        but it is not released for the moment

        if you want to create a local MPIR plugin version, source is available at http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-project-info-reports-plugin/

        Show
        Herve Boutemy added a comment - UrlValidator has an option to support more TLD, as fixed in https://issues.apache.org/jira/browse/VALIDATOR-288 but it is not released for the moment if you want to create a local MPIR plugin version, source is available at http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-project-info-reports-plugin/
        Hide
        Herve Boutemy added a comment -

        fixed in r1376708
        relaxed domain validation

        Show
        Herve Boutemy added a comment - fixed in r1376708 relaxed domain validation

          People

          • Assignee:
            Herve Boutemy
            Reporter:
            Markus Milcher
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: