title: ArchUnit: How to avoid dependency violation to java classes
body: <p>I want to verify, that classes within a given package, only refer to classes that reside in the package itself. However I get a violation, telling me that the a class depends on e.g. java.lang.String, which is totally ok for me. Is there a way to ignore the basic java packages?</p>
  
  <pre class="lang-java prettyprint-override"><code>        @ArchTest
          static final ArchRule zeroDependencyOfDomain = noClasses().that()
              .resideInAPackage("..domain..")
              .should().dependOnClassesThat()
              .resideOutsideOfPackages("..domain..");
  </code></pre>