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

Roman Ivanov commented on MJAVADOC-423:
---------------------------------------

Problems still acute, I just made a suppression to let me fix and control all 
other problems.

steps to reproduce:
1)
change pom.xml like:
{code}
checkstyle/checkstyle [master|✚ 1] $ git diff
diff --git a/pom.xml b/pom.xml
index 02085b7..dbf974d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1165,7 +1165,7 @@
             and http://jira.codehaus.org/browse/DOXIA-525 and 
http://jira.codehaus.org/browse/MLINKCHECK-21 will be fix
             <excludedLink>**/com/puppycrawl/**</excludedLink>
             <!-- Excluded due to Checkstyle's issue #549 until 
https://issues.apache.org/jira/browse/MJAVADOC-428 will 
-            
<excludedLink>http://docs.oracle.com/javase/7/docs/api/org/xml/sax/helpers.DefaultHandler.html?*</excludedL
+            
<!--<excludedLink>http://docs.oracle.com/javase/7/docs/api/org/xml/sax/helpers.DefaultHandler.html?*</exclu
             <!-- Excluded due to Maven Enforcer Plugin's issue #234: 
https://issues.apache.org/jira/browse/MENFORCER-23
             
<excludedLink>http://maven.apache.org/enforcer/maven-enforcer-plugin</excludedLink>
             <!-- Excluded due to Maven Surefire Plugin's issue #1173: 
https://issues.apache.org/jira/browse/SUREFIRE-11

 $ 
{code}

Launch report generation:
{code}
checkstyle/checkstyle [master|✚ 1] $ mvn clean site -DskipTests -DskipITs 
-Dpmd.skip=true -Dfindbugs.skip=true -Dcobertura.skip=true 
-Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true

.....
[INFO] Total time: 11:42 min
[INFO] Finished at: 2016-04-18T10:16:16-07:00
[INFO] Final Memory: 82M/666M
....
{code}

open report target/site/linkcheck.html , it has 14 errors.

one example from report:
{code}
apidocs/com/puppycrawl/tools/checkstyle/filters/SuppressionsLoader.html         
error   
http://docs.oracle.com/javase/7/docs/api/org/xml/sax/helpers.DefaultHandler.html?is-external=true:
 404 Not Found
error   
http://docs.oracle.com/javase/7/docs/api/org/xml/sax/helpers.DefaultHandler.html?is-external=true#startElement-java.lang.String-java.lang.String-java.lang.String-org.xml.sax.Attributes-:
 404 Not Found
{code}

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