[ 
https://issues.apache.org/jira/browse/MJAVADOC-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250317#comment-15250317
 ] 

Michael Osipov commented on MJAVADOC-423:
-----------------------------------------

Roman, I have bad news for you. This does not seems to be a MJAVADOC problem. 
This plugin merely invokes {{javadoc}} with {{@options}} and {{@packages}}. I 
ran both from the shell and the links where still broken. I have tried on 
various JDK 7 and 8 versions and operating systems.

Run {{mvn clean javadoc:javadoc -X}}, as soon as you see {{javadoc}} has been 
invoked, abort the process, navigate to {{target/site/apidocs}} and run 
{{./javadoc.sh}} manually. You will have the same result. The best I can 
recommend is, to create a minimal working issue and report it to Oracle.

> wrong link generation for org.xml.sax.helpers.DefaultHandler
> ------------------------------------------------------------
>
>                 Key: MJAVADOC-423
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-423
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.10.1
>            Reporter: Roman Ivanov
>         Attachments: linkcheck.html
>
>
> Review report:
> http://checkstyle.sourceforge.net/linkcheck.html
> javadoc plugin - 
> https://github.com/checkstyle/checkstyle/blob/master/pom.xml#L524
> here you can see number of broken links as:
> "http://docs.oracle.com/javase/6/docs/api/org/xml/sax/helpers.DefaultHandler.html?is-external=true:
>  404 Not Found
> "
> problem is in  "helpers.DefaultHandler.html" should be 
> "helpers/DefaultHandler.html"
> I switched to java7 in latest code of checkstyle 
> (https://github.com/checkstyle/checkstyle) project , but problem is the same.
> to reproduce problem please do :
> git clone https://github.com/checkstyle/checkstyle
> cd checkstyle
> mvn -Pdistro clean package
> after that review linkcheck maven report.



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

Reply via email to