hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Hadoop maven packaging does not work on JAVA 1.8?
Date Mon, 10 Nov 2014 19:50:45 GMT
I can reproduce this.

Tried what was suggested here:
http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete

Though it doesn't seem to work.

On Mon, Nov 10, 2014 at 11:32 AM, Chen He <airbots@gmail.com> wrote:

> "mvn package -Pdist -Dtar -DskipTests" reports following error based on
> latest trunk:
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 11.010 s
>
> [INFO] Finished at: 2014-11-10T11:23:49-08:00
>
> [INFO] Final Memory: 51M/555M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar (module-javadocs)
> on project hadoop-maven-plugins: MavenReportException: Error while creating
> archive:
>
> [ERROR] Exit code: 1 -
>
> ./hadoop/hadoop/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/util/Exec.java:45:
> error: unknown tag: String
>
> [ERROR] * @param command List<String> containing command and all arguments
>
> [ERROR] ^
>
> [ERROR]
>
> ./develop/hadoop/hadoop/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/util/Exec.java:46:
> error: unknown tag: String
>
> [ERROR] * @param output List<String> in/out parameter to receive command
> output
>
> [ERROR] ^
>
> [ERROR]
>
> ./hadoop/hadoop/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/util/FileSetUtils.java:50:
> error: unknown tag: File
>
> [ERROR] * @return List<File> containing every element of the FileSet as a
> File
>
> [ERROR] ^
>
> [ERROR]
>
> [ERROR] Command line was:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/javadoc
> -J-Dhttp.proxySet=true -J-Dhttp.proxyHost=www-proxy.us.oracle.com
> -J-Dhttp.proxyPort=80 @options @packages
>
> [ERROR]
>
> [ERROR] Refer to the generated Javadoc files in
> './hadoop/hadoop/hadoop-maven-plugins/target' 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 :hadoop-maven-plugins
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message