Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A3309A5E for ; Sat, 14 Apr 2012 00:09:15 +0000 (UTC) Received: (qmail 37084 invoked by uid 500); 14 Apr 2012 00:09:13 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 37029 invoked by uid 500); 14 Apr 2012 00:09:12 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 37019 invoked by uid 99); 14 Apr 2012 00:09:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 00:09:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ekoontz@hiro-tan.org designates 75.144.245.249 as permitted sender) Received: from [75.144.245.249] (HELO hiro-tan.org) (75.144.245.249) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 00:09:07 +0000 Received: from mac.foofers.org (unknown [10.1.10.130]) by hiro-tan.org (Postfix) with ESMTP id CEB1B2180F8 for ; Fri, 13 Apr 2012 17:47:55 -0700 (PDT) Message-ID: <4F88C00A.4000002@hiro-tan.org> Date: Fri, 13 Apr 2012 17:08:42 -0700 From: Eugene Koontz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: users@maven.apache.org Subject: Need to pass munge directives to 'mvn site:site' X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm trying to debug an error in running 'mvn site:site' within the Apache Giraph project's top-level directory. The pom.xml is here: https://github.com/apache/giraph/blob/trunk/pom.xml Note that there is a default profile, hadoop_0.20.203. This profile has the munge symbols HADOOP_NON_SASL_RPC,HADOOP_NON_INTERVERSIONED_RPC which are used control conditional compilation. This works fine for some goals, like "mvn test" and "mvn verify". However, when I try to do "mvn site:site" it fails due to a Java compile error: [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/ec2-user/giraph/src/main/java/org/apache/giraph/comm/BasicRPCCommunications.java:[66,28] cannot find symbol symbol : class ProtocolSignature location: package org.apache.hadoop.ipc This compile error would be avoided if the munge symbols mentioned above were employed (as they are with "test" and "verify"). So the problem seems to be to get "mvn site:site" to use munge. What I need to do to the pom.xml to make this happen? Please also help me understand what the difference is between "mvn compile" and "mvn compiler:compile" - the former succeeds, the latter fails due to the same compilation error. Perhaps "mvn site:site" is having a problem because it is invoking "mvn compiler:compile" rather than "mvn compile"? (mvn -X site:site seems to suggest so). -Eugene --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org