From issues-return-100530-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Fri Feb 13 22:39:47 2015 Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D61D910CDC for ; Fri, 13 Feb 2015 22:39:47 +0000 (UTC) Received: (qmail 42499 invoked by uid 500); 13 Feb 2015 22:39:42 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 42449 invoked by uid 500); 13 Feb 2015 22:39:42 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 42438 invoked by uid 99); 13 Feb 2015 22:39:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 22:39:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 22:39:38 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 42AACB1098 for ; Fri, 13 Feb 2015 16:39:18 -0600 (CST) Date: Fri, 13 Feb 2015 16:39:18 -0600 (CST) From: "Aleksey Nesterenko (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MLINKCHECK-21) Links to methods are marked as "invalid" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/MLINKCHECK-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Nesterenko updated MLINKCHECK-21: ------------------------------------------ Description: Generating linkcheck report on our project has encountered some problems. In final report lots of links are marked as "invalid" I have already opened issue against maven-javadoc-plugin: http://jira.codehaus.org/browse/MJAVADOC-425 As it is using outdated version of doxia's libs But in last version of linkcheck-plugin (I use org.apache.maven.plugins maven-linkcheck-plugin 1.2 8-oct-2014) Doxia's version is 1.4. So, I think linkcheck-plugin has to be updated too. Steps of reproducing my problem: 1) git clone git@github.com:alexkravin/linkstest.git && cd linkstest/ 2) mvn clean site 3) Open target/site/linkcheck.html My test project: https://github.com/alexkravin/linkstest Example of my current report: http://alexkravin.github.io/testproject/linkcheck.html As you can see - even "invalid" link will redirect you to proper location. E.g.: apidocs/com/MyClass.html error ../com/MyClass.html#MyClass(java.lang.String,%20int): doesn't exist. but it's valid http://alexkravin.github.io/testproject/apidocs/com/MyClass.html#MyClass(java.lang.String,%20int) was: Generating linkcheck report on our project has encountered some problems. In final report lots of links are marked as "invalid" I have already opened issue against maven-javadoc-plugin: http://jira.codehaus.org/browse/MJAVADOC-425 As it is using outdated version of doxia's libs But in last version of linkcheck-plugin (I use org.apache.maven.plugins maven-linkcheck-plugin 1.2 8-oct-2014) Doxia's version is 1.4. So, I think linkcheck-plugin has to be updated too. Steps of reproducing my problem: 1) git clone git@github.com:alexkravin/linkstest.git && cd linkstest/ 2) mvn clean install site 3) Open target/site/linkcheck.html My test project: https://github.com/alexkravin/linkstest Example of my current report: http://alexkravin.github.io/testproject/linkcheck.html As you can see - even "invalid" link will redirect you to proper location. E.g.: apidocs/com/MyClass.html error ../com/MyClass.html#MyClass(java.lang.String,%20int): doesn't exist. but it's valid http://alexkravin.github.io/testproject/apidocs/com/MyClass.html#MyClass(java.lang.String,%20int) P.S. Problems in the end of report are not in scope of this plugin, e.g.: apidocs/com/puppycrawl/tools/checkstyle/api/Check.html#beginTreecom.puppycrawl.tools.checkstyle.api.DetailAST: doesn't exist. brackets in link are broken, that's because of doxia's renderer, see http://osdir.com/ml/issues.maven.apache.org/2013-02/msg00437.html There're also problems with links to xref sources such as: http://alexkravin.github.io/linkcheck/xref/com/puppycrawl/tools/checkstyle/filters/SuppressionCommentFilter.html#445 As you see this link won't redirect you to proper line in xref-source file because there's lack of L letter after '#' proper link should looks like: http://alexkravin.github.io/linkcheck/xref/com/puppycrawl/tools/checkstyle/filters/SuppressionCommentFilter.html#L445 > Links to methods are marked as "invalid" > ---------------------------------------- > > Key: MLINKCHECK-21 > URL: https://jira.codehaus.org/browse/MLINKCHECK-21 > Project: Maven Linkcheck Plugin > Issue Type: Bug > Reporter: Aleksey Nesterenko > > Generating linkcheck report on our project has encountered some problems. > In final report lots of links are marked as "invalid" > I have already opened issue against maven-javadoc-plugin: http://jira.codehaus.org/browse/MJAVADOC-425 > As it is using outdated version of doxia's libs > But in last version of linkcheck-plugin > (I use > > org.apache.maven.plugins > maven-linkcheck-plugin > 1.2 > > 8-oct-2014) > Doxia's version is 1.4. > So, I think linkcheck-plugin has to be updated too. > Steps of reproducing my problem: > 1) git clone git@github.com:alexkravin/linkstest.git && cd linkstest/ > 2) mvn clean site > 3) Open target/site/linkcheck.html > My test project: https://github.com/alexkravin/linkstest > Example of my current report: http://alexkravin.github.io/testproject/linkcheck.html > As you can see - even "invalid" link will redirect you to proper location. > E.g.: > apidocs/com/MyClass.html > error ../com/MyClass.html#MyClass(java.lang.String,%20int): doesn't exist. > but it's valid > http://alexkravin.github.io/testproject/apidocs/com/MyClass.html#MyClass(java.lang.String,%20int) -- This message was sent by Atlassian JIRA (v6.1.6#6162)