You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrei Selkin (JIRA)" <ji...@apache.org> on 2015/08/10 21:53:45 UTC

[jira] [Updated] (MLINKCHECK-23) Linkcheck reports 302 Found on link that is redirected to itself.

     [ https://issues.apache.org/jira/browse/MLINKCHECK-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Selkin updated MLINKCHECK-23:
------------------------------------
    Summary: Linkcheck reports 302 Found on link that is redirected to itself.  (was: Linkcheck reports 302 Found on direct link.)

> Linkcheck reports 302 Found on link that is redirected to itself.
> -----------------------------------------------------------------
>
>                 Key: MLINKCHECK-23
>                 URL: https://issues.apache.org/jira/browse/MLINKCHECK-23
>             Project: Maven Linkcheck Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: OS: Linux Mint, IntelliJ IDEA, checkstyle
>            Reporter: Andrei Selkin
>
> We use maven-linkcheck-plugin v. 1.2 to check links on checkstyle's website: http://checkstyle.sourceforge.net/ with the following config:
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-linkcheck-plugin</artifactId>
>         <version>1.2</version>
>         <configuration>
>           <httpMethod>GET</httpMethod>
>           <timeout>3000</timeout>
>           <httpFollowRedirect>false</httpFollowRedirect>
>           <forceSite>true</forceSite>
>           <excludedPages>
>             <excludedPage>dependencies.html</excludedPage>
>             <excludedPage>cobertura/**</excludedPage>
>             <excludedPage>dsm/**</excludedPage>
>             <excludedPage>xref/**</excludedPage>
>             <excludedPage>xref-test/**</excludedPage>
>             <excludedPage>pmd.html</excludedPage>
>             <excludedPage>findbugs.html</excludedPage>
>             <excludedPage>surefire-report.html</excludedPage>
>             <!-- Excluded due to checkstyle's issue #549 until http://jira.codehaus.org/browse/MTAGLIST-69 will be fixed -->
>             <excludedPage>taglist.html</excludedPage>
>           </excludedPages>
>           <excludedLinks>
>             <!-- skip validating SNAPSHOTs on sourceforge when ${projectVersion} is SNAPSHOT-->
>             <excludedLink>http://iweb.dl.sourceforge.net/project/checkstyle/checkstyle/*-SNAPSHOT/checkstyle-*-SNAPSHOT-all.jar</excludedLink>
>             <excludedLink>reports/google-style/guava</excludedLink>
>             <excludedLink>reports/javadoc/openjdk8</excludedLink>
>             <excludedLink>https://travis-ci.org/</excludedLink>
>             <excludedLink>https://travis-ci.org/checkstyle/checkstyle</excludedLink>
>             <excludedLink>https://coveralls.io/r/checkstyle/checkstyle</excludedLink>
>             <excludedLink>http://search.maven.org/*</excludedLink>
>             <excludedLink>http://junit.org</excludedLink>
>             <excludedLink>http://sonar-plugins.codehaus.org/maven-report</excludedLink>
>             <!-- Excluded due to checkstyle's issue #549 until https://issues.apache.org/jira/browse/MJAVADOC-428
>             and http://jira.codehaus.org/browse/DOXIA-525 and http://jira.codehaus.org/browse/MLINKCHECK-21 will be fixed -->
>             <excludedLink>**/com/puppycrawl/**</excludedLink>
>             <!-- Excluded due to checkstyle's issue #549 until https://issues.apache.org/jira/browse/MJAVADOC-428 will be fixed -->
>             <excludedLink>http://docs.oracle.com/javase/7/docs/api/org/xml/sax/helpers.DefaultHandler.html?*</excludedLink>
>           </excludedLinks>
>           <excludedHttpStatusErrors>
>             <excludedHttpStatusError>401</excludedHttpStatusError>
>           </excludedHttpStatusErrors>
>         </configuration>
>       </plugin>
> maven-linkcheck-plugin v. 1.2 reports 302 Found:
> http://kclee.com/clemens/java/javancss/
> But according to redirect tracers the link is redirect directly to http://kclee.com/clemens/java/javancss/
> Full report: http://mezk.github.io/linkcheck/linkcheck.html
> Checkstyle's pom.xml: https://github.com/checkstyle/checkstyle/blob/master/pom.xml
> Redirect tracers:
> http://www.wheregoes.com/retracer.php
> http://www.internetofficer.com/seo-tool/redirect-check/
> http://redirectdetective.com/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)