geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fei Fei" <micro.soft....@hotmail.com>
Subject Build geronimo failed..Is this maven's probleam or openejb( or geronimo?)?
Date Fri, 26 Jan 2007 20:17:27 GMT
hello everyone.

I did something according to web page 
"http://cwiki.apache.org/GMOxDEV/building-apache-geronimo-with-maven-2.html",and 
the source code of openejb is checkout successfully from apache 
SVN:http://svn.apache.org/repos/asf/incubator/openejb/trunk/openejb3.

the build log list following:

E:\workspace\openejb\openejb3>mvn -e clean install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   OpenEJB
[INFO]   OpenEJB :: iTests
[INFO]   OpenEJB :: iTests Beans
[INFO]   OpenEJB :: iTests Client
[INFO]   OpenEJB :: iTests App
[INFO]   OpenEJB :: Container
[INFO]   OpenEJB :: Container :: Loader
[INFO]   OpenEJB :: Container :: Java Agent
[INFO]   OpenEJB :: Container :: Java EE
[INFO]   OpenEJB :: Container :: Core
[INFO]   OpenEJB :: Server
[INFO]   OpenEJB :: Server :: Client
[INFO]   OpenEJB :: Server :: Core
[INFO]   OpenEJB :: Server :: EJBd
[INFO]   OpenEJB :: Server :: Admin
[INFO]   OpenEJB :: Server :: Http
[INFO]   OpenEJB :: Server :: Telnet
[INFO]   OpenEJB :: Server :: XFire
[INFO]   OpenEJB :: Server :: Axis
[INFO]   OpenEJB :: Server :: ActiveMQ
[INFO]   OpenEJB :: Server :: CORBA
[INFO]   OpenEJB :: Server :: Derby Network Service
[INFO]   OpenEJB :: Server :: Hsql
[INFO]   OpenEJB :: Examples :: HelloWorld Stateful POJO
[INFO]   OpenEJB :: Examples :: Calculator Stateless Pojo
[INFO]   OpenEJB :: Examples :: Counter Stateful Pojo
[INFO]   OpenEJB :: Examples :: EJB Injection
[INFO]   OpenEJB :: Examples :: Resource Injection
[INFO]   OpenEJB :: Examples :: Telephone Stateful Pojo
[INFO]   OpenEJB :: Examples
[INFO] 
-------------------------------------------------------------------------
---
[INFO] Building OpenEJB
[INFO]    task-segment: [clean, install]
[INFO] 
-------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory E:\workspace\openejb\openejb3\target
[INFO] Deleting directory E:\workspace\openejb\openejb3\target\classes
[INFO] Deleting directory E:\workspace\openejb\openejb3\target\test-classes
[INFO] [tools:require-java-version {execution: default}]
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Failed to lookup required components

Embedded error: Component descriptor cannot be found in the component 
repository
: org.apache.geronimo.genesis.dependency.DependencyHelper.
[INFO] 
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to lookup 
require
d components
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.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(DelegatingMethodAcces
sorImpl.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.plugin.MojoExecutionException: Failed to lookup 
requ
ired components
        at 
org.apache.geronimo.genesis.MojoSupport.init(MojoSupport.java:104)
        at 
org.apache.geronimo.genesis.MojoSupport.execute(MojoSupport.java:119)

        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 16 more
Caused by: 
org.codehaus.plexus.component.repository.exception.ComponentLookupExc
eption: Component descriptor cannot be found in the component repository: 
org.ap
ache.geronimo.genesis.dependency.DependencyHelper.
        at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:323)
        at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:312)
        at 
org.apache.geronimo.genesis.MojoSupport.init(MojoSupport.java:101)
        ... 19 more
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sat Jan 27 04:03:30 CST 2007
[INFO] Final Memory: 7M/14M
[INFO] 
------------------------------------------------------------------------

E:\workspace\Geronimo>mvn -e eclipse:eclipse
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Geronimo
[INFO]   Geronimo Test Support
[INFO]   Geronimo Test Support :: Common
[INFO]   Geronimo Test Support :: Selenium
[INFO]   Geronimo Test Support, Test Deployment J2EE 1.3
[INFO]   Geronimo Test Support, Test Deployment J2EE 1.3 :: EJB
[INFO]   Geronimo Test Support, Test Deployment J2EE 1.3 :: WAR
[INFO]   Geronimo Test Support, Test Deployment J2EE 1.3 :: RAR
[INFO]   Geronimo Test Support, Test Deployment J2EE 1.3 :: EAR
[INFO]   Geronimo Test Support, Test Deployment J2EE 1.4
[INFO]   Geronimo Test Support, Test Deployment J2EE 1.4 :: EJB
[INFO]   Geronimo Test Support, Test Deployment J2EE 1.4 :: WAR
[INFO]   Geronimo Test Support, Test Deployment J2EE 1.4 :: RAR
[INFO]   Geronimo Test Support, Test Deployment J2EE 1.4 :: EAR
[INFO]   Geronimo Test Support, Test Deployment JAVAEE 5
[INFO]   Geronimo Test Support, Test Deployment JAVAEE 5 :: EJB
[INFO]   Geronimo Test Support, Test Deployment JAVAEE 5 :: WAR
[INFO]   Geronimo Test Support, Test Deployment JAVAEE 5 :: RAR
[INFO]   Geronimo Test Support, Test Deployment JAVAEE 5 :: EAR
[INFO]   Geronimo :: Modules
[INFO]   Geronimo :: Activation
[INFO]   Geronimo :: ActiveMQ Embedded RAR
[INFO]   Geronimo :: Util
[INFO]   Geronimo :: Kernel
[INFO]   Geronimo :: Common
[INFO]   Geronimo :: System
[INFO]   Geronimo :: Management API
[INFO]   Geronimo :: J2EE
[INFO]   Geronimo :: ActiveMQ GBean Management Interfaces
[INFO]   Geronimo :: Core
[INFO]   Geronimo :: Transaction
[INFO]   Geronimo :: Interceptor
[INFO]   Geronimo :: Security
[INFO]   Geronimo :: Naming
[INFO]   Geronimo :: Deployment
[INFO]   Geronimo :: Connector
[INFO]   Geronimo :: ActiveMQ GBeans
[INFO]   Geronimo :: Web Services
[INFO]   Geronimo :: Axis
[INFO]   Geronimo :: Deploy :: Common Config
[INFO]   Geronimo :: Service :: Builder
[INFO]   Geronimo :: J2EE Schema
[INFO]   Geronimo :: J2EE :: Builder
[INFO]   Geronimo :: Naming :: Builder
[INFO]   Geronimo :: Webservices :: Builder
[INFO]   Geronimo :: Axis :: Builder
[INFO]   Geronimo :: Client
[INFO]   Geronimo :: Security :: Builder
[INFO]   Geronimo :: Test :: DDBeans
[INFO]   Geronimo :: Connector :: Builder
[INFO]   Geronimo :: Client Builder
[INFO]   Geronimo :: Clustering
[INFO]   Geronimo :: Clustering WADI
[INFO]   Geronimo :: Configuration Converter
[INFO]   Geronimo :: Deploy :: JSR-88
[INFO]   Geronimo :: Deploy :: CLI Tool
[INFO]   Geronimo :: Derby
[INFO]   Geronimo :: Directory
[INFO]   Geronimo :: Deploy :: Hot Deployer
[INFO]   Geronimo :: JMX Remoting
[INFO]   Geronimo :: Mail
[INFO]   Geronimo :: OpenEJB
[INFO]   Geronimo :: OpenEJB :: Builder
[INFO]   Geronimo :: Timer
[INFO]   Geronimo :: Tomcat
[INFO]   Geronimo :: Web 2.5 :: Builder
[INFO]   Geronimo :: Tomcat :: Builder
[INFO]   Geronimo :: Upgrade
[INFO]   Geronimo :: Transformer
[INFO]   Geronimo :: Persistence 3.0
[INFO]   Geronimo :: Persistence JPA1.0 :: Builder
[INFO]   Geronimo :: CXF
[INFO]   Geronimo :: CXF :: Builder
[INFO]   Geronimo :: AXIS2
[INFO]   Geronimo :: Axis2 :: Builder
[INFO]   Geronimo :: Jetty 6
[INFO]   Geronimo :: Jetty 6 :: Builder
[INFO]   Geronimo :: Jetty 6 Clustering over WADI
[INFO]   Geronimo :: Jetty 6 :: Clustering Builder for WADI
[INFO]   Geronimo :: Transaction JTA 11
[INFO]   Geronimo Maven2 Plugins
[INFO]   Geronimo Maven2 Plugins :: CAR
[INFO]   Geronimo Maven2 Plugins :: Geronimo
[INFO]   Geronimo Maven2 Plugins :: Selenium
[INFO]   Geronimo Maven2 Plugins :: Testsuite Plugin
[INFO]   Geronimo Maven2 Plugins :: Testsuite Archetype
[INFO]   Geronimo Applications
[INFO]   Geronimo Applications :: Welcome
[INFO]   Geronimo Applications :: Dojo
[INFO]   Geronimo Applications, Examples
[INFO]   Geronimo Applications, Examples :: JSP (JSR 152)
[INFO]   Geronimo Applications, Examples :: Servlet (JSR 154)
[INFO]   Geronimo Applications :: Console
[INFO]   Geronimo Applications, Console :: Core
[INFO]   Geronimo Applications, Console :: Standard Portlets
[INFO]   Geronimo Applications, Console :: Portal Framework
[INFO]   Geronimo Applications, Console :: EAR
[INFO]   Geronimo Applications :: Remote Deploy
[INFO]   Geronimo Applications :: UDDI Server Database
[INFO]   Geronimo Applications :: UDDI Server
[INFO]   Geronimo Applications :: LDAP Demo
[INFO]   Geronimo Applications :: The Magic G Ball
[INFO]   Geronimo Applications, The Magic G Ball :: EJB
[INFO]   Geronimo Applications, The Magic G Ball :: Client
[INFO]   Geronimo Applications, The Magic G Ball :: WAR
[INFO]   Geronimo Applications, The Magic G Ball :: EAR
[INFO]   Geronimo Applications :: Demo
[INFO]   Geronimo Applications :: CA Helper Application
[INFO]   Geronimo Configs
[INFO]   Geronimo Configs :: GBean Deployer
[INFO]   Geronimo Configs :: JavaEE Specs
[INFO]   Geronimo Configs :: J2EE System
[INFO]   Geronimo Configs :: RMI Naming
[INFO]   Geronimo Configs :: J2EE Security
[INFO]   Geronimo Configs :: J2EE Server
[INFO]   Geronimo Configs :: J2EE Deployer
[INFO]   Geronimo Configs :: Transaction Manager JTA11
[INFO]   Geronimo Configs :: Connector Deployer
[INFO]   Geronimo Configs :: System Database
[INFO]   Geronimo Configs :: ActiveMQ Broker
[INFO]   Geronimo Configs :: ActiveMQ
[INFO]   Geronimo Configs :: Axis
[INFO]   Geronimo Configs :: Axis Deployer
[INFO]   Geronimo Configs :: Client System
[INFO]   Geronimo Configs :: J2EE Client
[INFO]   Geronimo Configs :: J2EE Client transaction
[INFO]   Geronimo Configs :: Application Client Deployments
[INFO]   Geronimo Configs :: J2EE Client Security
[INFO]   Geronimo Configs :: Clustering
[INFO]   Geronimo Configs :: Directory
[INFO]   Geronimo Configs :: Hot Deployer
[INFO]   Geronimo Configs :: JavaMail
[INFO]   Geronimo Configs :: WebServices Common
[INFO]   Geronimo Configs :: Jetty 6
[INFO]   Geronimo Configs :: Jetty Deployer
[INFO]   Geronimo Configs :: JSP Examples Jetty
[INFO]   Geronimo Configs :: Tomcat
[INFO]   Geronimo Configs :: Tomcat Deployer
[INFO]   Geronimo Configs :: JSP Examples Tomcat
[INFO]   Geronimo Configs :: LDAP Demo for Jetty
[INFO]   Geronimo Configs :: LDAP Demo for Tomcat
[INFO]   Geronimo Configs :: LDAP Security Realm
[INFO]   Geronimo Configs :: Online Deployer
[INFO]   Geronimo Configs :: OpenEJB
[INFO]   Geronimo Configs :: OpenEJB Deployer
[INFO]   Geronimo Configs :: Remote Deploy Jetty
[INFO]   Geronimo Configs :: Remote Deploy Tomcat
[INFO]   Geronimo Configs :: Servlet Examples for Jetty
[INFO]   Geronimo Configs :: Servlet Examples for Tomcat
[INFO]   Geronimo Configs :: Shared Library
[INFO]   Geronimo Configs :: Shutdown
[INFO]   Geronimo Configs :: UDDI Tomcat
[INFO]   Geronimo Configs :: Unavailable Client Deployer
[INFO]   Geronimo Configs :: Unavailable EJB Deployer
[INFO]   Geronimo Configs :: Unavailable Web Services Deployer
[INFO]   Geronimo Configs :: Plan Upgrade
[INFO]   Geronimo Configs :: CLI Upgrade
[INFO]   Geronimo Configs :: Clustering over WADI
[INFO]   Geronimo Configs :: Dojo app Tomcat
[INFO]   Geronimo Configs :: WebConsole Tomcat
[INFO]   Geronimo Configs :: Welcome app Jetty
[INFO]   Geronimo Configs :: Welcome app Tomcat
[INFO]   Geronimo Configs :: CA Helper app - Jetty
[INFO]   Geronimo Configs :: CA Helper app - Tomcat
[INFO]   Geronimo Configs :: Transformer Agent
[INFO]   Geronimo Configs :: Persistence Deployer
[INFO]   Geronimo Configs :: OpenJPA with dependencies
[INFO]   Geronimo Configs :: CXF
[INFO]   Geronimo Configs :: CXF Deployer
[INFO]   Geronimo Configs :: Axis2
[INFO]   Geronimo Configs :: Axis2 Deployer
[INFO]   Geronimo Configs :: Dojo app jetty6
[INFO]   Geronimo Configs :: Jetty 6 :: Clustering Builder for WADI
[INFO]   Geronimo Configs :: Jetty 6 Clustering over WADI
[INFO]   Geronimo Configs :: UDDI Jetty6
[INFO]   Geronimo Configs :: WebConsole Jetty6
[INFO]   Geronimo Assemblies
[INFO]   Geronimo Assemblies :: Boilerplate Minimal
[INFO]   Geronimo Assemblies :: Boilerplate JEE5
[INFO]   Geronimo Assemblies :: JEE5 + Jetty6
[INFO]   Geronimo Assemblies :: JEE5 + Tomcat
[INFO]   Geronimo Assemblies :: Minimal Framework
[INFO]   Geronimo Assemblies :: Minimal + Jetty6
[INFO]   Geronimo Assemblies :: Minimal + Tomcat
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] snapshot org.apache.geronimo.plugins:car-maven-plugin:2.0-SNAPSHOT: 
check
ing for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.plugins:car-maven-plugin:2.0-SNAPSHOT: 
check
ing for updates from codehaus-snapshots
Downloading: 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/ger
onimo/plugins/car-maven-plugin/2.0-SNAPSHOT/car-maven-plugin-2.0-20070124.044558
-5.jar
42K downloaded
[INFO] 
-------------------------------------------------------------------------
---
[INFO] Building Geronimo
[INFO]    task-segment: [eclipse:eclipse]
[INFO] 
-------------------------------------------------------------------------
---
[INFO] Preparing eclipse:eclipse
[INFO] [tools:require-java-version {execution: validate-java-version}]
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Failed to lookup required components

Embedded error: Component descriptor cannot be found in the component 
repository
: org.apache.geronimo.genesis.dependency.DependencyHelper.
[INFO] 
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to lookup 
require
d components
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecy
cle(DefaultLifecycleExecutor.java:891)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(Def
aultLifecycleExecutor.java:734)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:505)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:458)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.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(DelegatingMethodAcces
sorImpl.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.plugin.MojoExecutionException: Failed to lookup 
requ
ired components
        at 
org.apache.geronimo.genesis.MojoSupport.init(MojoSupport.java:104)
        at 
org.apache.geronimo.genesis.MojoSupport.execute(MojoSupport.java:119)

        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 20 more
Caused by: 
org.codehaus.plexus.component.repository.exception.ComponentLookupExc
eption: Component descriptor cannot be found in the component repository: 
org.ap
ache.geronimo.genesis.dependency.DependencyHelper.
        at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:323)
        at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:312)
        at 
org.apache.geronimo.genesis.MojoSupport.init(MojoSupport.java:101)
        ... 23 more
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Sat Jan 27 04:16:38 CST 2007
[INFO] Final Memory: 54M/103M
[INFO] 
------------------------------------------------------------------------

E:\workspace\openejb\openejb3>

and I did

so.please tell me what happened?why? isn't some plugins is not in maven's 
repository(%HOME%/.m2/repository)?
thanks.
-A Fei-

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


Mime
View raw message