Hello. I have troubles to build geronimo 2.2 from sources as well.
Failed to build for revision 833325 without test. It's seems to be the same error as noted in http://old.nabble.com/-BUILD--trunk:-Failed-for-Revision:-831062-td26119050s134.html
-----------------------------------
[root@build-server dist]# uname -a
Linux build-server 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 2009 i686 i686 i386 GNU/Linux

[root@build-server dist]# java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

[root@build-server dist]# mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-06 17:16:01-0200)
Java version: 1.6.0_16
Java home: /usr/java/jdk1.6.0_16/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.18-164.el5xen" arch: "i386" Family: "unix"

[root@build-server dist]# ant -version
Apache Ant version 1.7.1 compiled on June 27 2008

[root@build-server dist]# bash
[root@build-server dist]# export  MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"
[root@build-server dist]# echo $MAVEN_OPTS
-Xmx512m -XX:MaxPermSize=128m

[root@build-server dist]# svn co https://svn.apache.org/repos/asf/geronimo/server/trunk server
.............
Checked out revision 833325.

[root@build-server dist]# mvn clean install -Dtest=false -e
............................

[INFO] Unable to find resource 'org.apache.servicemix.bundles:bundles-pom:pom:4-SNAPSHOT' in repository apache.snapshots (http://repository.apache.org/snapshots)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT

Reason: Cannot find parent: org.apache.servicemix.bundles:bundles-pom for project: org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT for project org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:jar': Cannot find parent: org.apache.servicemix.bundles:bundles-pom for project: org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT for project org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT
  org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:jar:2.1_3_3-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)

Path to dependency:
        1) org.apache.geronimo.buildsupport:car-maven-plugin:maven-plugin:3.0-SNAPSHOT
        2) org.apache.geronimo.framework:geronimo-common:jar:3.0-SNAPSHOT
        3) org.apache.geronimo.framework:geronimo-kernel:jar:3.0-SNAPSHOT


        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.loadPluginFully(DefaultLifecycleExecutor.java:1607)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findArtifactTypeHandlersInPlugins(DefaultLifecycleExecutor.java:1468)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(DefaultLifecycleExecutor.java:222)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:178)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        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:597)
        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.ArtifactResolutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:jar': Cannot find parent: org.apache.servicemix.bundles:bundles-pom for project: org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT for project org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT
  org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:jar:2.1_3_3-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)

Path to dependency:
        1) org.apache.geronimo.buildsupport:car-maven-plugin:maven-plugin:3.0-SNAPSHOT
        2) org.apache.geronimo.framework:geronimo-common:jar:3.0-SNAPSHOT
        3) org.apache.geronimo.framework:geronimo-kernel:jar:3.0-SNAPSHOT


        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:430)
        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:435)
        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:435)
        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
        at org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete(DefaultPluginManager.java:835)
        at org.apache.maven.plugin.DefaultPluginManager.loadPluginFully(DefaultPluginManager.java:1629)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.loadPluginFully(DefaultLifecycleExecutor.java:1582)
        ... 15 more
Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to read the metadata file for artifact 'org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:jar': Cannot find parent: org.apache.servicemix.bundles:bundles-pom for project: org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT for project org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT
        at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:200)
        at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedArtifact(MavenMetadataSource.java:94)
        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:387)
        ... 23 more
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.apache.servicemix.bundles:bundles-pom for project: org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT for project org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT
        at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
        at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:163)
        ... 25 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.servicemix.bundles:bundles-pom' not found in repository: Unable to download the artifact from any repository

  org.apache.servicemix.bundles:bundles-pom:pom:4-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)

 for project org.apache.servicemix.bundles:bundles-pom
        at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
        at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
        ... 28 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

  org.apache.servicemix.bundles:bundles-pom:pom:4-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)


        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
        at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
        ... 29 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
        ... 31 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 49 seconds
[INFO] Finished at: Fri Nov 06 07:30:49 GMT-02:00 2009
[INFO] Final Memory: 80M/144M
[INFO] ------------------------------------------------------------------------
[root@system-gwa server]#




On Fri, Nov 6, 2009 at 6:20 AM, Forrest Xia <forrestxm@gmail.com> wrote:


On Fri, Nov 6, 2009 at 11:40 AM, Fei LI <FLI@mdacorporation.com> wrote:
Hi Forrest,
 
Thanks for your help first. Let me build server first the build eclipse plugin second. Because I tried many SVN and no one working. So let me put my question in such way. Tell me if you know, the newest version you know it will be built without error, I have Windows XP and Vista.
1. for server:
1.1 which java version? sun jdk 1.5 latest
1.2 which maven version? 2.2.1
1.4. which mvn command? mvn clean install -Dtest=false -e

Besides, you need to pay attention to these:
1. if using sun jdk, you need to set MAVEN_OPTS as documentation. If using ibm jdk, you won't do that
2. checkout the source code in a short path name as Donald pointed out
3. In your DOS window, change your locale to en_US by executing: chcp 437
and then start to build server.
 
 
1. for Eclipse plugin:
1.1 which java version?
1.2 which maven version?
1.3 which SVN source?
1.4. which mvn command?

Please try to make server built successfully, then let's see how to build GEP.

Good luck!
 
I will do whatever you suggest and to see if I luck or not.
 
 
Thanks
 
Fei Li

 

From: Forrest Xia [mailto:forrestxm@gmail.com]
Sent: Thu 05/11/2009 7:20 PM
To: user@geronimo.apache.org
Subject: Re: Help me

Before building geronimo eclipse plugin(gep), you need to build geronimo server first.

Suggest you start with a released code tree to build gep, not the trunk code. Generally, trunk code is changing and unstable.

For a better understanding what you are doing, pls tell:
1. which version of geronimo you are going to work on?
2. what jdk you are using to build gep?
3. Any error when you are building geronimo server?

Forrest




--
Best regards,
    ~ Xasima ~