drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalii Diravka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4547) Javadoc fails with Java8
Date Mon, 02 Apr 2018 15:49:00 GMT

    [ https://issues.apache.org/jira/browse/DRILL-4547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422648#comment-16422648
] 

Vitalii Diravka commented on DRILL-4547:
----------------------------------------

So what is the next step for this Jira? 
I suppose it should be the refactoring of Drill java docs and moving onto Java8 doclint. But
the task is really minor.

> Javadoc fails with Java8
> ------------------------
>
>                 Key: DRILL-4547
>                 URL: https://issues.apache.org/jira/browse/DRILL-4547
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build &amp; Test
>    Affects Versions: 1.6.0
>            Reporter: Laurent Goujon
>            Assignee: Venkata Jyothsna Donapati
>            Priority: Major
>             Fix For: 1.14.0
>
>
> Javadoc cannot be generated when using Java8 (likely because the parser is now more strict).
> Here's an example of issues when trying to generate javadocs in module {{drill-fmpp-maven-plugin}}
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar
(attach-javadocs) on project drill-fmpp-maven-plugin: MavenReportException: Error while creating
archive:
> [ERROR] Exit code: 1 - /Users/laurent/devel/drill/tools/fmpp/src/main/java/org/apache/drill/fmpp/mojo/FMPPMojo.java:44:
error: unknown tag: goal
> [ERROR] * @goal generate
> [ERROR] ^
> [ERROR] /Users/laurent/devel/drill/tools/fmpp/src/main/java/org/apache/drill/fmpp/mojo/FMPPMojo.java:45:
error: unknown tag: phase
> [ERROR] * @phase generate-sources
> [ERROR] ^
> [ERROR] /Users/laurent/devel/drill/tools/fmpp/target/generated-sources/plugin/org/apache/drill/fmpp/mojo/HelpMojo.java:25:
error: unknown tag: goal
> [ERROR] * @goal help
> [ERROR] ^
> [ERROR] /Users/laurent/devel/drill/tools/fmpp/target/generated-sources/plugin/org/apache/drill/fmpp/mojo/HelpMojo.java:26:
error: unknown tag: requiresProject
> [ERROR] * @requiresProject false
> [ERROR] ^
> [ERROR] /Users/laurent/devel/drill/tools/fmpp/target/generated-sources/plugin/org/apache/drill/fmpp/mojo/HelpMojo.java:27:
error: unknown tag: threadSafe
> [ERROR] * @threadSafe
> [ERROR] ^
> [ERROR] 
> [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/bin/javadoc
@options @packages
> [ERROR] 
> [ERROR] Refer to the generated Javadoc files in '/Users/laurent/devel/drill/tools/fmpp/target/apidocs'
dir.
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [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
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :drill-fmpp-maven-plugin
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message