How can I ignore IDEA to ignore this warning forever?
Module 'A' sources do not depend on module 'B' sources
Note:
- Basically the warning is correct since A does not use any source code B
- But B contains some annotation processor logic, which is required when compiling A
- So B declares a dependency on A (I use maven and the scope matters
provided), which works fine) - In the dialog
Inspection ResultsI can select βExcludeβ - but this is not permanent: for example, when the analysis is restarted, a warning will appear again - I also do not want to turn off the notification of everything
The only workaround I found is to really add a reference to the A code (for example, in a simple fake check method), but I hope that maybe a better way.
source
share