geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Dudney <bdud...@apache.org>
Subject Re: M2 Build Error
Date Fri, 01 Sep 2006 14:06:29 GMT
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
>>
>>
>


Mime
View raw message