[ 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)