title: CXF maven plugin generate classes in wrong directory
body: <p>I'm using maven cxf-codegen-plugin to generate java web service files from wsdl.
  The plugin works fine if I'm trying to generate the files in the default output directory
  (target\generated-sources\cxf), 
  but if I'm trying to generate them in other directory by using:</p>
  
  <pre><code>&lt;sourceRoot&gt;src/main/myOtherDir&lt;/sourceRoot&gt;
  </code></pre>
  
  <p>in my pom.xml,
  the files are generated <strong>only</strong> if I do:</p>
  
  <pre><code>mvn clean eclipse:eclipse
  </code></pre>
  
  <p>If I do </p>
  
  <pre><code>mvn eclipse:eclipse 
  </code></pre>
  
  <p>without 'clean' the files are not generated...</p>
  
  <p>Does anyone have any idea....?</p>
  
  <p>My pom:</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
              &lt;artifactId&gt;cxf-codegen-plugin&lt;/artifactId&gt;
              &lt;version&gt;${cxf.version}&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;generate-sources&lt;/id&gt;
                      &lt;configuration&gt;
                          &lt;sourceRoot&gt;src/main/myOtherDir&lt;/sourceRoot&gt; 
                          &lt;wsdlOptions&gt;
                              &lt;wsdlOption&gt;
                                  &lt;wsdl&gt;src/main/resources/wsdl/AccountWS.wsdl&lt;/wsdl&gt;
                              &lt;/wsdlOption&gt;
                          &lt;/wsdlOptions&gt;
                      &lt;/configuration&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;wsdl2java&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  </code></pre>
  
  <p>Thanks,
  Alon</p>