Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 2.4
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:windows xp
maven 2.0.9
java 1.6.0_10
-
Number of attachments :
Description
If you generate the checkstyle report directly (mvn checkstyle:checkstyle) rather than as part of the site (mvn site) the resultant target/site/checkstyle.html is unstyled as the following styles cannot be resolved:
<style type="text/css" media="all"> @import url("./css/maven-base.css"); @import url("./css/maven-theme.css"); @import url("./css/site.css"); </style>
These styles are part maven site.
Is there any workaround available to generate just enough of the site for this report to work?
You need to use 'mvn site' to get the full site, including style sheets.