Le 2024-08-07 à 12 h 49, Guillaume Nodet a écrit :

I thought we set the default encoding in the root pom a while ago ?

Apparently not. The default encoding is ${project.build.sourceEncoding}. But if this property is not explicitly set in user's project, we get the warning (tested with Maven 3 and 4).

Note: I would not recommend to change that. In addition of being no-longer necessary since Java 18, a user can also explicitly request the JVM to use native encoding with the `|-Dfile.encoding=COMPAT|` option. If a user has been explicit about that, I don't think that we should override her/his decision.

    Martin

Reply via email to