[
https://issues.apache.org/jira/browse/MSITE-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov resolved MSITE-749.
----------------------------------
Resolution: Invalid
{{sonar.html}} is generated by
[this|https://github.com/checkstyle/checkstyle/blob/master/pom.xml#L879-L886]
plugin in your POM. You should seek for an alternative plugin because the
plugin was hosted on Codehaus.
> 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 or change the link, 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)