title: Error while using Apache CXF Codegen Plugin in pom.xml.Error in execution tag while trying to update the maven. How to resolve this?
body: <pre><code>    &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
                  &lt;artifactId&gt;cxf-codegen-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.3.0&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;generate-sources&lt;/id&gt;
                          &lt;phase&gt;generate-sources&lt;/phase&gt;
                          &lt;configuration&gt;
                              &lt;sourceRoot&gt;${project.build.directory}/generated/cxf&lt;/sourceRoot&gt;
                              &lt;wsdlOptions&gt;
                                  &lt;wsdlOption&gt;
                                      &lt;wsdl&gt;${basedir}/src/main/resources/CustomerOrders.wsdl&lt;/wsdl&gt;
                                      &lt;wsdlLocation&gt;classpath:CustomerOrders.wsdl&lt;/wsdlLocation&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;
  &lt;/build&gt;
  </code></pre>
  <p>I am trying to generate stubs from the WSDL file using Apache CXF-Codegen plugin.
  Error in execution tag while trying to update the maven.Tried enclosing the plugin in pluginManagement tag but no result whatsoever.</p>