Project

General

Profile

bug #6240

maven javadoc plugin fails with java 1.8

Added by Andreas Kohlbecker about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
12/05/2016
Due date:
% Done:

100%

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 projects Feedback 12/05/2016

Associated revisions

Revision 31adf9f4 (diff)
Added by Andreas Kohlbecker about 2 years ago

fix #6240 disabling doclint in javadoc for jdk.8

Revision b139097d (diff)
Added by Andreas Kohlbecker about 2 years ago

fix #6240 disabling doclint in javadoc for jdk.8

Revision 99f6d804 (diff)
Added by Andreas Kohlbecker over 1 year ago

#6241 disabling doclint in javadoc-plugin

Revision d2fbb2f5 (diff)
Added by Andreas Kohlbecker over 1 year ago

ref #6240 ref #6241 disabling doclint in javadoc for jdk.8

History

#1 Updated by Andreas Kohlbecker about 2 years ago

  • Related to bug #6241: fix java doc problems in projects added

#2 Updated by Andreas Kohlbecker about 2 years ago

  • Description updated (diff)
  • Category set to cdmlib

#3 Updated by Andreas Kohlbecker about 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#4 Updated by Andreas Müller almost 2 years ago

  • Assignee changed from Andreas Kohlbecker to Patrick Plitzner
  • Priority changed from New to Highest
  • Target version set to Release 4.6

#5 Updated by Patrick Plitzner almost 2 years ago

  • Related to deleted (bug #6241: fix java doc problems in projects)

#6 Updated by Patrick Plitzner almost 2 years ago

  • Duplicated by bug #6241: fix java doc problems in projects added

#7 Updated by Andreas Kohlbecker over 1 year ago

  • Duplicated by deleted (bug #6241: fix java doc problems in projects)

#8 Updated by Andreas Kohlbecker over 1 year ago

  • Related to bug #6241: fix java doc problems in projects added

#9 Updated by Patrick Plitzner over 1 year ago

  • Target version changed from Release 4.6 to Release 4.9

#10 Updated by Patrick Plitzner over 1 year ago

  • Target version changed from Release 4.9 to Release 4.10
  • Severity changed from blocker to normal

#11 Updated by Patrick Plitzner over 1 year ago

  • Related to deleted (bug #6241: fix java doc problems in projects)

#12 Updated by Patrick Plitzner over 1 year ago

  • Copied to bug #6241: fix java doc problems in projects added

#13 Updated by Patrick Plitzner over 1 year ago

  • Status changed from Resolved to Closed

remaining issues -> #6241

#14 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.10 to Release 4.8
  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)