Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2854

Doclint for Javadoc fails on JDK 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0.3, 6.1.1, 7.0.0.M1, 7.0.0
    • None
    • None

    Description

      Generating javadoc with J8 fails with following error

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on project cxf-jaxrs-blueprint: MavenReportException: Error while creating archive:
      [ERROR] Exit code: 1 - Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:63: error: self-closing element not allowed
      [ERROR] * <p/>
      [ERROR] ^
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:65: error: self-closing element not allowed
      [ERROR] * <p/>
      [ERROR] ^
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:77: warning: no @param for id
      [ERROR] public Customer getCustomer(@ApiParam(value = "ID of Customer to fetch", required = true) @PathParam("id") String id) {
      [ERROR] ^
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:77: warning: no @return
      [ERROR] public Customer getCustomer(@ApiParam(value = "ID of Customer to fetch", required = true) @PathParam("id") String id) {
      [ERROR] ^
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:87: error: self-closing element not allowed
      [ERROR] * <p/>
      [ERROR] ^
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:91: error: self-closing element not allowed
      [ERROR] * <p/>
      [ERROR] ^
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:103: warning: no @param for customer
      [ERROR] public Response updateCustomer(@ApiParam(value = "Customer object that needs to be updated", required = true) Customer customer) {
      [ERROR] ^
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:103: warning: no @return
      [ERROR] public Response updateCustomer(@ApiParam(value = "Customer object that needs to be updated", required = true) Customer customer) {
      [ERROR] ^
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:121: error: self-closing element not allowed
      [ERROR] * <p/>
      [ERROR] ^
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:126: error: self-closing element not allowed
      [ERROR] * <p/>
      [ERROR] ^
      [ERROR] /home/kso/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-jaxrs-blueprint/src/main/java/org/apache/servicemix/examples/cxf/jaxrs/CustomerService.java:134: warning: no @param for customer
      [ERROR] public Response addCustomer(@ApiParam(value = "Customer object that needs to be updated", required = true)
      

      Attachments

        Activity

          People

            sobkowiak Krzysztof Sobkowiak
            sobkowiak Krzysztof Sobkowiak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: