0
我將Checkstyle添加到我的Maven項目中,並生成報告,但是圖像/樣式鏈接已損壞。 target/site/images/
只包含rss.png。我怎樣才能使它與圖像正確生成報告?Checkstyle報告不顯示圖像
下面是相關的部分從我的pom.xml:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.5</version>
</plugin>
我的IntelliJ通過運行帶有jxr:jxr checkstyle:checkstyle
行家。我也嘗試了不同來源的不同配置文件(checkstyle.xml)。
您可以顯示「checkstyle.xml」嗎? –
checkstyle.xml:http://pastebin.com/hZmkD6XH –