Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1CCA17EAD for ; Mon, 10 Nov 2014 19:51:13 +0000 (UTC) Received: (qmail 23773 invoked by uid 500); 10 Nov 2014 19:51:11 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 23698 invoked by uid 500); 10 Nov 2014 19:51:11 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 23684 invoked by uid 99); 10 Nov 2014 19:51:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2014 19:51:11 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.213.48 as permitted sender) Received: from [209.85.213.48] (HELO mail-yh0-f48.google.com) (209.85.213.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2014 19:51:07 +0000 Received: by mail-yh0-f48.google.com with SMTP id v1so1513222yhn.7 for ; Mon, 10 Nov 2014 11:50:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZeR38MG9S3g7L+LRQHhgSC3mPiC6ygtAjUuu/4eWjiQ=; b=rFCrbeK7EbLJ9C7DCFlZB2tnjrtsma8kkRtD1k/aTj8KJpPS8Z9/eSpGoW4lk66q0G YhoGaXa8LH0ySFpe1wGwDLtVncSy9KC4UwA2owA1HAIOMko3xalZCNPaE8M38xKWSdDt V9E2KcQmJ1o6pbadFSWN9DAQkB3eeT0k8RJZoebIxPZZcJrPg5D0ghrzfRR1QpIdviy+ chFCYwEympvz03h9iE6kyBPMMvzxERH/aMOwO/aC7Dk6eLjsdMfhTkNnNXMFISm588TX SNTpnNDVna98pe3md92WLPAnbYoRewvY6OSVePczPDxMfUHXA6OHuR5hx3+UP7zRpRAY yxBg== MIME-Version: 1.0 X-Received: by 10.236.220.194 with SMTP id o62mr32331381yhp.32.1415649046511; Mon, 10 Nov 2014 11:50:46 -0800 (PST) Received: by 10.170.180.7 with HTTP; Mon, 10 Nov 2014 11:50:45 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Nov 2014 11:50:45 -0800 Message-ID: Subject: Re: Hadoop maven packaging does not work on JAVA 1.8? From: Ted Yu To: "common-dev@hadoop.apache.org" Content-Type: multipart/alternative; boundary=001a11c22f9c8b471a0507867ae1 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c22f9c8b471a0507867ae1 Content-Type: text/plain; charset=UTF-8 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 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 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 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 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 -rf :hadoop-maven-plugins > --001a11c22f9c8b471a0507867ae1--