title: How to prevent files in a Maven Java import from specific package
body: <p>I have a Maven Java project with two pacakages inside src/main/java</p>
  
  <p>com.myproject.maincode
  com.myproject.resusablecode</p>
  
  <p>Is there any way either through Java or with a Maven plugin/step to prevent the files inside the "com.myproject.resusablecode" package from importing files inside the package "com.myproject.maincode"?</p>