[ https://issues.apache.org/jira/browse/MENFORCER-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14702052#comment-14702052 ]
ASF GitHub Bot commented on MENFORCER-234: ------------------------------------------ GitHub user MEZk opened a pull request: https://github.com/apache/maven-enforcer/pull/15 [MENFORCER-234] Fix redirected link Fix link according to [MENFORCER-234](https://issues.apache.org/jira/browse/MENFORCER-234) You can merge this pull request into a Git repository by running: $ git pull https://github.com/MEZk/maven-enforcer i234-fix-link Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven-enforcer/pull/15.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #15 ---- commit 2b7dae884f2000ae91ef823e68c776cde1d34965 Author: Andrei Selkin <andreysel...@gmail.com> Date: 2015-08-18T21:56:33Z [MENFORCER-234] Fix redirected link on plugin's web site ---- > Link to plugin's web site is reported as redirected by maven linkcheck plugin. > ------------------------------------------------------------------------------ > > Key: MENFORCER-234 > URL: https://issues.apache.org/jira/browse/MENFORCER-234 > Project: Maven Enforcer Plugin > Issue Type: Bug > Affects Versions: 1.4 > Environment: maven enforcer plugin, checkstyle > Reporter: Andrei Selkin > > 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 surefire 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 surefire plugin. > Thank in advance! -- This message was sent by Atlassian JIRA (v6.3.4#6332)