drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Goujon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-4547) Javadoc fails with Java8
Date Mon, 28 Mar 2016 20:48:25 GMT
Laurent Goujon created DRILL-4547:
-------------------------------------

             Summary: 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 & Test
    Affects Versions: 1.6.0
            Reporter: Laurent Goujon


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
(v6.3.4#6332)

Mime
View raw message