title: How to generate classes from wsdl using Maven and wsimport?
body: <p>When I attempt to run "mvn generate-sources" this is my output : </p>
  
  <pre><code>SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  SLF4J: Defaulting to no-operation (NOP) logger implementation
  SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  [INFO] Scanning for projects...
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building gensourcesfromwsdl 0.0.1-SNAPSHOT
  [INFO] ------------------------------------------------------------------------
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.104s
  [INFO] Finished at: Tue Aug 20 15:41:10 BST 2013
  [INFO] Final Memory: 2M/15M
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>I do not receive any errors but there are no java classes generated from the wsdl file.</p>
  
  <p>Here is my pom.xml file that I'm running the plugin against : </p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;gensourcesfromwsdl&lt;/groupId&gt;
      &lt;artifactId&gt;gensourcesfromwsdl&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  
      &lt;build&gt;
          &lt;pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                      &lt;artifactId&gt;jaxws-maven-plugin&lt;/artifactId&gt;
                      &lt;version&gt;1.12&lt;/version&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;wsimport&lt;/goal&gt;
                              &lt;/goals&gt;
                              &lt;configuration&gt;
                                  &lt;wsdlLocation&gt;http://mysite/firstwsdl.asmx?wsdl&lt;/wsdlLocation&gt;
                                  &lt;packageName&gt;com&lt;/packageName&gt;
                              &lt;/configuration&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/pluginManagement&gt;
      &lt;/build&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>What am I doing wrong ? The package <code>com</code> exists in the project 'gensourcesfromwsdl' and the wsdl location is valid.</p>
  
  <p>When I run <code>wsimport</code> via the command line : ><code>wsimport -keep -verbose http://mysite/firstwsdl.asmx?wsdl</code> the class is generated.</p>