Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 75775 invoked from network); 22 Jan 2008 19:18:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2008 19:18:35 -0000 Received: (qmail 67571 invoked by uid 500); 22 Jan 2008 19:18:23 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 67521 invoked by uid 500); 22 Jan 2008 19:18:23 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 67510 invoked by uid 99); 22 Jan 2008 19:18:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2008 11:18:23 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [69.147.95.65] (HELO smtp102.plus.mail.sp1.yahoo.com) (69.147.95.65) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 22 Jan 2008 19:17:56 +0000 Received: (qmail 23576 invoked from network); 22 Jan 2008 19:18:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer; b=yfEyXXJtm8ETjGHdkfp9baL5DUPqJ3I/Ofso8NNEvfLuhig3V48E7BEISAEx6DRhZ0h5GYJNB22eWsyjed7QVO+gbTzZVQPxyg4Cjfa4a8LDIb4YfeeQfsHUUuq0/V+k959AKZzJaNlv4CtYe7Jyt0wyzhBhbE5klvK+ideEc/M= ; Received: from unknown (HELO ?192.168.1.103?) (david_jencks@67.102.173.8 with plain) by smtp102.plus.mail.sp1.yahoo.com with SMTP; 22 Jan 2008 19:18:00 -0000 X-YMail-OSG: aSp8sS4VM1nQloSVym6TuVVP8ZKelkA_G8FWxcrAIFMGmIByXyyrH5hUYh4xAjaE4s1hA6Elr7bXUmzCaDO03PeSXj_DAt0h5muT1vCD1qEkTZTtqfOYI.7oUd4yD30GN9OecEMZ X-Yahoo-Newman-Property: ymail-3 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <15025524.post@talk.nabble.com> References: <15025524.post@talk.nabble.com> Content-Type: multipart/alternative; boundary=Apple-Mail-2--616030581 Message-Id: From: David Jencks Subject: Re: Can anyone build 1.2 from the soource repository? Date: Tue, 22 Jan 2008 11:17:48 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-2--616030581 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Note that 1.2 is not released and most likely never will be. You might consider using 2.0.2 or 2.1-SNAPSHOT. I'm pretty sure that you need to use maven 2.0.7. I personally have not tried 2.0.8 but have heard rumors of problems. Until you get a successful build you may need to run the bootstrap procedure. mvn install -Dstage=bootstrap mvn install -Dstage=assemble As noted in the BUILDING.txt file, there are more instructions at http://cwiki.apache.org/GMOxDEV/building-apache-geronimo-with- maven-2.html Hope this helps david jencks On Jan 22, 2008, at 10:52 AM, AlskiOnTheWeb wrote: > > Hi all, > > I first downloaded the source tar and tried to build that. No go as > it was > missing some snapshots now. Not knowing the slightest bit about > maven (nor > wanting to really), I pulled a source tree of the 1.2 tag. I am > using Sun's > JDK 1.5.0_12 with Maven 2.0.8 trying to build source from > https://svn.apache.org/repos/asf/geronimo/server/tags/1.2. If I try > "mvn > install" as the build instructions suggest, I get: > > Downloading: > http://repository.codehaus.org/org/apache/geronimo/plugins/car- > maven-plugin/1.2/car-maven-plugin-1.2.jar > Downloading: > http://repo1.maven.org/maven2/org/apache/geronimo/plugins/car-maven- > plugin/1.2/car-maven-plugin-1.2.jar > [INFO] > ---------------------------------------------------------------------- > -- > [ERROR] BUILD ERROR > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Plugin could not be found - check that the goal name is > correct: > Unable to download the artifact from any repository > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.geronimo.plugins > -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.geronimo.plugins > -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > codehaus (http://repository.codehaus.org), > apache-snapshots (http://people.apache.org/repo/m2-snapshot- > repository), > codehaus-snapshots (http://snapshots.repository.codehaus.org) > > org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > codehaus (http://repository.codehaus.org), > apache-snapshots (http://people.apache.org/repo/m2-snapshot- > repository), > codehaus-snapshots (http://snapshots.repository.codehaus.org) > > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] For more information, run Maven with the -e switch > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Total time: 1 minute 45 seconds > [INFO] Finished at: Tue Jan 22 13:47:53 EST 2008 > [INFO] Final Memory: 36M/65M > [INFO] > ---------------------------------------------------------------------- > -- > > I have no idea what it means by "Try downloading the file manually > from the > project website.". I tried the first suggestion it had of "mvn > install:install-file -DgroupId=org.apache.geronimo.plugins > -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin > -Dfile=/path/to/file" but that didn't seem to do anything (and yes, > I did > try and point it at the proper jar, not /path/to/file ;-)). > > I guess I have two queistions: > > 1) Has anyone gotten this to build recently and if so, in laymans > terms, > what did you do to maven to make it build? > > 2) Is there a "here's the most common problems with maven and how > to solve > them" for geronimo anywhere? Seems from looking that the use of > maven has > been more a curse than a blessing here and now I see why...so much > for build > repeatability. > > Thanks for any help or advice. > > Alski > -- > View this message in context: http://www.nabble.com/Can-anyone- > build-1.2-from-the-soource-repository--tp15025524s134p15025524.html > Sent from the Apache Geronimo - Dev mailing list archive at > Nabble.com. > --Apple-Mail-2--616030581 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Note that 1.2 is not released and most likely never will be. =A0You = might consider using 2.0.2 or 2.1-SNAPSHOT.

I'm pretty sure that you = need to use maven 2.0.7. =A0I personally have not tried 2.0.8 but have = heard rumors of problems.

Until you get a successful = build you may need to run the bootstrap procedure. =A0

mvn = install -Dstage=3Dbootstrap
mvn = install -Dstage=3Dassemble

As noted in = the BUILDING.txt file, there are more instructions at=A0http://cwiki.apache.org/GMOxDEV/building-apache-geronimo-with-ma= ven-2.html

Hope this = helps
david jencks

On Jan 22, = 2008, at 10:52 AM, AlskiOnTheWeb wrote:


Hi = all,

I first downloaded the source tar and tried to build = that. No go as it was
missing some snapshots now. = Not knowing the slightest bit about maven (nor
wanting to really), I pulled a source tree of the = 1.2 tag. I am using Sun's
JDK 1.5.0_12 = with Maven 2.0.8 trying to build source from
install" as the build = instructions suggest, I get:

Downloading:
Downloading:
http://repo1.maven.org/maven2/org/a= pache/geronimo/plugins/car-maven-plugin/1.2/car-maven-plugin-1.2.jar
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Plugin could not be found - check that = the goal name is correct:
Unable to = download the artifact from any repository

Try = downloading the file manually from the project website.

Then, = install it using the command:
=A0 =A0 mvn install:install-file = -DgroupId=3Dorg.apache.geronimo.plugins

Alternatively, if you host your = own repository you can deploy the file
=A0 =A0 mvn deploy:deploy-file = -DgroupId=3Dorg.apache.geronimo.plugins


=A0 = org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2
=

from the = specified remote repositories:
=A0 = codehaus (http://repository.codehaus.org= ),
=A0 = org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2
=

from the = specified remote repositories:
=A0 = codehaus (http://repository.codehaus.org= ),
[INFO]
[INFO] For more information, run Maven with the = -e switch
[INFO]
[INFO] Total time: 1 minute 45 = seconds
[INFO] Finished at: Tue Jan 22 = 13:47:53 EST 2008
[INFO] Final Memory: = 36M/65M
[INFO]

I have no idea what it means by "Try downloading the = file manually from the
project website.". I tried = the first suggestion it had of "mvn
-DartifactId=3Dcar-maven-plugin -Dversion=3D1.2 = -Dpackaging=3Dmaven-plugin
try and point it at the proper = jar, not /path/to/file ;-)).

I guess I have two = queistions:

1) Has anyone gotten this to build recently and if = so, in laymans terms,
what did you do to maven to = make it build?

2) Is there a "here's the most common problems with = maven and how to solve
them" for geronimo = anywhere? Seems from looking that the use of maven has
been more a curse than a blessing here and now I see = why...so much for build

Thanks for any help or advice.

--=A0
Sent from the Apache Geronimo - Dev mailing list = archive at Nabble.com.