Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 14091 invoked from network); 1 Sep 2006 14:07:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2006 14:07:09 -0000 Received: (qmail 74781 invoked by uid 500); 1 Sep 2006 14:07:06 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 74732 invoked by uid 500); 1 Sep 2006 14:07:06 -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 74721 invoked by uid 99); 1 Sep 2006 14:07:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2006 07:07:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [66.116.97.229] (HELO mail.dudney.net) (66.116.97.229) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2006 07:07:05 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.dudney.net (Postfix) with ESMTP id 3127431BC00 for ; Fri, 1 Sep 2006 08:06:55 -0600 (MDT) Received: from mail.dudney.net ([127.0.0.1]) by localhost (mini.dudney.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15446-05 for ; Fri, 1 Sep 2006 08:06:42 -0600 (MDT) Received: from [192.168.1.100] (c-24-9-189-43.hsd1.wa.comcast.net [24.9.189.43]) by mail.dudney.net (Postfix) with ESMTP id 9A62431BBE3 for ; Fri, 1 Sep 2006 08:06:41 -0600 (MDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <44F83A22.2090707@opensource.lk> References: <44F5924D.1040304@opensource.lk> <961AB06B-78DE-46DE-882F-0E128AFE80E6@apache.org> <44F83A22.2090707@opensource.lk> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <73E78A5B-F593-4EED-A9FF-832EB876973E@apache.org> Content-Transfer-Encoding: 7bit From: Bill Dudney Subject: Re: M2 Build Error Date: Fri, 1 Sep 2006 08:06:29 -0600 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new at dudney.net X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Lasantha, Did you run the bootsrap script in the root of the geronimo src folder? The 2.2-SNAPSHOT for openejb should be guild by the bootstrap so it appears from the errors here that you are not getting the open ejb build. http://cwiki.apache.org/GMOxDEV/building-apache-geronimo-with- maven-2.html has more complete instructions. Specifically if it fails look in server/target/openejb for the open ejb src. If its there try mvn install from that directory and see if it helps. Good luck! -bd- On Sep 1, 2006, at 7:48 AM, Lasantha Ranaweera wrote: > Hi Bill, > > This error happened in a Linux (Kubuntu) environment. > > Following is the stack trace. It looks openejb-builder can't > repository to download dependencies (2.2-SNAPSHOT of openejb). > Following are the list of repositories visible to the maven build. > I couldn't find the 2.2-SNAPSHOT of openejb either in those > repositories either. > central (http://repo1.maven.org/maven2), > apache.snapshots (http://people.apache.org/maven-snapshot-repository), > codehaus (http://repository.codehaus.org), > apache-snapshots (http://people.apache.org/repo/m2-snapshot- > repository), > codehaus-snapshots (http://snapshots.repository.codehaus.org), > apache-snapshots-m1 (http://people.apache.org/repo/m1-snapshot- > repository) > > When I search on the Internet I found following repository with > openejb 2.2 snapshots. But this repository stores jars with some > out of ordinary pattern. > > http://snapshots.dist.codehaus.org/openejb/jars/ > If I can give this link in maven it might solve my problem. Anyway > I am not that good at Maven. Hope somebody can help me in this > matter. I have given the stack trace of the error below. > > Regards, > > Lasantha Ranaweera > > [ERROR] BUILD ERROR > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.openejb:openejb-pkgen-builder:jar:2.2-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.openejb - > DartifactId=openejb-pkgen-builder \ > -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.configs:openejb-deployer:car:1.2- > SNAPSHOT > 2) org.openejb:openejb-pkgen-builder:jar:2.2-SNAPSHOT > > 2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.openejb - > DartifactId=openejb-builder \ > -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.configs:openejb-deployer:car:1.2- > SNAPSHOT > 2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT > > 3) org.openejb:openejb-core:jar:2.2-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.openejb - > DartifactId=openejb-core \ > -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.configs:openejb-deployer:car:1.2- > SNAPSHOT > 2) org.openejb:openejb-core:jar:2.2-SNAPSHOT > > ---------- > 3 required artifacts are missing. > > for artifact: > org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > apache.snapshots (http://people.apache.org/maven-snapshot- > repository), > codehaus (http://repository.codehaus.org), > apache-snapshots (http://people.apache.org/repo/m2-snapshot- > repository), > codehaus-snapshots (http://snapshots.repository.codehaus.org), > apache-snapshots-m1 (http://people.apache.org/repo/m1-snapshot- > repository) > > > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Missing: > ---------- > 1) org.openejb:openejb-pkgen-builder:jar:2.2-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.openejb - > DartifactId=openejb-pkgen-builder \ > -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.configs:openejb-deployer:car:1.2- > SNAPSHOT > 2) org.openejb:openejb-pkgen-builder:jar:2.2-SNAPSHOT > > 2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.openejb - > DartifactId=openejb-builder \ > -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.configs:openejb-deployer:car:1.2- > SNAPSHOT > 2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT > > 3) org.openejb:openejb-core:jar:2.2-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.openejb - > DartifactId=openejb-core \ > -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.configs:openejb-deployer:car:1.2- > SNAPSHOT > 2) org.openejb:openejb-core:jar:2.2-SNAPSHOT > > ---------- > 3 required artifacts are missing. > > for artifact: > org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > apache.snapshots (http://people.apache.org/maven-snapshot- > repository), > codehaus (http://repository.codehaus.org), > apache-snapshots (http://people.apache.org/repo/m2-snapshot- > repository), > codehaus-snapshots (http://snapshots.repository.codehaus.org), > apache-snapshots-m1 (http://people.apache.org/repo/m1-snapshot- > repository) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > (DefaultLifecycleExecutor.java:551) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif > ecycle(DefaultLifecycleExecutor.java:475) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > (DefaultLifecycleExecutor.java:454) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand > leFailures(DefaultLifecycleExecutor.java:306) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment > s(DefaultLifecycleExecutor.java:273) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > (DefaultLifecycleExecutor.java:140) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: > 322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.codehaus.classworlds.Launcher.launchEnhanced > (Launcher.java:315) > 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.artifact.resolver.MultipleArtifactsNotFoundException: > Missing: > ---------- > 1) org.openejb:openejb-pkgen-builder:jar:2.2-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.openejb - > DartifactId=openejb-pkgen-builder \ > -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.configs:openejb-deployer:car:1.2- > SNAPSHOT > 2) org.openejb:openejb-pkgen-builder:jar:2.2-SNAPSHOT > > 2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.openejb - > DartifactId=openejb-builder \ > -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.configs:openejb-deployer:car:1.2- > SNAPSHOT > 2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT > > 3) org.openejb:openejb-core:jar:2.2-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.openejb - > DartifactId=openejb-core \ > -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.configs:openejb-deployer:car:1.2- > SNAPSHOT > 2) org.openejb:openejb-core:jar:2.2-SNAPSHOT > > ---------- > 3 required artifacts are missing. > > for artifact: > org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > apache.snapshots (http://people.apache.org/maven-snapshot- > repository), > codehaus (http://repository.codehaus.org), > apache-snapshots (http://people.apache.org/repo/m2-snapshot- > repository), > codehaus-snapshots (http://snapshots.repository.codehaus.org), > apache-snapshots-m1 (http://people.apache.org/repo/m1-snapshot- > repository) > > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTran > sitively(DefaultArtifactResolver.java:244) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTran > sitively(DefaultArtifactResolver.java:211) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTran > sitively(DefaultArtifactResolver.java:182) > at > org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependen > cies(DefaultPluginManager.java:1117) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > (DefaultPluginManager.java:366) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > (DefaultLifecycleExecutor.java:534) > ... 16 more > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Total time: 3 minutes 14 seconds > [INFO] Finished at: Fri Sep 01 19:45:20 LKT 2006 > [INFO] Final Memory: 19M/35M > [INFO] > ---------------------------------------------------------------------- > -- > > > > > Dudney wrote: >> Hi Lasantha, >> >> Could you post some more detail (stack trace from mvn -e) and I'd >> be glad to try to help. >> >> Also if you could relate what platform you are on that might also >> provide some hints to the problem. >> >> TTFN, >> >> -bd- >> >> On Aug 30, 2006, at 7:27 AM, Lasantha Ranaweera wrote: >> >>> Hi All, >>> >>> Last few days I have been trying to build Geronimo from source >>> code. I have been following the document "Building Apache >>> Geronimo with Maven 2" in Geronimo documentation. >>> >>> Every time build has failed when it tries to build "OpenEJB >>> Deployer" component. It can't find out "openejb - 2.2-SNAPSHOT" >>> related dependencies. Can anyone help me on this regard? :-\ >>> >>> Thanks, >>> Lasantha Ranaweera >> >> >