title: Maven - xmlbeans : working with multiple schema files to generate a single jar file
body: <p>I have different service schema files(more than 5), from which I wanted to generate a jar file using xmlbeans.</p>
  
  <p>I was using xmlbean plugin as follows </p>
  
  <pre><code>&lt;plugins&gt;
      &lt;plugin&gt;
          &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
          &lt;artifactId&gt;xmlbeans-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;${xmlbeans.version}&lt;/version&gt;
          &lt;executions&gt;
              &lt;execution&gt;
                  &lt;goals&gt;
                      &lt;goal&gt;xmlbeans&lt;/goal&gt;
                  &lt;/goals&gt;
                  &lt;phase&gt;compile&lt;/phase&gt;
              &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;inherited&gt;true&lt;/inherited&gt;
          &lt;configuration&gt;
              &lt;download&gt;true&lt;/download&gt;
              &lt;javaSource&gt;${java.version}&lt;/javaSource&gt;
              &lt;schemaDirectory&gt;src/main/xsd&lt;/schemaDirectory&gt;
              &lt;xmlConfigs&gt;
                  &lt;xmlConfig implementation="java.io.File"&gt;src/main/xsdconfig/xsdconfig.xml&lt;/xmlConfig&gt;
              &lt;/xmlConfigs&gt;
          &lt;/configuration&gt;
      &lt;/plugin&gt;
  &lt;/plugins&gt;
  </code></pre>
  
  <p>I want to have different package name for different service schema. How to specify that and where to provide the schema path and xsdConfig file to apply the package details.</p>
  
  <p>Please advice.</p>