I have this problem with the dependency analyzer. I want to enter a rule for checking that the classes in an api dir do not use any classes outside this api dir... but it invariably includes java.* classes as part of the check. So, obviously every class in my api violates the rule.
Trying to explicitly remove java.* from the scope does not seem to help. here is the rule as I have it:
com.abs..* && !com.abs.api..*
in other words: Everything that is not in my api but at least in my root package. I have also tried adding " && !java.*" explixcitly but without any success...
... any ideas.