You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Priya Krishnamaraju <pr...@pearson.com> on 2013/09/18 11:48:48 UTC

Lifecycle configuration error on cxf-java2ws-plugin

Hi,



Iam trying to convert an existing CXF JAX-WS in eclipse to maven. Earlier
in eclipse the bean.xml and the required wsdl s were generated using the
eclipse Create WebService utility with Web Service runtime as Apache
CXF2.x. I have the below questions regarding the standard procedure to
generate the bean.xml and wsdl files in a maven version of the project.



1.    Can eclipse create web service be still used to create the bean.xml
and wsdl while the maven will be used to build and deploy the project. Is
this a breach of any standard?

2.    On trying to use cxf-java2ws-plugin , the pom xml is earring with a
lifecycle  configuration error. The details are as below. Can anyone please
guide us with the mentioned issue?

Pom.xml entry – see attached pomentry.txt

Bean.xml - attached

Error - Plugin execution not covered by lifecycle configuration:
org.apache.cxf:cxf-java2ws-plugin:2.7.5:java2ws (execution:
process-classes, phase: process-classes)

CXF version – 2.7.5

Eclipse – Kepler

3.    When using cxf-java2ws-plugin, should the bean.xml be manually coded?



It will be of great help if anyone can guide us on the above mentioned
issues.



Thanks

Priya K