title: wsimport/xjc command line plugins
body: <p>I have just successfully used a wsimport/xjc plugin named <a href="https://github.com/dmak/jaxb-xew-plugin" rel="nofollow noreferrer">xew</a> with maven, using <a href="https://stackoverflow.com/questions/15246950/how-to-get-maven-jaxws-plugin-to-generate-xmlelementwrapper-on-classes-generate">this</a> post. </p>
  
  <p>Using Maven for this at my company is currently not an option, so I'm trying to use the wsimport utility from the Java 7 SDK.</p>
  
  <p>How do I tell wsimport to include the xew xjc plugin when importing my WSDL?</p>
  
  <p>My current command line is:</p>
  
  <pre><code>wsimport -Xdebug -s src\main\java -d target\classes -extension -B-extension -B-classpath target\dependency\*:. -B-Xxew:instantiate lazy -B-Xxew:delete src\main\java\test.wsdl
  </code></pre>
  
  <p>It won't eat the -B parameters yet though: <code>no such JAXB option: -Xxew</code>.
  The xew plugin and jaxb-xjc.jar are in the working directory and on the system CLASSPATH.</p>