maven-compiler-plugin
maven-compiler-plugin copied to clipboard
[MCOMPILER-521] Documentation: <exclude> option
Kevin A Shaw opened MCOMPILER-521 and commented
I am working with a multi-module project and need to exclude some source-directories from compilation for only one module (StackOverFlow posting). I have seen examples suggesting that the maven-compiler-plugin can exclude directories with the following code.
I have searched the Apache Maven documentation (link) but this is never mentioned. Is this actually a supported option? If so, could a reference to it be added to the documentation. It would make searching on it so much easier. {{}}
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<excludes>
<exclude>/com/company/conflict-dir/</exclude>
</excludes>
No further details from MCOMPILER-521