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

Various java2wadl-plugin improvements

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.3
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown
    • Flags:
      Patch

      Description

      1. The java2wadl-plugin is still using maven-javadoc-plugin 2.9.1 (while root pom.xml sets 2.10.3).
      2. Several WadlGenerator's options are missing from Java2WADLMojo's configuration
      3. I have troubles when running the plugin:
      [ERROR] Failed to execute goal org.apache.cxf:cxf-java2wadl-plugin:3.1.3-SNAPSHOT:parsejavadoc (parsejavadoc) on project syncope-common-rest-api: Failed to generate javadoc: org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(java.util.Locale) -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.cxf:cxf-java2wadl-plugin:3.1.3-SNAPSHOT:parsejavadoc (parsejavadoc) on project syncope-common-rest-api: Failed to generate javadoc
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
              at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
              at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
              at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to generate javadoc
              at org.apache.cxf.maven_plugin.javatowadl.ParseJavaDocMojo.execute(ParseJavaDocMojo.java:223)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
              ... 20 more
      Caused by: java.lang.NoSuchMethodException: org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(java.util.Locale)
              at java.lang.Class.getMethod(Class.java:1786)
              at org.apache.cxf.maven_plugin.javatowadl.ParseJavaDocMojo.execute(ParseJavaDocMojo.java:219)
              ... 22 more
      

        Attachments

        1. CXF-6563.diff
          4 kB
          Francesco Chicchiriccò

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: