title: Run XJC with maven
body: <p>I want simply generate ‌JAXB object with XJC. It's very easy with command line:</p>
  
  <pre><code>xjc -d generated-sources http://www.kbcafe.com/rss/atom.xsd.xml
  </code></pre>
  
  <p>Is there anyway to simply generate the source with Maven. I've tried to use jaxb2-maven-plugin and apache xcf but none of them worked. They did not support URL (just file) and when I put the file locally, it asks for remote resources and when I also download them, it says it has no permission to use XSD or DTD file locally! (I'm using Java8)</p>