Reputation: 22369
Our module, a maven module named Z depends on A.
A depends on B which depends on C, D
Is there a way to limit in our module Z access only to code/packages directly available in A, so that a build will fail only if Z accesses B, C or D ?
Module/jar B should still be able to access C, D.
How is this done in error-prone?
Examples valued as documentation on error-prone is lacking.
Other questions regarding error-prone of interest:
Examples valued.
Upvotes: 0
Views: 181