I have a folder of java sources which I wish to exclude from the compilation.
My folder is under qa/apitests/src/main/java/api/test/omi.
qa/apitests/src/main/java/api/test/omi
I added
Use the Maven Compiler Plugin.
org.apache.maven.plugins maven-compiler-plugin **/api/test/omi/*.java