[ https://issues.apache.org/jira/browse/CXF-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919268#action_12919268 ]
Glen Mazza commented on CXF-3050: --------------------------------- I'm not sure how this can be a bug or a blocker, given that Maven 3.0 is still in beta. > 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 > > 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. - You can reply to this email to add a comment to the issue online.