-
Notifications
You must be signed in to change notification settings - Fork 61
plexus-compiler-eclipse does not respect excludes for source #201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think, this is due to the fact, that at Line 77 in 9c6c1a1
config has no *cludes set. My understanding is that this should be (globally) addressed in MCOMPILER, somewhere in AbstractCompilerMojo.execute , where CompilerConfiguration is prepared.
This perhaps could also be patched here, to use
which is already populated (with Line 246 in 9c6c1a1
getSourceFilesForSourceRoot tries to use *cludes but they are empty).
But this was closed as won't fix. @olamy - perhaps this could be re-evaluated and re-opened? |
Well, that might help. But why should the Plexus Eclipse compiler even try to re-scan for the sources when the passed |
FWIW, with #233 |
This is fixed in 2.12.1 which was released yesterday (thanks @olamy btw!). |
Works for my test. |
I am having issues with excludes for source files not working when using
plexus-compiler-eclipse
and<compilerId>eclipse</compilerId>
. It works just fine when using<compilerId>javac</compilerId>
. I have prepared a reproduction test case at https://github.com/wilx/plexus-compiler-eclipse-issue.This is important to work if I want to compile most of the sources with specific Java target and some with different Java target.
The text was updated successfully, but these errors were encountered: