You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2016/02/03 22:31:39 UTC

[jira] [Created] (SM-2854) Doclint for Javadoc fails on JDK 8

Krzysztof Sobkowiak created SM-2854:
---------------------------------------

             Summary: Doclint for Javadoc fails on JDK 8
                 Key: SM-2854
                 URL: https://issues.apache.org/jira/browse/SM-2854
             Project: ServiceMix
          Issue Type: Bug
            Reporter: Krzysztof Sobkowiak
             Fix For: 6.1.1, 7.0.0.M1, 7.0.0


Generating javadoc with J8 fails with following error

{code}
[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)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)