AnsweredAssumed Answered

MVN BUILD

Question asked by dev1 on May 14, 2011
Latest reply on May 16, 2011 by trademak
hi,

I am trying to build Activiti source code from terminal by using mvn eclipse:clean eclipse:eclipse and I am getting following error…

may I know what might be the reason/solution for this

[INFO] ————————————————————————
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find layout implementation corresponding to: 'p2' for remote repository with id: 'eclipse-helios'. for project org.activiti.designer:org.activiti.designer.parent
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
   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:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   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.project.ProjectBuildingException: Cannot find layout implementation corresponding to: 'p2' for remote repository with id: 'eclipse-helios'. for project org.activiti.designer:org.activiti.designer.parent
   at org.apache.maven.project.DefaultMavenProjectBuilder.buildArtifactRepositories(DefaultMavenProjectBuilder.java:949)
   at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1206)
   at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1407)
   at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
   at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
   at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
   at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
   at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
   … 12 more
Caused by: org.apache.maven.artifact.InvalidRepositoryException: Cannot find layout implementation corresponding to: 'p2' for remote repository with id: 'eclipse-helios'.
   at org.apache.maven.project.ProjectUtils.getRepositoryLayout(ProjectUtils.java:157)
   at org.apache.maven.project.ProjectUtils.buildArtifactRepository(ProjectUtils.java:110)
   at org.apache.maven.project.ProjectUtils.buildArtifactRepositories(ProjectUtils.java:56)
   at org.apache.maven.project.DefaultMavenProjectBuilder.buildArtifactRepositories(DefaultMavenProjectBuilder.java:942)
   … 20 more
Caused by: 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:153)
   … 23 more

Outcomes