[JIRA] Resolved: (JENKINS-3829) "ERROR: Failed to parse POMs" using slave executor

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (JENKINS-3829) "ERROR: Failed to parse POMs" using slave executor

JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

evernat resolved JENKINS-3829.
------------------------------

    Resolution: Duplicate

Duplicate of JENKINS-3706

> "ERROR: Failed to parse POMs" using slave executor
> --------------------------------------------------
>
>                 Key: JENKINS-3829
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-3829
>             Project: Jenkins
>          Issue Type: Bug
>          Components: master-slave
>    Affects Versions: current
>         Environment: Platform: All, OS: All
>            Reporter: tpijl
>
> I am using Hudson 1.306 with Maven 2.0.9 as Master (OpenSuse) and creating a
> Hudson slave on Windows2003 VMware. This all works fine. The connection to the
> slave is up and running.
> When I now start building a Maven project in the slave executor the following
> error appears:
> ERROR: Failed to parse POMs
> org.apache.maven.embedder.MavenEmbedderException: Cannot lookup required component.
> at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:722)
> at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:116)
> at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:728)
> at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:676)
> at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1638)
> at hudson.remoting.UserRequest.perform(UserRequest.java:103)
> at hudson.remoting.UserRequest.perform(UserRequest.java:47)
> at hudson.remoting.Request$2.run(Request.java:236)
> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at hudson.remoting.Engine$1$1.run(Engine.java:54)
> at java.lang.Thread.run(Unknown Source)
> Caused by:
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> Unable to lookup component 'org.apache.maven.lifecycle.LifecycleExecutor', it
> could not be started
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:339)
> at org.codehaus.plexus.embed.Embedder.lookup(Embedder.java:78)
> at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:700)
> ... 14 more
> Caused by:
> org.codehaus.plexus.component.repository.exception.ComponentLifecycleException:
> Error starting component
> at
> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:109)
> at
> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95)
> at
> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92)
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
> ... 16 more
> Caused by:
> org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException:
> Error composing component
> at
> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:33)
> at
> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101)
> at
> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105)
> ... 19 more
> Caused by: org.codehaus.plexus.component.composition.CompositionException:
> Component composition failed. No field of type: 'interface
> org.apache.maven.project.MavenProjectBuilder' exists in class
> 'org.apache.maven.lifecycle.LifecycleExecutorInterceptor'. Component: role:
> 'org.apache.maven.lifecycle.LifecycleExecutor', implementation:
> 'org.apache.maven.lifecycle.LifecycleExecutorInterceptor'
> at
> org.codehaus.plexus.component.composition.FieldComponentComposer.getFieldByType(FieldComponentComposer.java:305)
> at
> org.codehaus.plexus.component.composition.FieldComponentComposer.findMatchingField(FieldComponentComposer.java:204)
> at
> org.codehaus.plexus.component.composition.FieldComponentComposer.assembleComponent(FieldComponentComposer.java:62)
> at
> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:68)
> at
> org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexusContainer.java:1486)
> at
> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:29)
> ... 21 more
> Finished: FAILURE

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira