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 1.0.2
Date Tue, 13 Dec 2005 07:44:08 GMT
No, you don't need to use the shell feature for adding a m2 project with modules. You use the
shell 
feature if you want to see your projects as one in continuum.

Emmanuel

dan tran a écrit :
> could you post your pom?
> 
> Btw, if you define <modules> in your pom, you will need to use a shell to
> wrap the call
> 
> http://maven.apache.org/continuum/faqs.html
> 
> -D
> 
> 
> On 12/12/05, Michael Fiedler <mfiedler@wernervas.com> wrote:
> 
>>I am able to execute the maven (mvn) validate and install to the same
>>pom.  I also added the subprojects (instead of the higher level pom) into
>>Continuum and both worked fine.  How can I get a verbose message regarding
>>the pom being invalid?
>>
>>Thank you, Michael
>>
>>-----Original Message-----
>>From: dan tran [mailto:dantran@gmail.com]
>>Sent: Monday, December 12, 2005 1:59 PM
>>To: continuum-users@maven.apache.org
>>Subject: Re: Continuum 1.0.2
>>
>>
>>are you able to build your project manually before addin it to continuum?
>>it seems, your pom is not a 4.0.0 model.
>>
>>-D
>>
>>
>>On 12/12/05, Michael Fiedler <mfiedler@wernervas.com> wrote:
>>
>>>Hi,
>>>
>>>  I tried to load a maven2 pom into Continuum 1.0.2.  It complained that
>>>the POM was invalid.  However, when I ran the maven2 validate goal on
>>
>>the
>>
>>>same file, nothing was wrong.  Does Continuum have a different
>>>validate?  How can I find out more about what was invalid?
>>>
>>>console:
>>>jvm 1    | 2005-12-12 12:43:24,312 [SocketListener0-0] ERROR
>>>MavenBuilderHelper             - Cannot build maven project from
>>>C:\DOCUME~1\OMA-SV~1\LOCALS~1\Temp\continuum-10186.tmp.
>>>jvm 1    | org.apache.maven.project.InvalidProjectModelException:
>>
>>Invalid
>>
>>>POM (not v4.0.0 modelVersion)
>>>jvm 1    |      at
>>>org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
>>>DefaultMavenProjectBuilder.java:1086)
>>>jvm 1    |      at
>>>org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
>>>DefaultMavenProjectBuilder.java:1057)
>>>jvm 1    |      at
>>>org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile(
>>>DefaultMavenProjectBuilder.java:291)
>>>jvm 1    |      at
>>>org.apache.maven.project.DefaultMavenProjectBuilder.build(
>>>DefaultMavenProjectBuilder.java:283)
>>>jvm 1    |      at
>>>
>>
>>org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getMavenProject
>>
>>>(DefaultMavenBuilderHelper.java:260)
>>>jvm 1    |      at
>>>
>>
>>org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.readModules
>>
>>>(MavenTwoContinuumProjectBuilder.java:100)
>>>jvm 1    |      at
>>>
>>
>>org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.buildProjectsFromMetadata
>>
>>>(MavenTwoContinuumProjectBuilder.java:83)
>>>jvm 1    |      at
>>>
>>
>>org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.execute(
>>
>>>CreateProjectsFromMetadata.java:63)
>>>jvm 1    |      at
>>>org.apache.maven.continuum.DefaultContinuum.executeAction(
>>>DefaultContinuum.java:1809)
>>>jvm 1    |      at
>>>
>>
>>org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity
>>
>>>(DefaultContinuum.java:674)
>>>jvm 1    |      at
>>>org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(
>>>DefaultContinuum.java:582)
>>>jvm 1    |      at
>>>
>>
>>org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccessfulValidation
>>
>>>(AddMavenTwoProject.java:52)
>>>jvm 1    |      at
>>>org.codehaus.plexus.formica.action.AbstractEntityAction.execute(
>>>AbstractEntityAction.java:136)
>>>jvm 1    |      at
>>>org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(
>>>ActionValve.java:68)
>>>jvm 1    |      at
>>>org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(
>>>AbstractPipeline.java:70)
>>>jvm 1    |      at org.codehaus.plexus.summit.Summit.doGet(Summit.java
>>
>>:54)
>>
>>>jvm 1    |      at org.codehaus.plexus.summit.Summit.doPost(Summit.java
>>>:108)
>>>jvm 1    |      at javax.servlet.http.HttpServlet.service(
>>
>>HttpServlet.java
>>
>>>:615)
>>>jvm 1    |      at javax.servlet.http.HttpServlet.service(
>>
>>HttpServlet.java
>>
>>>:688)
>>>jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.handle(
>>>ServletHolder.java:358)
>>>jvm 1    |      at
>>>org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
>>>WebApplicationHandler.java:294)
>>>jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.handle(
>>>ServletHandler.java:567)
>>>jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java
>>>:1807)
>>>jvm 1    |      at
>>
>>org.mortbay.jetty.servlet.WebApplicationContext.handle(
>>
>>>WebApplicationContext.java:525)
>>>jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java
>>>:1757)
>>>jvm 1    |      at org.mortbay.http.HttpServer.service(HttpServer.java
>>>:879)
>>>jvm 1    |      at org.mortbay.http.HttpConnection.service(
>>>HttpConnection.java:789)
>>>jvm 1    |      at org.mortbay.http.HttpConnection.handleNext(
>>>HttpConnection.java:960)
>>>jvm 1    |      at org.mortbay.http.HttpConnection.handle(
>>>HttpConnection.java:806)
>>>jvm 1    |      at org.mortbay.http.SocketListener.handleConnection(
>>>SocketListener.java:218)
>>>jvm 1    |      at org.mortbay.util.ThreadedServer.handle(
>>>ThreadedServer.java:331)
>>>jvm 1    |      at org.mortbay.util.ThreadPool$PoolThread.run(
>>>ThreadPool.java:520)
>>>
>>>Thank you,
>>>Michael Fiedler
>>>
>>>
>>
> 


Mime
View raw message