Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 13121 invoked from network); 29 Oct 2005 18:14:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Oct 2005 18:14:22 -0000 Received: (qmail 5458 invoked by uid 500); 29 Oct 2005 18:14:18 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 5393 invoked by uid 500); 29 Oct 2005 18:14:18 -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 5382 invoked by uid 99); 29 Oct 2005 18:14:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2005 11:14:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 64.233.162.198 as permitted sender) Received: from [64.233.162.198] (HELO zproxy.gmail.com) (64.233.162.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2005 11:14:14 -0700 Received: by zproxy.gmail.com with SMTP id 9so815710nzo for ; Sat, 29 Oct 2005 11:13:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WiwpfsA+332+lF09ilu2G8DA/PHXfDHQDGUxaVmc9vL6us9MryjLUmZmEIKmQYrLAbSMZRGKtayCJcfSKHmegw2Jk7X1vvHoIVa9oYRRC9VEEKFd4CXMsb2dC8z1riZT2lfdo95DeoCJLUI49nJBlYPoTSW/FPH+8MwNAwYMdXQ= Received: by 10.36.224.26 with SMTP id w26mr1688521nzg; Sat, 29 Oct 2005 11:13:56 -0700 (PDT) Received: by 10.37.13.69 with HTTP; Sat, 29 Oct 2005 11:13:56 -0700 (PDT) Message-ID: <74e15baa0510291113u29a0a302g2d87c67acf5fec99@mail.gmail.com> Date: Sat, 29 Oct 2005 14:13:56 -0400 From: Aaron Mulder Sender: ammulder@gmail.com To: dev@geronimo.apache.org Subject: Re: Building specs with Maven 2.x In-Reply-To: <436390B0.3020207@savoirtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1130571043.25786.521.camel@localhost.localdomain> <74e15baa0510290800ka789dc2x884bb1a1fb9b90c3@mail.gmail.com> <436390B0.3020207@savoirtech.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N So I tried a rebuild-all. Geronimo won't build because the specs aren't there. The specs won't build because of the error below (is that saying Geronimo isn't there?). I assume I'm supposed to use maven2 on geronimo/specs/trunk now because Maven 1.1 didn't seem to do anything. :) Thanks, Aaron [INFO] Scanning for projects... [INFO] --------------------------------------------------------------------= -------- [ERROR] FATAL ERROR [INFO] --------------------------------------------------------------------= -------- [INFO] Failed to resolve artifact. GroupId: org.apache.geronimo ArtifactId: geronimo Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository org.apache.geronimo:geronimo:1.0-SNAPSHOT:pom from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] --------------------------------------------------------------------= -------- [INFO] Trace org.apache.maven.reactor.MavenExecutionException: POM 'org.apache.geronimo:geronimo' not found in repository: Unable to download the artifact from any repository org.apache.geronimo:geronimo:1.0-SNAPSHOT:pom from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:276) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor= Impl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod= AccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:3= 15) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java= :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.geronimo:geronimo' not found in repository: Unable to download the artifact from any repository org.apache.geronimo:geronimo:1.0-SNAPSHOT:pom from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFro= mRepository(DefaultMavenProjectBuilder.java:423) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLine= age(DefaultMavenProjectBuilder.java:955) at org.apache.maven.project.DefaultMavenProjectBuilder.build(Defaul= tMavenProjectBuilder.java:586) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSou= rceFile(DefaultMavenProjectBuilder.java:298) at org.apache.maven.project.DefaultMavenProjectBuilder.build(Defaul= tMavenProjectBuilder.java:276) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:509) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:= 441) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:345) ... 11 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository org.apache.geronimo:geronimo:1.0-SNAPSHOT:pom from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resol= ve(DefaultArtifactResolver.java:136) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resol= ve(DefaultArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFro= mRepository(DefaultMavenProjectBuilder.java:380) ... 18 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifac= t(DefaultWagonManager.java:260) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resol= ve(DefaultArtifactResolver.java:124) ... 20 more [INFO] --------------------------------------------------------------------= -------- [INFO] Total time: < 1 second [INFO] Finished at: Sat Oct 29 14:08:38 EDT 2005 [INFO] Final Memory: 1M/2M [INFO] --------------------------------------------------------------------= -------- On 10/29/05, Jeff Genender wrote: > This is just the and parameters > in the section of the pom, so we do not need to move anything in > the interim, just add those declarations to point at our locations. > > Jeff > > Aaron Mulder wrote: > > Jason, > > > > I guess this is really a Maven question, but... If I read that page > > right it says that what's now > > > > geronimo/module-name/src/java > > geronimo/module-name/src/test > > > > Would need to change (for Maven 2) to > > > > geronimo/module-name/src/main/java > > geronimo/module-name/src/test/java > > > > Is that correct? Is that easy to override so the former layout works > > for all the modules in one shot? > > > > Thanks, > > Aaron > > > > On 10/29/05, Jason van Zyl wrote: > >> Hi, > >> > >> I've got all the specs builds working with Maven 2.x except for the > >> corba module for which I need to whip up a quick plug-in to deal with > >> IDL. > >> > >> Are the specs built frequently because I see that you've changed the > >> directory structure of the SVN repository and so many of your referenc= es > >> like: > >> > >> ../../etc/project.xml > >> > >> Won't work anymore unless I'm not seeing something. > >> > >> If I can get the specs building with Maven 2.x and get the artifacts > >> produced into the m1 repository, and get the spec builds running under > >> Continuum can I flip the spec builds over to Maven 2.x standards and u= se > >> it as the default build? I figure that the specs don't change that oft= en > >> and is a good place to start if folks are interesting in converting th= e > >> build over to Maven 2.x. > >> > >> This basically boils down to adhering to this: > >> > >> http://maven.apache.org/guides/introduction/introduction-to-the-standa= rd-directory-layout.html > >> > >> And getting a few tips about the corba module (Alan :-)). Everything > >> else appears to be working. > >> > >> -- > >> jvz. > >> > >> Jason van Zyl > >> jason at maven.org > >> http://maven.apache.org > >> > >> you are never dedicated to something you have complete confidence in. > >> No one is fanatically shouting that the sun is going to rise tomorrow. > >> They know it is going to rise tomorrow. When people are fanatically > >> dedicated to political or religious faiths or any other kind of > >> dogmas or goals, it's always because these dogmas or > >> goals are in doubt. > >> > >> -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance > >> > >> >