title: wsimport maven task not working
body: <p>I'm tring to import data from remote wsdl. I have written in maven simple code as below</p>
  
  <pre><code>    &lt;plugin&gt;
       &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
       &lt;artifactId&gt;jaxws-maven-plugin&lt;/artifactId&gt;
       &lt;executions&gt;
           &lt;execution&gt;
               &lt;id&gt;generate-stubs1&lt;/id&gt;
               &lt;phase&gt;process-classes&lt;/phase&gt;
               &lt;goals&gt;
                   &lt;goal&gt;wsimport&lt;/goal&gt;
               &lt;/goals&gt;
               &lt;configuration&gt;
                  &lt;wsdlUrls&gt;
                      &lt;wsdlUrl&gt;http://www.webservicex.com/globalweather.asmx?wsdl&lt;/wsdlUrl&gt;
                  &lt;/wsdlUrls&gt;
                  &lt;packageName&gt;com.sth.remote&lt;/packageName&gt;
               &lt;/configuration&gt;
           &lt;/execution&gt;
       &lt;/executions&gt;
   &lt;/plugin&gt;      
  </code></pre>
  
  <p>And what is strange in behaviour of this script is that it works only the first time. After, for instance "clean install", java code from wsdl is not generated again. And in debug mode I'm getting this output:</p>
  
  <pre><code>[DEBUG] -- end configuration --
  [DEBUG] The wsdl Directory is Q:\workspace\xxx\src\wsdl
  [INFO] No WSDLs are found to process, Specify at least one of the following parameters: wsdlFiles, wsdlDirectory or wsdlUrls.
  </code></pre>
  
  <p>How to resolve this problem ?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I have noticed that this task works in Eclipse background when I delete target directory and then refresh eclipse project so that eclipse would compile code and run this task but via direct invoking <code>mvn jaxws:wsimport</code> not.</p>
  
  <p><strong>UPDATE 2:</strong></p>
  
  <p>What else, it sems that script running via <code>mvn jaxws:wsimport</code> omit my configuration because if I change for instance staleFile</p>
  
  <pre><code>&lt;staleFile&gt;Q:\workspace\xxx\target\jaxws\stale2&lt;/staleFile&gt;
  </code></pre>
  
  <p>I still have in info in debug that default path to staleFile is in use:</p>
  
  <pre><code>&lt;staleFile default-value="${project.build.directory}/jaxws/stale"/&gt;
  ...
  [DEBUG]   (f) staleFile = Q:\workspace\visasin-gwt\target\jaxws\stale
  </code></pre>
  
  <p>Does someone have some idea what is going on ? @dienerd solution not working for me</p>