Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Using Huson with Maven 3 and Tycho

The problem seems to be that Hudson is running Maven 2 instead of
Maven 3. Check your job configuration and hudson settings and make
sure that the job is executed with Maven 3.

I'm successfully building a project using Tycho/Maven 3/Hudson,
recently migrated to Jenkins.

On Fri, Jun 10, 2011 at 5:06 PM, Helle, Guillaume
<guillaume.helle@xxxxxxxxxxxxx> wrote:
> Hello,
>
> I try to build my Eclipse application & plugin with Hudson but I have this error :
>
> ERROR: Echec ? la lecture des POMs
> hudson.util.IOException2: remote file operation failed
>        at hudson.FilePath.act(FilePath.java:677)
>        at hudson.FilePath.act(FilePath.java:665)
>        at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:531)
>        at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:391)
>        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
>        at hudson.model.Run.run(Run.java:1176)
>        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
>        at hudson.model.ResourceController.execute(ResourceController.java:88)
>        at hudson.model.Executor.run(Executor.java:123)
> Caused by: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: hudson.maven.MavenEmbedder$1: Cannot find layout implementation corresponding to: 'p2' for remote repository with id: 'galileo'. for project my.project:my.project.maven at /var/lib/hudson/workspace/Toulouse - MDF/trunk/my.project.maven/pom.xml
>        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:881)
>        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:786)
>        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2072)
>        at hudson.remoting.UserRequest.perform(UserRequest.java:104)
>        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>        at hudson.remoting.Request$2.run(Request.java:270)
>        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: hudson.remoting.ProxyException: hudson.maven.MavenEmbedder$1: Cannot find layout implementation corresponding to: 'p2' for remote repository with id: 'galileo'. for project my.project:my.project.maven at /var/lib/hudson/workspace/Toulouse - MDF/trunk/my.project.maven/pom.xml
>        at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:336)
>        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:861)
>        ... 11 more
> Caused by: hudson.remoting.ProxyException: org.apache.maven.project.InvalidProjectModelException: Cannot find layout implementation corresponding to: 'p2' for remote repository with id: 'galileo'. for project my.project:my.project.maven at /var/lib/hudson/workspace/Toulouse - MDF/trunk/my.project.maven/pom.xml
>        at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:886)
>        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
>        at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:215)
>        at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:334)
>        ... 12 more
> Caused by: hudson.remoting.ProxyException: org.apache.maven.artifact.InvalidRepositoryException: Cannot find layout implementation corresponding to: 'p2' for remote repository with id: 'galileo'.
>        at org.apache.maven.project.ProjectUtils.getRepositoryLayout(ProjectUtils.java:147)
>        at org.apache.maven.project.ProjectUtils.buildArtifactRepository(ProjectUtils.java:100)
>        at org.apache.maven.project.ProjectUtils.buildArtifactRepositories(ProjectUtils.java:56)
>        at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:1112)
>        at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:878)
>        ... 15 more
> Caused by: hudson.remoting.ProxyException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayoutp2.
>        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:323)
>        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
>        at org.apache.maven.project.ProjectUtils.getRepositoryLayout(ProjectUtils.java:143)
>        ... 19 more
> Finished: FAILURE
>
> Can i build my project with Hudson/maven3/Tycho ?
> (It works in command line...)
>
> Thx for your help!
>
> Guillaume Helle
>
>
>
>
>
>
> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
> read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message
> in error, please notify the sender immediately and delete all copies of this message.
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>


Back to the top