maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MCHECKSTYLE-85) Make tests platform-independent
Date Sat, 02 Feb 2008 20:03:58 GMT
Make tests platform-independent
-------------------------------

                 Key: MCHECKSTYLE-85
                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-85
             Project: Maven 2.x Checkstyle Plugin
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Benjamin Bentmann
            Priority: Trivial
         Attachments: checkstyle-test-locale.patch

The test suite of the plugin uses the the JVM's default locale to get its resource bundle.
However, {{AbstractMavenReport.execute()}} will always use the English locale when calling
{{MavenReport.generate()}}. Hence, the tests will search for say German strings in a report
generated from English resources...

By the way, the current head of the maven-reporting-impl simply throws a {{MojoExecutionException}}
from {{AbstractMavenReport.execute()}}. All tests will fail once the plugin updates its dependencies.
Not to mention that the report cannot be generated from the command line any more, pitty.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message