Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Currently, the character encoding for source files needs to be configured individually for each and every plugin that processes source files.

Life would become easier if there was a dedicated POM element like ${project.build.sourceEncoding} which could be used to specify the encoding once per entire project.

Affected Apache plugins:

  • maven-compiler-plugin
  • maven-javadoc-plugin
  • maven-resources-plugin
  • maven-plugin-plugin
  • maven-jxr-plugin
  • maven-pmd-plugin
  • maven-changes-plugin

Affected Mojo plugins:

  • taglist-maven-plugin

Please see [0] for the related thread from the mailing list, and [1] for some further descriptions.

[0] http://www.nabble.com/POM-Element-for-Source-File-Encoding-to14930345s177.html

[1] http://www.nabble.com/Re%3A-Maven-and-File-Encoding-p16301958s177.html

  • No labels