Project

General

Profile

Actions

bug #6240

closed

maven javadoc plugin fails with java 1.8

Added by Andreas Kohlbecker over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Highest
Assignee:
Patrick Plitzner
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:
Tags:

Description

the maven javadoc plugin fails with java 1.8

this occurred firstly in the cdm-vaadin-RLS-FINISH jenkins job an was reproduce-able locally. The maven javadoc plugin reports a lot of warings and errors and in the end it fails (log from local run of mvn javadoc:javadoc -X below).

According to http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incompletemvn a interim solution is to disable doclint for jdk1.8, much more recommendet however is fixing the javadoc problems in the code. ---> #6241

log:

...
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/ui/ConceptRelationshipUIRedirect.java:28: error: unknown tag: date
 * @date 9 Apr 2015
   ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/container/CdmSpringConnectionPool.java:19: error: unknown tag: date
 * @date 9 Mar 2015
   ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/container/IdUuidName.java:16: error: unknown tag: date
 * @date 7 Apr 2015
   ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/container/LeafNodeTaxonContainer.java:38: error: unknown tag: date
 * @date 10 Mar 2015
   ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/container/LeafNodeTaxonContainer.java:71: error: @param name not found
     * @param delegate
              ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/container/LeafNodeTaxonContainer.java:71: warning: no description for @param
     * @param delegate
       ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/container/LeafNodeTaxonContainer.java:72: warning: no description for @throws
     * @throws SQLException
       ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/container/LeafNodeTaxonContainer.java:74: warning: no @param for classificationId
    public LeafNodeTaxonContainer(int classificationId) throws SQLException {
           ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/container/TaxonNodeContainer.java:48: warning: no description for @param
     * @param parent
       ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/jscomponent/D3ConceptRelationshipTree.java:40: error: unknown tag: date
 * @date 8 Apr 2015
   ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/jscomponent/D3ConceptRelationshipTreeState.java:16: error: unknown tag: date
 * @date 8 Apr 2015
   ^
/home/andreas/workspaces/cdm/cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/statement/CdmStatementDelegate.java:27: error: unknown tag: date
 * @date 10 Mar 2015
   ^

Command line was: /opt/java-oracle/jdk1.8.0_60/jre/../bin/javadoc @options @packages

Refer to the generated Javadoc files in '/home/andreas/workspaces/cdm/cdm-vaadin/target/site/apidocs' dir.

        at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeJavadocCommandLine(AbstractJavadocMojo.java:5188)
        at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:2075)
        at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:130)
        at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:318)
        ... 21 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


Related issues

Copied to EDIT - bug #6241: fix java doc problems in projectsFeedbackAndreas Müller

Actions
Actions

Also available in: Atom PDF