Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3050

java.lang.NoClassDefFoundError using Maven 3 and org.apache.cxf:cxf-java2ws-plugin:2.2.10:java2ws

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.2.10
    • 2.3
    • None
    • None

    Description

      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 {
        /**

      Attachments

        Activity

          People

            Unassigned Unassigned
            vsiveton Vincent Siveton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: