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.

Reply via email to