You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Aleksey Nesterenko (JIRA)" <ji...@codehaus.org> on 2015/02/09 15:01:19 UTC

[jira] (MPLINKCHECK-32) Links to methods are marked as "invalid"

Aleksey  Nesterenko created MPLINKCHECK-32:
----------------------------------------------

             Summary: 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
<dependency>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-linkcheck-plugin</artifactId>
    <version>1.2</version>
</dependency>
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



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)