[ https://jira.codehaus.org/browse/SUREFIRE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272433#comment-272433 ]
Flemming Jønsson commented on SUREFIRE-616: ------------------------------------------- @Borja - I can confirm that after running mvn site the "mvn surefire-report:report-only" - will generate a report where styling is working. After running mvn site I get $HOME/.maven/cache/maven-xdoc-plugin-1.8 which has this folder '/plugin-resources/css/' which in turn contains maven-base.css and maven-theme.css - after that the styling works for my junit html reports generated by maven-surefire-report-plugin version 2.9. If I delete the .maven folder I will have to do mvn site again before the html junit surefire-report styling works. I had the same problem with 2.4.2 - it did not work for me before I had run 'mvn site' I have tried looking for dependency groupId/artifactId for maven-xdoc-plugin, but I cannot seem to find it so I can depend on it. Anyone know what to write to get this working without having to run mvn site? > surefire-report doesn't create target/site/css > ---------------------------------------------- > > Key: SUREFIRE-616 > URL: https://jira.codehaus.org/browse/SUREFIRE-616 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Report Plugin > Environment: Maven 2.2.1, Java 1.6.0_17, OS/X 10.6.3 > Reporter: Marco Brandizi > > I've just try " mvn surefire-report:report-only" and I get what said in the > subject. It creates site surefire-report.html, but not the css/*.css files > that are imported by such html. The result is quite ugly to see. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira