From issues-return-100491-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Tue Feb 10 12:45:45 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 06A15109EB for ; Tue, 10 Feb 2015 12:45:45 +0000 (UTC) Received: (qmail 69928 invoked by uid 500); 10 Feb 2015 12:45:44 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 69882 invoked by uid 500); 10 Feb 2015 12:45:44 -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 69871 invoked by uid 99); 10 Feb 2015 12:45:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2015 12:45:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Tue, 10 Feb 2015 12:45:20 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 84B59B11AF for ; Tue, 10 Feb 2015 06:45:18 -0600 (CST) Date: Tue, 10 Feb 2015 06:45:18 -0600 (CST) From: "Aleksey Nesterenko (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MPLINKCHECK-32) 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/MPLINKCHECK-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Nesterenko reopened MPLINKCHECK-32: -------------------------------------------- I didn't notice maven version in issue's header was set incorrectly, my fault, sorry, I use maven 3.2.3 > Links to methods are marked as "invalid" > ---------------------------------------- > > Key: MPLINKCHECK-32 > URL: https://jira.codehaus.org/browse/MPLINKCHECK-32 > Project: Maven 1.x 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 install site > 3) Open target/site/linkcheck.html > 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 -- This message was sent by Atlassian JIRA (v6.1.6#6162)