Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 6304 invoked from network); 1 Sep 2006 13:48:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2006 13:48:47 -0000 Received: (qmail 31519 invoked by uid 500); 1 Sep 2006 13:48:46 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 30993 invoked by uid 500); 1 Sep 2006 13:48:45 -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 30982 invoked by uid 99); 1 Sep 2006 13:48:45 -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 06:48:45 -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 [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 01 Sep 2006 06:48:43 -0700 Received: (qmail 96380 invoked from network); 1 Sep 2006 13:48:20 -0000 Received: from unknown (HELO ?192.168.1.236?) (unknown) by unknown with SMTP; 1 Sep 2006 13:48:20 -0000 X-pair-Authenticated: 222.165.180.76 Message-ID: <44F83A22.2090707@opensource.lk> Date: Fri, 01 Sep 2006 19:18:18 +0530 From: Lasantha Ranaweera User-Agent: Thunderbird 1.5.0.5 (X11/20060728) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: M2 Build Error References: <44F5924D.1040304@opensource.lk> <961AB06B-78DE-46DE-882F-0E128AFE80E6@apache.org> In-Reply-To: <961AB06B-78DE-46DE-882F-0E128AFE80E6@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(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.resolveTransitively(DefaultArtifactResolver.java:244) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:211) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:182) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(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 > >