title: JAXB2-maven only builds in target
body: <p>I'm on my first Java-Spring project. I need to communicate with a couple of webservices. I have some WSDL's provided, so i'm using Jax2B to autogenerate classes.</p>
  
  <pre><code>&lt;plugin&gt;
                  &lt;groupId&gt;org.jvnet.jaxb2.maven2&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-jaxb2-plugin&lt;/artifactId&gt;
                  &lt;version&gt;0.9.0&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;generate&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;configuration&gt;
                      &lt;schemaLanguage&gt;WSDL&lt;/schemaLanguage&gt;
                      &lt;generatePackage&gt;hello.wsdl&lt;/generatePackage&gt;
                      &lt;forceRegenerate&gt;true&lt;/forceRegenerate&gt;
                      &lt;schemas&gt;
                          &lt;schema&gt;
                              &lt;url&gt;http://wsf.cdyne.com/WeatherWS/Weather.asmx?wsdl&lt;/url&gt;
                          &lt;/schema&gt;
                      &lt;/schemas&gt;
  
                  &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>My project is a web project. The problem here is, my classes are generated in the targets folder, and not in my project. Does somebody have ideas how to fix this? Classes are generated properly, but not at the proper directory. As you can see, i'm using a test wsdl and mockup names at the moment. I followed this tutorial: <a href="http://spring.io/guides/gs/consuming-web-service/" rel="nofollow">http://spring.io/guides/gs/consuming-web-service/</a></p>
  
  <p>Many thanks in advance</p>