5
votes

Why am I seeing this error in my pom.xml file when I'm adding the apache cxf plugin?

Plugin execution not covered by lifecycle configuration: org.apache.cxf:cxf-codegen-plugin:2.5.4:wsdl2java (execution: generate-sources, phase: generate-sources)

2

2 Answers

5
votes

Or move to 2.6.3/2.7.0 that has the M2E lifecylce stuff embedded in it so there is no need for the connector. That also has the benefit of wiring warnings and such coming from the code generation right into the eclipse warning systems.

2.7.1-SNAPSHOT has a bunch of other fixes related to the m2e things as well.

3
votes

You need to install m2e-cxf-codegen-connector from here. Also you may have a problem with latest versions of Eclipse, so please also check this issue.