title: Can I include java source from multiple projects when running schemagen using the jaxb2-maven-plugin?
body: <p>I have a multi module maven project and I need to build an XML schema from JaxB annotated classes.  These classes are in different maven projects.  Can I use the jaxb2-maven-plugin to generate a single schema by pointing at the source from all of the projects? Perhaps like this ...</p>
  
  <pre><code>&lt;configuration&gt;
      ...
      &lt;includes&gt;    
          &lt;include&gt;../OtherProj1/src/main/java/**/*.java&lt;/include&gt;
          &lt;include&gt;../OtherProj2/src/main/java/**/*.java&lt;/include&gt;
          &lt;include&gt;**/*.java&lt;/include&gt;
      &lt;/includes&gt;
      ...
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Or do I need to create a schema for each project individually and then import them into a parent schema instead?</p>
  
  <p>I am using maven 2.2.1 and jaxb2-maven-plugin 1.3.</p>