title: How to use Spring ROO with a maven multi-module project?
body: <p>I'm trying to use Spring Roo (1.2.4) with a maven multi-module project and having a lot of difficulties.  My entities are declared in one module and the webapp in another.  Obviously the webapp has the entities module listed as a dependency.</p>
  
  <p>However, whenever I open the ROO shell in the webapp, I cannot generate any of the Roo Aspects for any @Roo annotated type.  For example, </p>
  
  <pre><code>@RooService(domainTypes = { com.ia.domain.User.class })
  </code></pre>
  
  <p>has no impact unless my webapp project contains the <code>com.ia.domain.User</code> class.  If I keep that entity in a separate module, ROO does not generate any of the Service aspects.  If I add the entity to my webapp project, ROO will generate the necessary aspects:</p>
  
  <pre><code>Created SRC_MAIN_JAVA/com/ia/service/UserService_Roo_Service.aj
  Created SRC_MAIN_JAVA/com/ia/service/UserServiceImpl_Roo_Service.aj
  </code></pre>
  
  <p>However, once I delete the User class from my project and leave it in my dependency, Roo deletes the aspects:</p>
  
  <pre><code>Deleted SRC_MAIN_JAVA/com/ia/service/UserService_Roo_Service.aj - empty
  Deleted SRC_MAIN_JAVA/com/ia/service/UserServiceImpl_Roo_Service.aj - empty
  </code></pre>
  
  <p>Is there a special way to configure Roo to support multi-modules, or is this a limitation of Roo?  Am I stuck without Roo for this project?</p>