On 24.10.24 11:03, Martin Desruisseaux wrote:
About not trying anymore to be clever regarding -source versus -release options, there is good chance that this issue is mot since Maven 4 requires Java 17 for execution. Therefore, users should not have reason to use -source anymore. The concern expressed by Jorge is that asking users to add empty <source/> and <target/> elements in the plugin configuration compromise usability. I agree, but adding those empty elements should be needed only if the user inherited those elements (non-empty) from a parent POM, so they need to override them. Whether it happens often or not is something that we could discover with the beta.
I think this may still be an issue for people using a toolchain to compile it with an older Java version (e.g. people wanting to compile something using Java 8). In these cases, --release may not be available so they have to use --source and --target.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to