title: jaxws-maven-plugin fail to run wsimport (ErrorListener)
body: <p>I am stuck since yesterday on this problem.
  I am using Maven 2 on Windows:</p>
  <pre><code>Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
  </code></pre>
  <p>And in my POM I use the plugin <code>jaxws-maven-plugin</code> as this:</p>
  <pre class="lang-xml prettyprint-override"><code>    &lt;plugin&gt;
          &lt;groupId&gt;org.jvnet.jax-ws-commons&lt;/groupId&gt;
          &lt;artifactId&gt;jaxws-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.2&lt;/version&gt;
          &lt;executions&gt;
              &lt;execution&gt;
                  &lt;goals&gt;
                      &lt;goal&gt;wsimport&lt;/goal&gt;
                  &lt;/goals&gt;
              &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;configuration&gt;
              &lt;wsdlFiles&gt;
                  &lt;wsdlFile&gt;${basedir}/src/main/resources/MyService.wsdl
                  &lt;/wsdlFile&gt;
              &lt;/wsdlFiles&gt;
              &lt;packageName&gt;my.package.name&lt;/packageName&gt;
          &lt;/configuration&gt;
      &lt;/plugin&gt;
  </code></pre>
  <p>When I run <code>mvn compile</code> I get the following error :</p>
  <pre><code>[INFO] jaxws:wsimport args: [-keep, -s, D:\myService\target\generated-sources\wsimport, -Xnocompile, -p, my.service.name, file:/D:/myService/src/main/resources/MyService.wsdl]
  [INFO] ------------------------------------------------------------------------
  [ERROR] BUILD ERROR
  [INFO] ------------------------------------------------------------------------
  [INFO] Error executing: wsimport [-keep, -s, D:\myService\target\generated-sources\wsimport, -Xnocompile, -p, my.service.name, file:/D:/myService/src/main/resources/MyService.wsdl]
  
  Embedded error: com/sun/tools/xjc/api/ErrorListener
  com.sun.tools.xjc.api.ErrorListener
  </code></pre>
  <p>I tried :</p>
  <ul>
  <li><p>Adding a Windows env variable <code>MAVEN_OPT</code> with value <code>-Xmx768M -Xms768M -XX:PermSize=256m</code></p>
  </li>
  <li><p>To launch <code>wsimport</code> myself, and it is working :</p>
  <pre><code>wsimport -keep -s D:\myService\target\generated-sources\wsimport -Xnocompile -p my.service.name file:/D:/myService/src/main/resources/MyService.wsdl
  </code></pre>
  </li>
  </ul>
  <p>So anyone knows what could mean:</p>
  <pre><code>Embedded error: com/sun/tools/xjc/api/ErrorListener
  
  com.sun.tools.xjc.api.ErrorListener
  </code></pre>