geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Gawor <jga...@gmail.com>
Subject Re: [BUILD] branches/2.1: Failed for Revision: 990497
Date Fri, 03 Sep 2010 01:14:21 GMT
I can replicate the problem with Maven 2.0.10/11 (the version used for
2.1 and 2.2 builds) but not with Maven 2.2.1. For now I updated the
builds to use Maven 2.2. Let's see if that works.

Jarek

On Thu, Sep 2, 2010 at 5:02 AM, Shawn Jiang <genspring@gmail.com> wrote:
> This is also preventing 2.2 build from passing.   I can't recreate it
> locally.    I checked the jspc plugin in private nexus and they look good to
> me.
>
> Can anyone have the build server access take a look ?
>
> On Mon, Aug 30, 2010 at 1:59 AM, Kevan Miller <kevan.miller@gmail.com>
> wrote:
>>
>> There seems to be a problem with the maven configuration on the build
>> system or the nexus repository that the build system is using. The contents
>> of jspc-compiler-api-2.0-alpha-2.jar in the local repo on the build system
>> contain a 301:
>>
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> <html><head>
>> <title>301 Moved Permanently</title>
>> </head><body>
>> <h1>Moved Permanently</h1>
>> <p>The document has moved <a
>> href="https://nexus.codehaus.org/content/repositories/releases/org/codehaus/mojo/jspc/jspc-compiler-api/2.0-alpha-2/jspc-compiler-api-2.0-alpha-2.jar">here</a>.</p>
>> <hr>
>> <address>Apache/2.0.52 (Red Hat) Server at repository.codehaus.org Port
>> 80</address>
>> </body></html>
>>
>> I don't see the problem locally. Hopefully the private nexus repo will get
>> synced up, soon. If anybody is familiar with its configuration, maybe you
>> could give it a kick?
>>
>> --kevan
>>
>> On Aug 29, 2010, at 8:10 AM, gawor@apache.org wrote:
>>
>> > Geronimo Revision: 990497 built with tests included
>> >
>> > See the full build-0200.log file at
>> > http://people.apache.org/builds/geronimo/server/binaries/2.1/20100829/build-0200.log
>> >
>> >
>> > See the unit test reports at
>> > http://people.apache.org/builds/geronimo/server/binaries/2.1/20100829/unit-test-reports
>> >
>> >
>> >
>> > this realm = plexus.core
>> > urls[0] = file:/usr/local/maven/lib/maven-2.0.9-uber.jar
>> > Number of imports: 6
>> > import: org.codehaus.classworlds.Entry@4891bb28
>> > import: org.codehaus.classworlds.Entry@f8e44ca4
>> > import: org.codehaus.classworlds.Entry@c51bc9e7
>> > import: org.codehaus.classworlds.Entry@bece5185
>> > import: org.codehaus.classworlds.Entry@3fee8e37
>> > import: org.codehaus.classworlds.Entry@3fee19d8
>> > -----------------------------------------------------
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Internal error in the plugin manager executing goal
>> > 'org.codehaus.mojo.jspc:jspc-maven-plugin:2.0-alpha-2:compile': Unable to
>> > find the mojo 'org.codehaus.mojo.jspc:jspc-maven-plugin:2.0-alpha-2:compile'
>> > in the plugin 'org.codehaus.mojo.jspc:jspc-maven-plugin'
>> > Lorg/codehaus/mojo/jspc/compiler/JspCompiler;
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Trace
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
>> > in the plugin manager executing goal
>> > 'org.codehaus.mojo.jspc:jspc-maven-plugin:2.0-alpha-2:compile': Unable to
>> > find the mojo 'org.codehaus.mojo.jspc:jspc-maven-plugin:2.0-alpha-2:compile'
>> > in the plugin 'org.codehaus.mojo.jspc:jspc-maven-plugin'
>> >       at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:562)
>> >       at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>> >       at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>> >       at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>> >       at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>> >       at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>> >       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>> >       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>> >       at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>> >       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:585)
>> >       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.PluginManagerException: Unable to
>> > find the mojo 'org.codehaus.mojo.jspc:jspc-maven-plugin:2.0-alpha-2:compile'
>> > in the plugin 'org.codehaus.mojo.jspc:jspc-maven-plugin'
>> >       at
>> > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:618)
>> >       at
>> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429)
>> >       at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>> >       ... 16 more
>> > Caused by:
>> > org.codehaus.plexus.component.repository.exception.ComponentLookupException:
>> > Unable to lookup component
>> > 'org.apache.maven.plugin.Mojoorg.codehaus.mojo.jspc:jspc-maven-plugin:2.0-alpha-2:compile',
>> > it could not be created
>> >       at
>> > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:335)
>> >       at
>> > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
>> >       at
>> > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:609)
>> >       ... 18 more
>> > Caused by:
>> > org.codehaus.plexus.component.factory.ComponentInstantiationException: Could
>> > not instanciate component: role: 'null', implementation:
>> > 'org.codehaus.mojo.jspc.CompileMojo'
>> >       at
>> > org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeException(JavaComponentFactory.java:77)
>> >       at
>> > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:62)
>> >       at
>> > org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464)
>> >       at
>> > org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:93)
>> >       at
>> > org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent(PerLookupComponentManager.java:48)
>> >       at
>> > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
>> >       ... 20 more
>> > Caused by: java.lang.NoClassDefFoundError:
>> > Lorg/codehaus/mojo/jspc/compiler/JspCompiler;
>> >       at java.lang.Class.getDeclaredFields0(Native Method)
>> >       at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
>> >       at java.lang.Class.getDeclaredFields(Class.java:1715)
>> >       at
>> > org.codehaus.groovy.reflection.CachedClass$2.run(CachedClass.java:217)
>> >       at java.security.AccessController.doPrivileged(Native Method)
>> >       at
>> > org.codehaus.groovy.reflection.CachedClass.getFields(CachedClass.java:214)
>> >       at groovy.lang.MetaClassImpl.addFields(MetaClassImpl.java:1719)
>> >       at
>> > groovy.lang.MetaClassImpl.inheritFields(MetaClassImpl.java:1714)
>> >       at
>> > groovy.lang.MetaClassImpl.setupProperties(MetaClassImpl.java:1603)
>> >       at
>> > groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:2508)
>> >       at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2479)
>> >       at
>> > org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getGlobalMetaClass(MetaClassRegistryImpl.java:253)
>> >       at
>> > org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.access$100(MetaClassRegistryImpl.java:45)
>> >       at
>> > org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl$LocallyKnownClasses.getFromGlobal(MetaClassRegistryImpl.java:112)
>> >       at
>> > org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl$LocallyKnownClasses.getMetaClass(MetaClassRegistryImpl.java:88)
>> >       at
>> > org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl$MyThreadLocal.getMetaClass(MetaClassRegistryImpl.java:361)
>> >       at
>> > org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:265)
>> >       at
>> > org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:729)
>> >       at
>> > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.initMetaClass(ScriptBytecodeAdapter.java:799)
>> >       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:585)
>> >       at
>> > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>> >       at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>> >       at
>> > groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1105)
>> >       at
>> > org.codehaus.groovy.runtime.InvokerHelper.invokeStaticMethod(InvokerHelper.java:804)
>> >       at
>> > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeStaticMethodN(ScriptBytecodeAdapter.java:215)
>> >       at
>> > org.codehaus.groovy.maven.mojo.GroovyMojo.<init>(GroovyMojo.groovy)
>> >       at
>> > org.codehaus.mojo.jspc.CompilationMojoSupport.<init>(CompilationMojoSupport.groovy)
>> >       at org.codehaus.mojo.jspc.CompileMojo.<init>(CompileMojo.groovy)
>> >       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> > Method)
>> >       at
>> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> >       at
>> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> >       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>> >       at java.lang.Class.newInstance0(Class.java:350)
>> >       at java.lang.Class.newInstance(Class.java:303)
>> >       at
>> > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44)
>> >       ... 24 more
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 375 minutes 36 seconds
>> > [INFO] Finished at: Sun Aug 29 08:20:05 EDT 2010
>> > [INFO] Final Memory: 241M/555M
>> > [INFO]
>> > ------------------------------------------------------------------------
>>
>
>
>
> --
> Shawn
>

Mime
View raw message