Skip to content

Instantly share code, notes, and snippets.

@htr3n
Last active July 22, 2018 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save htr3n/5d11b8f4ac8315a0ff3826c7f0da6de5 to your computer and use it in GitHub Desktop.
Save htr3n/5d11b8f4ac8315a0ff3826c7f0da6de5 to your computer and use it in GitHub Desktop.

M2Eclipse Issues

  • 'Plugin execution not covered by lifecycle configuration: org.apache.cxf:cxf-codegen-plugin'
<build>
  <!--
      ... various plugins ...
      -->
  <pluginManagement>
    <plugins>
      <!--This plugin's configuration is used to store Eclipse m2e settings 
                        only. It has no influence on the Maven build itself. -->
      <plugin>
        <groupId>org.eclipse.m2e</groupId>
        <artifactId>lifecycle-mapping</artifactId>
        <version>1.0.0</version>
        <configuration>
          <lifecycleMappingMetadata>
            <pluginExecutions>
              <pluginExecution>
                <pluginExecutionFilter>
                  <groupId>org.apache.cxf</groupId>
                  <artifactId>cxf-codegen-plugin</artifactId>
                  <versionRange>[2.3.3,)</versionRange>
                  <goals>
                    <goal>wsdl2java</goal>
                  </goals>
                </pluginExecutionFilter>
                <action>
                  <execute />
                </action>
              </pluginExecution>
            </pluginExecutions>
          </lifecycleMappingMetadata>
        </configuration>
      </plugin>
    </plugins>
  </pluginManagement>
</build>

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment