[ https://issues.apache.org/jira/browse/SUREFIRE-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708512#comment-14708512 ]
ASF GitHub Bot commented on SUREFIRE-1173: ------------------------------------------ Github user Tibor17 commented on the pull request: https://github.com/apache/maven-surefire/pull/101#issuecomment-133910961 The /components/ URL must not be visible to our users because it's an internal URL. The non-components page must be used. Notice: content is in fact published to /components/ directory, and rewrite rules in .htaccess detect files not found in main site to try /components/ content instead. It's only a limitation we could not avoid that makes http://maven.apache.org/surefire do a visible unwanted redirect to http://maven.apache.org/components/surefire/ but with http://maven.apache.org/surefire/ it's not visible: it's the intended effect. (and everything is necessary because of CMS staging feature, that we workarounded previously with a extpaths.txt that took more than 15 minutes to execute: but with the new .htaccess trick, CMS publishing is as fast as expected = near immediate) If the URL is redirected, please create JIRA issue in ASF INFRA team and try to advice them to fastforward to /components/ URL instead of redirecting. > Link to plugin's web site is reported as redirected by maven linkcheck plugin. > ------------------------------------------------------------------------------ > > Key: SUREFIRE-1173 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1173 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin, Maven Surefire Report Plugin > Affects Versions: 2.18.1 > Environment: checkstyle, maven linkcheck plugin > Reporter: Andrei Selkin > Assignee: Tibor Digana > Fix For: 2.19 > > > 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/surefire/maven-surefire-plugin (301 Moved > Permanently) at > http://maven.apache.org/components/surefire/maven-surefire-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/surefire/maven-surefire-plugin</url> > Should be: > <url>http://maven.apache.org/components/surefire/maven-surefire-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)