Le 2025-04-28 à 15 h 31, Piotr Żygieło a écrit :
Isn't this a case of:
https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Mapping_Collections_and_Arrays:
Indeed, that documentation suggests that the names of the child XML
elements do not matter. I would be inclined to restrict that at least
for the compiler plugin of Maven 4, if there is an agreement on that.
The reason would be to reserve names other than <arg> for future use.
For example, a future version could decide to add <pathArg> which would
be like <arg> except that all occurrences of '/' are replaced by the
platform-specific path separator. Or it could be <jvmArg> for -J options
which would be added only when the JVM is forked.
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org