continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Continuum Gives a Not a v4.0.0 POM exception.
Date Tue, 29 Aug 2006 13:53:12 GMT

Piyush Kumar Nahata a écrit :
>  
> Hi all,
>    I'm using Continuum-1.0.3 with Maven 2.0.4. I have a multi project.
> When I try to give the URL of the child project, I get the folowing
> Error
> 
> ----------------------------------START OF STACK
> TRACE--------------------------------------------
> 
> 2006-08-29 09:24:38,643 [SocketListener0-9] INFO
> ContinuumProjectBuilder:maven-two-builder - Downloading
> http://10.225.96.127:8089/svn/repos/steam/common
> 2006-08-29 09:24:38,678 [SocketListener0-9] ERROR MavenBuilderHelper
> - Cannot build maven project from
> /work/servers/continuum-1.0.3/temp/continuum/svn/repos/steam/common (Not
> a v4.0.0 POM.).
> 
> org.apache.maven.project.InvalidProjectModelException: Not a v4.0.0 POM.
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMav
> enProjectBuilder.java:1299)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMav
> enProjectBuilder.java:1270)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileI
> nternal(DefaultMavenProjectBuilder.java:414)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenPr
> ojectBuilder.java:201)
>         at
> org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.
> getMavenProject(DefaultMavenBuilderHelper.java:306)
>         at
> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjec
> tBuilder.readModules(MavenTwoContinuumProjectBuilder.java:99)
>         at
> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjec
> tBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:
> 83)
>         at
> org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.execut
> e(CreateProjectsFromMetadata.java:74)
>         at
> org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinu
> um.java:2089)
>         at
> org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetada
> taActivity(DefaultContinuum.java:804)
>         at
> org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(DefaultCo
> ntinuum.java:712)
>         at
> org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccessfulV
> alidation(AddMavenTwoProject.java:52)
>         at
> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(Abstract
> EntityAction.java:136)
>         at
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.java:70)
>         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> andler.java:294)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>         at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> text.java:525)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>         at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>         at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>         at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> )
>         at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>         at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> 2006-08-29 09:24:38,680 [SocketListener0-9] INFO  Continuum
> - Created 0 projects.
> 2006-08-29 09:24:38,680 [SocketListener0-9] INFO  Continuum
> - Created 0 project groups.
> 2006-08-29 09:24:38,680 [SocketListener0-9] INFO  Continuum
> - 1 warnings.
> 2006-08-29 09:24:38,681 [SocketListener0-9] INFO  Continuum
> - Cannot build maven project from
> /work/servers/continuum-1.0.3/temp/continuum/svn/repos/steam/common (Not
> a v4.0.0 POM.).
> 
> ----------------------------------END OF STACK
> TRACE--------------------------------------------

The url you provided isn't the url of a m2 pom. It should be somethink like this : 
http://10.225.96.127:8089/svn/repos/steam/common/pom.xml

> 
> Here, Steam is the name of the parent project and Common is the name of
> the child project that I'm trying to build.
> /repos/steam/common is the structure in the Repository. 
> 
> I'm running this on Linix.
> 
> Am I missing something ?? Does anyone have any idea why, Continuum uses
> temp to store the local files, when I have given a proper file path to
> checkout the files.

temp is used only for the download of the pom. then continuum can load it and checkout the
project 
in the project working directory. The temp file isn't used after.

> 
> I get this error as soon as I Give the URL and try to load the
> project()i.e click on the submit button on the Continuum page). 
> 
> Any idea's are highly appreciated.
> 
> Regards,
> Piyush Kumar Nahata,
>  
> 
> 
> 


Mime
View raw message