title: Multiple packaging in Maven
body: <p>I have a project in which there are few components like A, B and C. All the components are exposing rest interfaces that other components are consuming. So, I am using ant to product A.war, A-services.jar, B.war, B-services.jar, C.war, C-services.jar.</p>
  
  <p>A-services.jar contain the interface declarations for B and C.
  B-services.jar contain the interface declarations for A and C.
  C-services.jar contain the interface declarations for A and B.</p>
  
  <p>I want to migrate it to Maven. But I have read at some places, it is not a good idea to have a single pom produce multiple packages like <strong>A-services.jar</strong> and <strong>A.war</strong>. What should be the best way to go for that.</p>