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] trunk: Failed for Revision: 998808
Date Mon, 20 Sep 2010 13:06:43 GMT
It's the same problem that affected 2.2/2.1 builds but somehow it's
happening now on trunk. Seems like even Maven 2.2.1 is not always
following http redirects. I don't know any more.
I added the following mirror entry to the build machine's
~/.m2/settings.xml file. Hopefully, that should fix it.

       <mirror>
           <id>codehaus.org.override</id>
           <name>Mirror of codehaus.org</name>
           <url>https://nexus.codehaus.org/content/repositories/releases/</url>
           <mirrorOf>codehaus.org</mirrorOf>
       </mirror>

Jarek

On Mon, Sep 20, 2010 at 8:12 AM, Shawn Jiang <genspring@gmail.com> wrote:
> Another build failure caused by jspc-maven-plugin:2.0-alpha-2.   I can't
> recreate this locally.
>
> On Mon, Sep 20, 2010 at 3:39 PM, <gawor@apache.org> wrote:
>>
>> Geronimo Revision: 998808 built with tests included
>>
>> See the full build-0300.log file at
>> http://people.apache.org/builds/geronimo/server/binaries/trunk/20100920/build-0300.log
>>
>>
>> See the unit test reports at
>> http://people.apache.org/builds/geronimo/server/binaries/trunk/20100920/unit-test-reports
>>
>> [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
>> load the mojo 'org.codehaus.mojo.jspc:jspc-maven-plugin:2.0-alpha-2:compile'
>> in the plugin 'org.codehaus.mojo.jspc:jspc-maven-plugin'. A required class
>> is missing: Lorg/codehaus/mojo/jspc/compiler/JspCompiler;
>> org.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
>> load the mojo 'org.codehaus.mojo.jspc:jspc-maven-plugin:2.0-alpha-2:compile'
>> in the plugin 'org.codehaus.mojo.jspc:jspc-maven-plugin'. A required class
>> is missing: Lorg/codehaus/mojo/jspc/compiler/JspCompiler;
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:698)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>>        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.plugin.PluginManagerException: Unable to load
>> the mojo 'org.codehaus.mojo.jspc:jspc-maven-plugin:2.0-alpha-2:compile' in
>> the plugin 'org.codehaus.mojo.jspc:jspc-maven-plugin'. A required class is
>> missing: Lorg/codehaus/mojo/jspc/compiler/JspCompiler;
>>        at
>> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:669)
>>        at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>>        ... 17 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:652)
>>        ... 19 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)
>>        ... 21 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:2291)
>>        at java.lang.Class.getDeclaredFields(Class.java:1743)
>>        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:597)
>>        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:513)
>>        at java.lang.Class.newInstance0(Class.java:355)
>>        at java.lang.Class.newInstance(Class.java:308)
>>        at
>> org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44)
>>        ... 25 more
>> Caused by: java.lang.ClassNotFoundException:
>> org.codehaus.mojo.jspc.compiler.JspCompiler
>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>        at
>> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>>        at
>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>>        at
>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>>        at
>> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>        ... 63 more
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 26 minutes 33 seconds
>> [INFO] Finished at: Mon Sep 20 03:27:42 EDT 2010
>> [INFO] Final Memory: 508M/919M
>> [INFO]
>> ------------------------------------------------------------------------
>
>
>
> --
> Shawn
>

Mime
View raw message