maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Selkin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MSITE-749) Maven site plugin generates sonar.html page with redirection.
Date Wed, 12 Aug 2015 17:53:47 GMT

     [ https://issues.apache.org/jira/browse/MSITE-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrei Selkin updated MSITE-749:
--------------------------------
    Description: 
Hello! 
We use maven-site-plugin to generate site for checkstyle: http://checkstyle.sourceforge.net/
. The linkcheck plugin reports that the following link on sonar.html page is redirected:
http://nemo.sonarqube.org/project/index/com.puppycrawl.tools:checkstyle
to
http://nemo.sonarqube.org/dashboard/index/com.puppycrawl.tools:checkstyle

In our case sonar.html page can be reached from project-reports.html. 

project-reports.html is generated by maven-site-plugin CategorySummaryDocumentRenderer class:
https://github.com/apache/maven-plugins/blob/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/CategorySummaryDocumentRenderer.java#L150

So, is there any way to avoid redirection, because, as you can see, there are contradictions
between linkcheck and maven-site-plugin.

Thank in advance!


  was:
Hello! 
We use maven-site-plugin to generate site for checkstyle: http://checkstyle.sourceforge.net/
. The linkcheck plugin reports that the following link on sonar.html page is redirected:
http://nemo.sonarqube.org/project/index/com.puppycrawl.tools:checkstyle
to
http://nemo.sonarqube.org/dashboard/index/com.puppycrawl.tools:checkstyle

In our case sonar.html page can be reached from project-reports.html. project-reports.html
is generated by maven-site-plugin CategorySummaryDocumentRenderer class:
https://github.com/apache/maven-plugins/blob/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/CategorySummaryDocumentRenderer.java#L150

So, is there any way to avoid redirection, because, as you can see, there are contradictions
between linkcheck and maven-site-plugin.

Thank in advance!



> Maven site plugin generates sonar.html page with redirection.
> -------------------------------------------------------------
>
>                 Key: MSITE-749
>                 URL: https://issues.apache.org/jira/browse/MSITE-749
>             Project: Maven Site Plugin
>          Issue Type: Question
>         Environment: maven-site-plugin, checkstyle sourceforge site
>            Reporter: Andrei Selkin
>
> Hello! 
> We use maven-site-plugin to generate site for checkstyle: http://checkstyle.sourceforge.net/
. The linkcheck plugin reports that the following link on sonar.html page is redirected:
> http://nemo.sonarqube.org/project/index/com.puppycrawl.tools:checkstyle
> to
> http://nemo.sonarqube.org/dashboard/index/com.puppycrawl.tools:checkstyle
> In our case sonar.html page can be reached from project-reports.html. 
> project-reports.html is generated by maven-site-plugin CategorySummaryDocumentRenderer
class:
> https://github.com/apache/maven-plugins/blob/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/CategorySummaryDocumentRenderer.java#L150
> So, is there any way to avoid redirection, because, as you can see, there are contradictions
between linkcheck and maven-site-plugin.
> Thank in advance!



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

Mime
View raw message