...
The following classes and/or methods indicate usage of the JVM's default encoding and hence should be reviewed:
String(byte[])String.getBytes()FileReaderFileWriterPrintWriter(File)(new in JDK 5)PrintWriter(OutputStream)(new in JDK 5)InputStreamReader(InputStream)OutputStreamWriter(OutputStream)ReaderFactory.newPlatformReader()WriterFactory.newPlatformWriter()FileUtils.fileRead(String)FileUtils.fileRead(File)FileUtils.fileWrite(String, String)FileUtils.fileAppend(String, String)IOUtils.toString(InputStream)IOUtils.toString(InputStream, int)
Plugins to Modify
Build plugins are highlighted, since the impact of the change is more critical to the built artifact than reporting plugins.
Affected Apache plugins:
- maven-changes-plugin (velocity template for announcement): MCHANGES-71, done in 2.1
- maven-checkstyle-plugin (source analysis): MCHECKSTYLE-95, done in 2.2
- maven-compiler-plugin (source processing): MCOMPILER-70, done in 2.1
- maven-invoker-plugin (beanshell script evaluation): MINVOKER-30, done in 1.2
- maven-javadoc-plugin (source processing): MJAVADOC-182, done in 2.5
- maven-jxr-plugin (source processing): JXR-60, done in 2.2
- maven-plugin-plugin (javadoc extraction, java source generation): MPLUGIN-101, MPLUGIN-100, done in 2.5
- maven-pmd-plugin (source analysis): MPMD-76, done in 2.4
- maven-resources-plugin (contents filtering): MRESOURCES-57, done in 2.3
- maven-site-plugin (apt sources): MSITE-314, done in 2.0-beta-7
Affected Codehaus plugins:
- findbugs-maven-plugin: (no Jira issue), done in 2.2
- jalopy-maven-plugin: MOJO-1138, done in 1.0-alpha-2-SNAPSHOT
- javancss-maven-plugin: MJNCSS-31
- modello-maven-plugin/modello-core (java source generation): MODELLO-109, done in 1.0-alpha-19
- native2ascii-maven-plugin
- plexus-component-metadata (formerly plexus-maven-plugin) (javadoc extraction): PLX-371, done in 1.0-beta-3.0.4
- shitty-maven-plugin (groovy script evaluation)
- simian-maven-plugin
- taglist-maven-plugin (javadoc extraction): MTAGLIST-27, done in 2.3
References
Please see [0] for the related thread from the mailing list, [1] for some further descriptions and [2] for a similar feature request in JIRA. Also note a related proposal for the output encoding of reports [3].
...
