What's the version of cxf are you using? it's been changed to java2ws
http://cwiki.apache.org/CXF20DOC/java-to-ws.html
James
Hi, I've been trying to use the Maven plugin but I'm getting this error.
[INFO] Scanning for projects...
[INFO]
Hello James,
I'm using Apache CXF 2.0.2.
Here's an extract from my pom.xml
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
encodingUTF-8/encoding
plugin
groupIdorg.apache.cxf/groupId
artifactIdcxf-codegen-plugin/artifactId
version2.0-incubator-M1/version
dependencies
dependency
groupIdorg.apache.cxf/groupId
FYI, Cxf2.0.2 still using java2wsdl, so you dont' need to change the
goal to java2ws
If you're using latest trunk, you need to change to java2ws, CXF2.0.2 is
the last version which using java2wsdl
Besides, your version
version2.0-incubator-M1/version
is not correct
Try the
2.0.2-incubator