message and any attachments thereto are confidential and/or subject to privacy
laws and/or non-disclosure agreements and are intended only for use by the
addressee(s) named above. The writer asserts in respect of this message and
attachments all rights for confidentiality or privacy to the fullest extent
permitted by law.
> I was wondering - is it possible to instruct the compiler plug-in to
> exclude source files even if they are referenced directly by other source
It depends what you're trying to do.
You can exclude  those files, but then because the maven-compiler-plugin
sets the sourcepath to your source roots, the files will be compiled anyway
if they are referenced by others that are being compiled .
You could use -implicit:none in compilerArgs to prevent the corresponding
*.class file from being generated though. So compilation will succeed, but
the output will be "incomplete" (but maybe that's what you want after all).