Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-234

Link to plugin's web site is reported as redirected by maven linkcheck plugin.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 3.0.0-M1, 3.0.0-M2, 3.0.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      maven enforcer plugin, checkstyle

      Description

      Hello!

      We use maven linkcheck plugin to check links on checkstyle's website: http://checkstyle.sourceforge.net/ . The plugin reports that on page http://checkstyle.sourceforge.net/plugins.html the following link is redirected:
      http://maven.apache.org/enforcer/maven-enforcer-plugin (301 Moved Permanently) at http://maven.apache.org/components/enforcer/maven-enforcer-plugin/ .

      Links on plugins.html are generated by Apache Maven Project Info Reports Plugin. All URLs are grabbed from effective POMs of plugins.

      Here is the code:

      https://github.com/apache/maven-plugins/blob/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/PluginsReport.java#L239

      https://github.com/apache/maven-plugins/blob/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/PluginsReport.java#L269

      In effective POM of maven enforcer plugin the problematic link is:
      <url>http://maven.apache.org/enforcer/maven-enforcer-plugin</url>

      Should be:
      <url>http://maven.apache.org/components/enforcer/maven-enforcer-plugin/</url>

      As a result, we do not have an ability to change plugins urls on that page, because those links are specified by plugins developers.

      So, please correct the link, because there are contradictions between linkcheck and maven enforcer plugin.

      Thank in advance!

        Attachments

          Activity

            People

            • Assignee:
              tibor17 Tibor Digana
              Reporter:
              MEZk Andrei Selkin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: