...
Adding this element to the POM structure without breaking backward compatibility can only happen in Maven 2.1a future version, yet to be defined (at least after Maven 3.0):
| Code Block | ||
|---|---|---|
| ||
<project>
...
<reporting>
<outputEncoding>UTF-8</outputEncoding>
...
</reporting>
...
</project>
|
For Maven 2.0.x, the value can be defined as an equivalent property:
...
This default value can be coded in POM model too for 2.1.x when available (default value of the encoding outputEncoding 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.
...