Maven 2.x Checkstyle Plugin

checkstyle report has no styles unless site is generated

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial 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 :
    0

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?

Activity

Hide
Dennis Lundberg added a comment -

You need to use 'mvn site' to get the full site, including style sheets.

Show
Dennis Lundberg added a comment - You need to use 'mvn site' to get the full site, including style sheets.

People

  • Assignee:
    Unassigned
    Reporter:
    Alison
Vote (2)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: