geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick McGuire <rick...@gmail.com>
Subject Re: Help with build issue, please
Date Tue, 10 Nov 2009 14:27:22 GMT
ericp56 wrote:
> Trying to build Geronimo.  I'm learning Maven as I go - I'm starting to use
> it internally for building our projects:)
>
> What's happening here?  Is the servicemix info not right in the repository?  
>
> I'm guessing mvn install:install xxx would help here?
>   

You would be better off starting with the 2.2 release branch.  The trunk 
version is in a transitional period right now.  Only portions of it 
build right now, and for those parts that do, you need to be building 
other components locally to get things into your local repository.

Rick

> Thanks,
>
> Eric
>
>
> [INFO] Installing
> org/apache/geronimo/framework/geronimo-crypto/3.0-SNAPSHOT/geronimo-crypto-3.0-SNAPSHOT.jar
> [INFO] Writing OBR metadata
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Geronimo Framework, Modules :: Kernel
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] [genesis:validate-configuration {execution: default}]
> Downloading:
> http://snapshots.repository.codehaus.org/org/apache/servicemix/bundles/bundles-pom/4-SNAPSHOT/bundles-pom-4-SNAPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.servicemix.bundles:bundles-pom:pom:4-SNAPSHOT' in repository
> codehaus.snapshots (http://snap
> shots.repository.codehaus.org)
> Downloading:
> http://repository.apache.org/snapshots/org/apache/servicemix/bundles/bundles-pom/4-SNAPSHOT/bundles-pom-4-SNAPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.servicemix.bundles:bundles-pom:pom:4-SNAPSHOT' in repository
> apache.snapshots (http://reposi
> tory.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-SNAP
> SHOT
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> dependency information: Unable to read the metadata file for arti
> fact
> '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.serv
> icemix.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.framework:geronimo-kernel:bundle:3.0-SNAPSHOT
>
>
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:695)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>         at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
>         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 met
> adata file for artifact
> 'org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:jar':
> Cannot find parent: org.apache.service
> mix.bundles:bundles-pom for project:
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT
> for proj
> ect
> 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.framework:geronimo-kernel:bundle:3.0-SNAPSHOT
>
>
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:432)
>         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.resolveTransitiveDependencies(DefaultPluginManager.java:1492)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:435)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         ... 17 more
> Caused by:
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> Unable to read the metadata file for artifact 'org.ap
> ache.servicemix.bundles:org.apache.servicemix.bundles.cglib:jar': Cannot
> find parent: org.apache.servicemix.bundles:bundles-pom for pro
> ject:
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:bundle:2.1_3_3-SNAPSHOT
> for project org.apache.servicemix.bundl
> es: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:388)
>         ... 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:o
> rg.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:349)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
>         ... 31 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 54 seconds
> [INFO] Finished at: Tue Nov 10 08:57:56 EST 2009
> [INFO] Final Memory: 132M/237M
> [INFO]
> ------------------------------------------------------------------------
>   


Mime
View raw message