Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Thus plugins could immediately be modified to use ${project.reporting.outputEncoding} expression, whatever Maven version is used.

Default Value

Actually, some plugins use ISO-8859-1 as default output encoding (maven-site-plugin, maven-jxr-plugin), others UTF-8 (cobertura-maven-plugin), or even platform encoding (maven-javadoc-plugin).

...

This default value can be coded in POM model too for 2.1.x (default value of the encoding attribute) and in super-pom in Maven 2.0.x. But this change is only for clarity since without it, the previous check coded in every plugin will transform null value to the chosen default value.

Plugins to Modify

Affected Apache plugins:

  • maven-site-plugin
  • maven-javadoc-plugin
  • maven-jxr-plugin

...