[ https://issues.apache.org/jira/browse/MPIR-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Selkin updated MPIR-331: ------------------------------- Environment: maven-project-info-reports-plugin, maven-linkcheck-plugin, checkstyle > Links on plugins.html and plugin-management.html are redirected > --------------------------------------------------------------- > > Key: MPIR-331 > URL: https://issues.apache.org/jira/browse/MPIR-331 > Project: Maven Project Info Reports Plugin > Issue Type: Bug > Affects Versions: 2.8 > Environment: maven-project-info-reports-plugin, > maven-linkcheck-plugin, checkstyle > Reporter: Andrei Selkin > > Hello! We use maven-linkcheck-plugin to generate report for checkstyle's > sourceforge site: http://checkstyle.sourceforge.net/ . The linkcheck plugin > reports that the following links are redirected: > on plugin-management.html > http://maven.apache.org/plugins/maven-release-plugin/ > on plugins.html > http://maven.apache.org/enforcer/maven-enforcer-plugin: 301 Moved Permanently > http://maven.apache.org/surefire/maven-failsafe-plugin: 301 Moved Permanently > http://maven.apache.org/surefire/maven-surefire-plugin: 301 Moved Permanently > http://maven.apache.org/surefire/maven-surefire-report-plugin: 301 Moved > Permanently > http://mojo.codehaus.org/antlr-maven-plugin: 302 Found > http://mojo.codehaus.org/build-helper-maven-plugin: 302 Found > http://mojo.codehaus.org/cobertura-maven-plugin/: 302 Found > http://mojo.codehaus.org/jdepend-maven-plugin: 302 Found > http://mojo.codehaus.org/taglist-maven-plugin: 302 Found > http://mojo.codehaus.org/xml-maven-plugin: 302 Found > and the following link on plugins.html are not found: > http://www.antlr.org/antlr4-maven-plugin: 404 Not Found > maven-project-info-reports-plugin uses urls from effective pom.xml to > generate those links. For example for antlr-maven-plugin url from effective > pom.xml is: > <url>http://mojo.codehaus.org/antlr-maven-plugin<url>. > To grab the link from effective pom.xml, maven-project-info-reports-plugin > uses PluginsReport class: > https://github.com/apache/maven-plugins/blob/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/PluginsReport.java#L239 > and PluginManagementReport class: > https://github.com/apache/maven-plugins/blob/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/PluginManagementReport.java#L230 > Redirect tracers report that http://mojo.codehaus.org/antlr-maven-plugi is > redirected to http://www.mojohaus.org. > Redirect tracers: > http://www.wheregoes.com/retracer.php > http://www.internetofficer.com/seo-tool/redirect-check/ > http://redirectdetective.com/ > So, from my point of view there should be another way to generate links to > plugins sites on plugins.html and plugin-management.html or a way to set liks > manually should be allowed. > Thank in advance! -- This message was sent by Atlassian JIRA (v6.3.4#6332)