maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Vollmer (JIRA)" <>
Subject [jira] Created: (MCHECKSTYLE-126) Generated HTML page contains "charset=${outputEncoding}"
Date Thu, 19 Nov 2009 09:41:55 GMT
Generated HTML page contains "charset=${outputEncoding}"

                 Key: MCHECKSTYLE-126
             Project: Maven 2.x Checkstyle Plugin
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: Maven 2.2.1
JDK 1.6.0_17
Windows XP Professional SP2 (German version)
            Reporter: Stephan Vollmer
            Priority: Minor
         Attachments: checkstyle.html


when I generate a Checkstyle report with the command {{mvn checkstyle:checkstyle}}, the resulting
HTML file {{target/site/checkstyle.html}} contains the literal string {{charset=$\{outputEncoding\}}}.
Instead, the variable should be substituted with the actual encoding, i. e. UTF-8. I attached
the resulting HTML file to this issue.

When the Checkstyle plugin is invoked during site generation (with {{mvn site}}) the encoding
is set correctly.

This issue is visible when the checkstyle report is created in german and the german special
characters aren't rendered correctly.

Here is the relevant HTML fragment:
<html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=${outputEncoding}" />
    <title>Checkstyle Ergebnisse</title>


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message