Hello Le 2024-11-11 à 13 h 16, Grégory Jevardat De Fombelle a écrit :
I have difficulties finding documentation on the support of Java arguments files on the maven compiler plugin. I'd like to put my long classpath in a file and use it as in javac documentation for : javac @classpath ....
I think that the support of "@option-file" syntax is specific to the javac command tool. which would expand this option before to pass it to the compiler. I just verified that "@option-file" is not supported by javax.tools.JavaCompiler. Maven 3 uses the Plexus compiler, but I presume that it doesn't expand that option neither.
I don't know if we want to add similar functionality to Maven compiler plugin. But if so, it would be useful to know why options in a file are desired, in order to see if it would be possible to do the same in a more "Maven way".
Martin --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org