Error Maven cxf Plugin

Why do I see this error in my pom.xml file when I add the apache cxf plugin?

Plugin execution does not extend to the life cycle configuration: org.apache.cxf: cxf-codegen-plugin: 2.5.4: wsdl2java (execution: generate-sources, phase: generate-sources)

+4
source share
2 answers

Or go to 2.6.3 / 2.7.0, which has an M2E lifecycle environment built into it, so there is no need for a connector. It also has the advantage of wiring warnings and, as a consequence, of code generation in eclipse warning systems.

2.7.1-SNAPSHOT has many other fixes related to m2e things.

+5
source

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

+3
source

Source: https://habr.com/ru/post/1446277/


All Articles