Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-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 08704106E5 for ; Thu, 7 Nov 2013 14:23:39 +0000 (UTC) Received: (qmail 26223 invoked by uid 500); 7 Nov 2013 14:23:13 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 26105 invoked by uid 500); 7 Nov 2013 14:23:08 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 26096 invoked by uid 99); 7 Nov 2013 14:23:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 14:23:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mcculls@gmail.com designates 74.125.82.178 as permitted sender) Received: from [74.125.82.178] (HELO mail-we0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 14:23:00 +0000 Received: by mail-we0-f178.google.com with SMTP id q59so607655wes.9 for ; Thu, 07 Nov 2013 06:22:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=59xaJ5Y5hXtlRRcjoXYriBE1jwBMPw4OxlRszp9kVjw=; b=uez3tJ90SD/C4agmemaBjENO0ZpLMM22ygBhK3xSrg2fCQrxOPUTyLycaYrfZcKlBo GUL91yTfkRidqY9/PZozFqMg7Lq44o+w+mkYaw06Ss7j28xg69X5NPf1TvlpjzU6EJ6Q Dksn4dQPRGRDAX4xaUse4Eyyg3cVNqIjCq3oSFDckBbJvT2zlzSLDkff9eTCQ66s8VNb jXpsSW+BidKEZxTe/oWat2D0AK5/sIIvaFfnVDIULlRLiGv8tpvc6oPVsHO4vz8+TliA h3Hy253K2MTurDr3JIHLZntcDaugUmqHK9wdlwmjRPdEqM4LjEKhmjsJWERFxCl1Dz0N hO7A== X-Received: by 10.194.77.167 with SMTP id t7mr7672556wjw.27.1383834158508; Thu, 07 Nov 2013 06:22:38 -0800 (PST) Received: from tulloch.home (host86-145-54-115.range86-145.btcentralplus.com. [86.145.54.115]) by mx.google.com with ESMTPSA id b7sm4587129wiz.8.2013.11.07.06.22.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Nov 2013 06:22:37 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1085) Subject: Re: Install question for Maven 3.0 on PPC/10.4.11/ant 1.6.5 From: Stuart McCulloch In-Reply-To: Date: Thu, 7 Nov 2013 14:22:36 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5D3DEE14-2476-4865-8691-FC99F80FFD50@gmail.com> To: "Maven Developers List" X-Mailer: Apple Mail (2.1085) X-Virus-Checked: Checked by ClamAV on apache.org Try adding: before the task on line 236 On 7 Nov 2013, at 13:27, Ed Mansky wrote: > I saw the requirement for Ant 1.8 or later. The encoding option in the = echo task is new since Ant 1.7. >=20 > To install ant 1.7, 1.8 or 1.8.4 requires JUnit to already be present. > Unfortunately, to build JUnit you need maven in place. >=20 > Hence my attempt to install/build maven. >=20 > I found that I was able to build and install maven version 2.2.1 fine = on Tiger/ppc. >=20 > Apparently there have been a lot of changes in the build.xml file = between 2.2.1 and 3.x versions of maven. >=20 > Now, typing "mv install" in the Junit folder results in "Unable to = build project ...junit/pom.xml; it requires Maven version 3.0.4" >=20 > which is a different issue involving building junit 4 with maven 2. >=20 > --Ed >=20 >> The README.bootstrap.txt from the source tree states the = pre-requisites for building the bootstrap code are: >>=20 >> - Java 1.5 >> - Ant 1.8 or later >>=20 >> Whereas you're using Ant 1.6.5 - this is likely the problem, because = 1.6.5 doesn't support the use of an encoding in the echo task (this is = what creates that particular pom.properties file) >>=20 >> On 6 Nov 2013, at 14:36, Ed Mansky wrote: >>=20 >>> Hi all, >>>=20 >>> I am trying to install Maven from source code on a PowerMac G4 PPC = 7450 running 10.4.11 and with >>> Java JDK 1.5 and Ant 1.6.5 installed. >>>=20 >>> I am getting an error from line #236 of build.xml = (java.io.FileNotFoundException: ...full path to pom.properties file) >>>=20 >>> Apparently the pom.properties file that is expected to be the = bootstrap area for that target (compile-boot) to run, is missing. >>>=20 >>> The missing file "pom.properties" is indeed located in the source = code tree in: >>>=20 >>> = maven-core/src/test/resources/META-INF/maven/org.apache.maven/maven-core >>>=20 >>> I am new to Maven, but it appears that an entry in = maven-core/src/main/mdo/toolchains.mdo for this file in META-INF is = needed in order to get it copied over to the bootstrap area during the = building of the target "generate-sources". >>>=20 >>> My environment variables are set as follows: >>>=20 >>> JAVA_HOME =3D /Library/Java/Home >>> ANT_HOME =3D /Developer/Java/Ant >>> M2_HOME =3D /usr/local/maven-3.0.4 >>>=20 >>> I also set M3_HOME =3D /usr/local/maven-3.0.4 in case that was = needed instead of M2_HOME >>>=20 >>> I do not have CLASSPATH defined at all. >>>=20 >>> What am I missing here to get Maven to build? Any tips or hints = would be greatly appreciated! >>>=20 >>> Thanks, >>>=20 >>> --Ed >>> -- >>> E. J. Mansky II >>> Eikonal Research Institute >>> Bend, Oregon >>>=20 >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org >>> For additional commands, e-mail: dev-help@maven.apache.org >>>=20 >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org >> For additional commands, e-mail: dev-help@maven.apache.org >=20 >=20 > --=20 > E. J. Mansky II > Eikonal Research Institute > Bend, Oregon >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org