title: Spring AOP aspect used in a separate module
body: <p>I have an aspect com.x.NiceAspect in one maven project module, and a class com.x.NiceClass in a separate maven module. Those modules have the same POM parent, together creating one project.</p>
  
  <p>The thing I am trying to achieve is to have a universal aspect that I can include in all my maven modules in this project.</p>
  
  <p>Now the pointcut in the NiceAspect is i.e. <strong>execution(* com.x..<em>.set</em>(..))</strong> meaning all setter methods in mine package.</p>
  
  <p>I want this aspect to run with the second module, especially to join NiceClass</p>
  
  <p>How can I achieve this?</p>
  
  <p>Moreover suppose that the Aspect wants an argument of a class that's defined in that second module, then I end up with a circular dependency..</p>
  
  <p>Any help appreciated</p>
  
  <p>Kind regards,</p>
  
  <p>x.</p>