Sorry, forgot to mention:
continuum-1.0.3-snapshot
maven-2.0.2

I fiddled around a little in my pom, deleted some whitespace etc., and at some point, continuum really imported the project. I wish I could tell what made it work, but the error message always showed up. Quite confusing, maybe the validation error messages can be improved?
I will report next time this happens, and I hope I can reproduce it by then.

Bye,
   Michael


What is your continuum version?
What is your maven version?

Can you attach your pom?

Emmanuel

Michael Böckling a écrit :

Hi!

I'm trying to upload a pom to continuum that works locally, but obviously not in continuum. When I try to upload, it says my POM is invalid. It does not say what is wrong with it, which linenumber causes the error or gives any useful hint as how to fix the problem. Is there a way to get more info, so I can get to the root of the problem?
Thanks in advance!

Log Entry:

INFO | jvm 1 | 2006/02/20 16:49:01 | 2006-02-20 16:49:01,693 [SocketListener0-0] ERROR MavenBuilderHelper - Cannot build maven project from /tmp/continuum-63353.tmp (Failed to validate POM). INFO | jvm 1 | 2006/02/20 16:49:01 | org.apache.maven.project.InvalidProjectModelException: Failed to validate POM INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:774) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:624) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile(DefaultMavenProjectBuilder.java:298) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:283) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getMavenProject(DefaultMavenBuilderHelper.java:290) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.readModules(MavenTwoContinuumProjectBuilder.java:100) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:83) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.execute(CreateProjectsFromMetadata.java:53) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinuum.java:1883) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:686) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(DefaultContinuum.java:594) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccessfulValidation(AddMavenTwoProject.java:52) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:136) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108) INFO | jvm 1 | 2006/02/20 16:49:01 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) INFO | jvm 1 | 2006/02/20 16:49:01 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.http.HttpServer.service(HttpServer.java:879) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331) INFO | jvm 1 | 2006/02/20 16:49:01 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520) INFO | jvm 1 | 2006/02/20 16:49:01 | 2006-02-20 16:49:01,754 [SocketListener0-0] INFO Continuum - Created 0 projects. INFO | jvm 1 | 2006/02/20 16:49:01 | 2006-02-20 16:49:01,754 [SocketListener0-0] INFO Continuum - Created 0 project groups. INFO | jvm 1 | 2006/02/20 16:49:01 | 2006-02-20 16:49:01,754 [SocketListener0-0] INFO Continuum - 1 warnings. INFO | jvm 1 | 2006/02/20 16:49:01 | 2006-02-20 16:49:01,754 [SocketListener0-0] INFO Continuum - Cannot build maven project from /tmp/continuum-63353.tmp (Failed to validate POM).



--
Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel
P: +41 61 226 99 63 - F: +41 61 226 99 69
[EMAIL PROTECTED]; http://www.giniality.com/


Reply via email to