[ https://issues.apache.org/jira/browse/CXF-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091351#comment-13091351 ]
Jean-Charles Giardina commented on CXF-3050: -------------------------------------------- I've the same problem with version 2.4.1, but 2.3.0 work. > java.lang.NoClassDefFoundError using Maven 3 and > org.apache.cxf:cxf-java2ws-plugin:2.2.10:java2ws > ------------------------------------------------------------------------------------------------- > > Key: CXF-3050 > URL: https://issues.apache.org/jira/browse/CXF-3050 > Project: CXF > Issue Type: Bug > Affects Versions: 2.2.10 > Reporter: Vincent Siveton > Priority: Blocker > Fix For: 2.3 > > > Using Maven 2, the Java2WSMojo works fine but fails with Maven 3 > It seems that the Maven tag requiresDependencyResolution is missing > Index: src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java > =================================================================== > --- src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java > (revision 1005691) > +++ src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java > (working copy) > @@ -35,6 +35,7 @@ > /** > * @goal java2ws > * @description CXF Java To Webservice Tool > + * @requiresDependencyResolution compile > */ > public class Java2WSMojo extends AbstractMojo { > /** -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira