Re: Continuum thinks a build is running

2006-08-29 Thread Emmanuel Venisse
If the workaround doens't work, you need to modify the project state in database with a sql client 
like Squirrel.


Emmanuel

yazsaw7 a écrit :


Any other advice that you can offer to stop a particular build?
I have a build that appears to be hung for more than 1 day.

i have restarted continuum and clicked 'Build All' and my build is still
running in the background.
I can still kick off new builds, but i can't stop the one build.

thx,
jason



Emmanuel Venisse wrote:

It's a known bug.

The workaround is:
- restart Continuum
- press the "build all" button at the bottom of the summary page

Emmanuel

Jerry DuVal a écrit :

Our server was restarted during a build and now Contiuum thinks the build
is
still running and will not start any other builds.  Any way to clear
continuum?











RE: Re: Continuum Gives a Not a v4.0.0 POM exception.

2006-08-29 Thread Piyush Kumar Nahata

Hi all,
   I don't know why I got that error and I don't know how it got resolved, but 
now I no longer get that error. I'm on a VPN connection, and due to some 
network problem the connection was reset. When I reconnected, I no longer 
encounter that error. 

   But now, I'm getting a different kind of error. Please find below a short 
snippet from the stack trace.
  
   --  START OF STACK TRACE --



2006-08-29 11:58:34,101 [Thread-2] WARN  ContinuumScm   - Error 
while updating the code for project: 'STEAM Common Project', id: '71' to 
'/work/servers/continuum-1.0.3/apps/continuum/working-directory/71'.
2006-08-29 12:00:01,101 [Thread-2] WARN  ContinuumScm   - 
Command output: svn: REPORT request failed on '/svn/repos/!svn/vcc/default'
svn: REPORT of '/svn/repos/!svn/vcc/default': Could not read status line: 
connection was closed by server. (http://10.225.96.127:8089)

  END OF STACK TRACE --


I browsed over the net, but was not able to find too many results as to why 
this error occurrs..
Any leads on this would be be great

P.S: Your active help till now is tremendous. I'm also a part of different 
other forums, but never one of so active...
Thanks for all the help that you ppl are providing  


Regards,
Piyush Kumar Nahata,
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Torsten Curdt
Sent: Tuesday, August 29, 2006 9:20 PM
To: continuum-users@maven.apache.org
Subject: Re: Re: Continuum Gives a Not a v4.0.0 POM exception.

Check your local repository. I've encountered a similar problem. Maven 
downloaded an html error page instead of a valid pom. I had to change the 
mirror and remove the invalid poms from my .m2/repository. Never expected maven 
to be so stupid and not realize that it had downloaded crap :-(

HTH
--
Torsten

On 8/29/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
>
>
> Piyush Kumar Nahata a écrit :
> >
> >
> > Hi,
> >   When I give the URL with the POM.xml included in it, as 
> > http://10.225.96.127:8089/svn/repos/steam/common/pom.xml 
> >  , I get a 
> > different Error.
> >
> > Could not download 
> > http://10.225.96.127:8089/svn/repos/steam/common/pom.xml: 
> > /work/servers/continuum-1.0.3/temp/continuum/svn/repos/steam/common/
> > pom.xml (Not a directory)
> >
> > When I browsed to this path, I found that Steam is a directory, but common 
> > is a file and not a directory. Hence, the error is thrown as Not a 
> > directory. Any idea, why does common gets created as a file and not a 
> > directory.
> >
> > The following is the content of the common file. I decipher it is 
> > the same as what gets printed on the browser when I browse to the 
> > location  http://10.225.96.127:8089/svn/repos/steam/common/ 
> > 
> >
> > Revision 2265: /steam/common 
> >   Revision 2265: /steam/common  
> >   ..
> >   conf/
> >   pom.xml
> >   src/
> >  
> >  Powered by  > href="http://subversion.tigris.org/";>Subversion > Subversion > version 1.1.4 
> > (r13838). 
>
> This output isn't a pom but a directory listing of common directory
>
> Emmanuel
> >
> >  Thanks in advance
> >
> > Regards,
> > Piyush Kumar Nahata,
> >
> >
> > -Original Message-
> > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
> >  ]
> > Sent: Tuesday, August 29, 2006 7:23 PM
> > To: continuum-users@maven.apache.org
> > Subject: Re: Continuum Gives a Not a v4.0.0 POM exception.
> >
> >
> > 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(Defau
> >> ltM
> >> av
> >> enProjectBuilder.java:1299)
> >> at
> >> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Defau
> >> ltM
> >> av
> >> enProjectBuilder.java:1270)
> >> at
> >> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSource
> >> Fil
> >> eI
> >> nternal(DefaultMavenProjectBuilder.java:414

Re: Re: Continuum Gives a Not a v4.0.0 POM exception.

2006-08-29 Thread Wayne Fay

I've had that happen a couple times, too. It wasn't really Maven's
fault though -- the repo webserver wasn't properly configured, so
instead of a 404 response when an artifact could not be found, it sent
back a 200 with the content being "this page cannot be found".

You can certainly complain about how Maven handles that situation
(should arguably parse and validate all POMs to a certain level prior
to installing locally) but clearly some webservers are just not
configured "properly" per the HTTP spec etc.

Wayne

On 8/29/06, Torsten Curdt <[EMAIL PROTECTED]> wrote:

Check your local repository. I've encountered a similar problem. Maven
downloaded an html error page instead of a valid pom. I had to change
the mirror and remove the invalid poms from my .m2/repository. Never
expected maven to be so stupid and not realize that it had downloaded
crap :-(

HTH
--
Torsten

On 8/29/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
>
>
> Piyush Kumar Nahata a écrit :
> >
> >
> > Hi,
> >   When I give the URL with the POM.xml included in it, as 
http://10.225.96.127:8089/svn/repos/steam/common/pom.xml 
 , I get a different Error.
> >
> > Could not download 
http://10.225.96.127:8089/svn/repos/steam/common/pom.xml: 
/work/servers/continuum-1.0.3/temp/continuum/svn/repos/steam/common/pom.xml (Not a 
directory)
> >
> > When I browsed to this path, I found that Steam is a directory, but common 
is a file and not a directory. Hence, the error is thrown as Not a directory. Any 
idea, why does common gets created as a file and not a directory.
> >
> > The following is the content of the common file. I decipher it is the same as 
what gets printed on the browser when I browse to the location  
http://10.225.96.127:8089/svn/repos/steam/common/ 

> >
> > Revision 2265: /steam/common
> > 
> >  Revision 2265: /steam/common
> >  
> >   ..
> >   conf/
> >   pom.xml
> >   src/
> >  
> >  Powered by http://subversion.tigris.org/";>Subversionhttp://subversion.tigris.org/";>Subversion > version 1.1.4 (r13838).
> > 
>
> This output isn't a pom but a directory listing of common directory
>
> Emmanuel
> >
> >  Thanks in advance
> >
> > Regards,
> > Piyush Kumar Nahata,
> >
> >
> > -Original Message-
> > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]  
]
> > Sent: Tuesday, August 29, 2006 7:23 PM
> > To: continuum-users@maven.apache.org
> > Subject: Re: Continuum Gives a Not a v4.0.0 POM exception.
> >
> >
> > 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(DefaultM
> >> av
> >> enProjectBuilder.java:1299)
> >> at
> >> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultM
> >> av
> >> enProjectBuilder.java:1270)
> >> at
> >> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFil
> >> eI
> >> nternal(DefaultMavenProjectBuilder.java:414)
> >> at
> >> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMaven
> >> Pr
> >> ojectBuilder.java:201)
> >> at
> >> org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.
> >> getMavenProject(DefaultMavenBuilderHelper.java:306)
> >> at
> >> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProj
> >> ec
> >> tBuilder.readModules(MavenTwoContinuumProjectBuilder.java:99)
> >> at
> >> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProj
> >> ec
> >> tBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:
> >> 83)
> >> at
> >> org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.exec
> >> ut
> >> e(CreateProjectsFromMetadata.java:74)
> >> at
> >> org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultConti
> >> nu
> >> um.java:2089)
> >> at
> >> org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMeta
> >> da
> >> taActivity(DefaultContinuum.java:804)
> >> at
> >> org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(Default
> >> Co
> >> ntinuum.java:712)
> >> 

Re: Re: Continuum Gives a Not a v4.0.0 POM exception.

2006-08-29 Thread Torsten Curdt

Check your local repository. I've encountered a similar problem. Maven
downloaded an html error page instead of a valid pom. I had to change
the mirror and remove the invalid poms from my .m2/repository. Never
expected maven to be so stupid and not realize that it had downloaded
crap :-(

HTH
--
Torsten

On 8/29/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:



Piyush Kumar Nahata a écrit :
>
>
> Hi,
>   When I give the URL with the POM.xml included in it, as 
http://10.225.96.127:8089/svn/repos/steam/common/pom.xml 
 , I get a different 
Error.
>
> Could not download http://10.225.96.127:8089/svn/repos/steam/common/pom.xml: 
/work/servers/continuum-1.0.3/temp/continuum/svn/repos/steam/common/pom.xml (Not a 
directory)
>
> When I browsed to this path, I found that Steam is a directory, but common is 
a file and not a directory. Hence, the error is thrown as Not a directory. Any 
idea, why does common gets created as a file and not a directory.
>
> The following is the content of the common file. I decipher it is the same as what 
gets printed on the browser when I browse to the location  
http://10.225.96.127:8089/svn/repos/steam/common/ 

>
> Revision 2265: /steam/common
> 
>  Revision 2265: /steam/common
>  
>   ..
>   conf/
>   pom.xml
>   src/
>  
>  Powered by http://subversion.tigris.org/";>Subversionhttp://subversion.tigris.org/";>Subversion > version 1.1.4 (r13838).
> 

This output isn't a pom but a directory listing of common directory

Emmanuel
>
>  Thanks in advance
>
> Regards,
> Piyush Kumar Nahata,
>
>
> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]  ]
> Sent: Tuesday, August 29, 2006 7:23 PM
> To: continuum-users@maven.apache.org
> Subject: Re: Continuum Gives a Not a v4.0.0 POM exception.
>
>
> 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(DefaultM
>> av
>> enProjectBuilder.java:1299)
>> at
>> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultM
>> av
>> enProjectBuilder.java:1270)
>> at
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFil
>> eI
>> nternal(DefaultMavenProjectBuilder.java:414)
>> at
>> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMaven
>> Pr
>> ojectBuilder.java:201)
>> at
>> org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.
>> getMavenProject(DefaultMavenBuilderHelper.java:306)
>> at
>> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProj
>> ec
>> tBuilder.readModules(MavenTwoContinuumProjectBuilder.java:99)
>> at
>> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProj
>> ec
>> tBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:
>> 83)
>> at
>> org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.exec
>> ut
>> e(CreateProjectsFromMetadata.java:74)
>> at
>> org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultConti
>> nu
>> um.java:2089)
>> at
>> org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMeta
>> da
>> taActivity(DefaultContinuum.java:804)
>> at
>> org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(Default
>> Co
>> ntinuum.java:712)
>> at
>> org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccessfu
>> lV
>> alidation(AddMavenTwoProject.java:52)
>> at
>> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(Abstra
>> ct
>> EntityAction.java:136)
>> at
>> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionVal
>> ve
>> .java:68)
>> at
>> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPi
>> pe
>> 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.

RE: Continuum Gives a Not a v4.0.0 POM exception.

2006-08-29 Thread Piyush Kumar Nahata

Hi,
   You are right. This is the directory listing of the common directory. Any 
idea, But why does this get listed instead of common getting created as a 
directory.

Regards,
Piyush Kumar Nahata,
 

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 29, 2006 8:51 PM
To: continuum-users@maven.apache.org
Subject: Re: Continuum Gives a Not a v4.0.0 POM exception.



Piyush Kumar Nahata a écrit :
> 
> 
> Hi,
>   When I give the URL with the POM.xml included in it, as 
> http://10.225.96.127:8089/svn/repos/steam/common/pom.xml 
>  , I get a 
> different Error.
> 
> Could not download 
> http://10.225.96.127:8089/svn/repos/steam/common/pom.xml: 
> /work/servers/continuum-1.0.3/temp/continuum/svn/repos/steam/common/po
> m.xml (Not a directory)
> 
> When I browsed to this path, I found that Steam is a directory, but common is 
> a file and not a directory. Hence, the error is thrown as Not a directory. 
> Any idea, why does common gets created as a file and not a directory.
> 
> The following is the content of the common file. I decipher it is the 
> same as what gets printed on the browser when I browse to the location  
> http://10.225.96.127:8089/svn/repos/steam/common/ 
> 
> 
> Revision 2265: /steam/common   
> Revision 2265: /steam/common  
>   ..
>   conf/
>   pom.xml
>   src/
>  
>  Powered by  href="http://subversion.tigris.org/";>Subversion Subversion > version 1.1.4 
> (r13838). 

This output isn't a pom but a directory listing of common directory

Emmanuel
> 
>  Thanks in advance
> 
> Regards,
> Piyush Kumar Nahata,
> 
> 
> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
>  ]
> Sent: Tuesday, August 29, 2006 7:23 PM
> To: continuum-users@maven.apache.org
> Subject: Re: Continuum Gives a Not a v4.0.0 POM exception.
> 
> 
> 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(Default
>> M
>> av
>> enProjectBuilder.java:1299)
>> at
>> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
>> M
>> av
>> enProjectBuilder.java:1270)
>> at
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
>> l
>> eI
>> nternal(DefaultMavenProjectBuilder.java:414)
>> at
>> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
>> n
>> Pr
>> ojectBuilder.java:201)
>> at
>> org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.
>> getMavenProject(DefaultMavenBuilderHelper.java:306)
>> at
>> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumPro
>> j
>> ec
>> tBuilder.readModules(MavenTwoContinuumProjectBuilder.java:99)
>> at
>> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumPro
>> j
>> ec
>> tBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:
>> 83)
>> at
>> org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.exe
>> c
>> ut
>> e(CreateProjectsFromMetadata.java:74)
>> at
>> org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultCont
>> i
>> nu
>> um.java:2089)
>> at
>> org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMet
>> a
>> da
>> taActivity(DefaultContinuum.java:804)
>> at
>> org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(Defaul
>> t
>> Co
>> ntinuum.java:712)
>> at
>> org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccessf
>> u
>> lV
>> alidation(AddMavenTwoProject.java:52)
>> at
>> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(Abstr
>> a
>> ct
>> EntityAction.java:136)
>> at
>> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionVa
>> l
>> ve
>> .java:68)
>> at
>> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractP
>> i
>> pe
>> line.java:70)
>> at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>> at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>>  

Re: Continuum Gives a Not a v4.0.0 POM exception.

2006-08-29 Thread Emmanuel Venisse



Piyush Kumar Nahata a écrit :



Hi,
  When I give the URL with the POM.xml included in it, as 
http://10.225.96.127:8089/svn/repos/steam/common/pom.xml 
 , I get a different 
Error.

Could not download http://10.225.96.127:8089/svn/repos/steam/common/pom.xml: 
/work/servers/continuum-1.0.3/temp/continuum/svn/repos/steam/common/pom.xml 
(Not a directory)

When I browsed to this path, I found that Steam is a directory, but common is a 
file and not a directory. Hence, the error is thrown as Not a directory. Any 
idea, why does common gets created as a file and not a directory.

The following is the content of the common file. I decipher it is the same as what gets printed on the browser when I browse to the location  http://10.225.96.127:8089/svn/repos/steam/common/  


Revision 2265: /steam/common

 Revision 2265: /steam/common
 
  ..
  conf/
  pom.xml
  src/
 
 Powered by http://subversion.tigris.org/";>Subversionhttp://subversion.tigris.org/";>Subversion > version 1.1.4 (r13838).



This output isn't a pom but a directory listing of common directory

Emmanuel


 Thanks in advance

Regards,
Piyush Kumar Nahata,


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]  ]
Sent: Tuesday, August 29, 2006 7:23 PM
To: continuum-users@maven.apache.org
Subject: Re: Continuum Gives a Not a v4.0.0 POM exception.


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(DefaultM
av
enProjectBuilder.java:1299)
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultM
av
enProjectBuilder.java:1270)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFil
eI
nternal(DefaultMavenProjectBuilder.java:414)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMaven
Pr
ojectBuilder.java:201)
at
org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.
getMavenProject(DefaultMavenBuilderHelper.java:306)
at
org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProj
ec
tBuilder.readModules(MavenTwoContinuumProjectBuilder.java:99)
at
org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProj
ec
tBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:
83)
at
org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.exec
ut
e(CreateProjectsFromMetadata.java:74)
at
org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultConti
nu
um.java:2089)
at
org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMeta
da
taActivity(DefaultContinuum.java:804)
at
org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(Default
Co
ntinuum.java:712)
at
org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccessfu
lV
alidation(AddMavenTwoProject.java:52)
at
org.codehaus.plexus.formica.action.AbstractEntityAction.execute(Abstra
ct
EntityAction.java:136)
at
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionVal
ve
.java:68)
at
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPi
pe
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(WebApplicatio
nH
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(WebApplicationC
on
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.Ht

RE: Continuum Gives a Not a v4.0.0 POM exception.

2006-08-29 Thread Piyush Kumar Nahata



Hi,
  When I give the URL with the POM.xml included in it, as 
http://10.225.96.127:8089/svn/repos/steam/common/pom.xml 
 , I get a different 
Error.

Could not download http://10.225.96.127:8089/svn/repos/steam/common/pom.xml: 
/work/servers/continuum-1.0.3/temp/continuum/svn/repos/steam/common/pom.xml 
(Not a directory)

When I browsed to this path, I found that Steam is a directory, but common is a 
file and not a directory. Hence, the error is thrown as Not a directory. Any 
idea, why does common gets created as a file and not a directory.

The following is the content of the common file. I decipher it is the same as 
what gets printed on the browser when I browse to the location  
http://10.225.96.127:8089/svn/repos/steam/common/ 
 

Revision 2265: /steam/common

 Revision 2265: /steam/common
 
  ..
  conf/
  pom.xml
  src/
 
 Powered by http://subversion.tigris.org/";>Subversionhttp://subversion.tigris.org/";>Subversion > version 1.1.4 (r13838).


 Thanks in advance

Regards,
Piyush Kumar Nahata,


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]  ]
Sent: Tuesday, August 29, 2006 7:23 PM
To: continuum-users@maven.apache.org
Subject: Re: Continuum Gives a Not a v4.0.0 POM exception.


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(DefaultM
> av
> enProjectBuilder.java:1299)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultM
> av
> enProjectBuilder.java:1270)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFil
> eI
> nternal(DefaultMavenProjectBuilder.java:414)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMaven
> Pr
> ojectBuilder.java:201)
> at
> org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.
> getMavenProject(DefaultMavenBuilderHelper.java:306)
> at
> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProj
> ec
> tBuilder.readModules(MavenTwoContinuumProjectBuilder.java:99)
> at
> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProj
> ec
> tBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:
> 83)
> at
> org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.exec
> ut
> e(CreateProjectsFromMetadata.java:74)
> at
> org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultConti
> nu
> um.java:2089)
> at
> org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMeta
> da
> taActivity(DefaultContinuum.java:804)
> at
> org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(Default
> Co
> ntinuum.java:712)
> at
> org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccessfu
> lV
> alidation(AddMavenTwoProject.java:52)
> at
> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(Abstra
> ct
> EntityAction.java:136)
> at
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionVal
> ve
> .java:68)
> at
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPi
> pe
> 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(WebApplicatio
> nH
> 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(WebApplicationC
> on
> text.java:525)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> at
> org.mortba

Re: Continuum Gives a Not a v4.0.0 POM exception.

2006-08-29 Thread Emmanuel Venisse


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 aft

Re: using continuum from a remote repository build thru maven deploy

2006-08-29 Thread Emmanuel Venisse
You need to allow the file protocol in continuum conf( it's explain in faq), then, you restart 
continuum.


In "Add Maven project" screen, you can use file://path to your pom in URL field but your project 
need to be checkouted on your linux first.


An other solution would be to install a viewcvs on your HP UX and use the http protocol with the 
viewcvs address in the URL field.


Emmanuel

[EMAIL PROTECTED] a écrit :

Hi Emmanuel,

  I have my CVS repository on a HP UNIX box. My continuum is loaded on a
Linux box. When I start conitnuum on the linux box and access it thru web
browser interface how will I abe able to use the file protocol.

Any ideas?
Thanks


   
  Emmanuel Venisse 
  <[EMAIL PROTECTED]To:   continuum-users@maven.apache.org  
  .net>cc: 
   Subject:  Re: using continuum from a remote repository build thru maven deploy  
  08/29/2006 09:23 
  AM   
  Please respond to
  continuum-users  
   
   





It isn't possible to use a remote repository for multi-modules projects.

If you can't access to you scm with http, you can use the file protocol.
You need to allow it
before, check the faq.

Emmanuel


[EMAIL PROTECTED] a écrit :

Hi,


I am trying to work with continuum and I have a multi module project. The
multi module project in continuum requires a URL reference to the parent
POM. I was trying to point the http URL to the parent pom.xml created on
remote repository using mvn deploy. Problem I am facing is that the mvn
deploy does not deploy the artifacts and pom.xml in the same directory
structure as is on my c drive.


For example my parent project is conversion and it has 2 modules
conversion1 and conversion2.


In my c drive the directory structure is as follows


c:\covnersion (c:\conversion\pom.xml has groupId as "com.mycompany" and
artifactId as "conversion" and version number as "SNAPSHOT".)


c:\conversion\conversion1 (c:\conversion\conversion1\pom.xml  has

reference

to parent pom and its artifactId is "conversion1" )


c:\conversion\conversion2 (c:\conversion\conversion2\pom.xml  has

reference

to parent pom and its artifactId is "conversion2" )


 but when I do mvn deploy


the remote repository has the following directory structure.


com/mycompany/conversion/SNAPSHOT/parentpom.xml


com/mycompany/conversion1/SNAPSHOT/conversion1pom.xml


com/mycompany/conversion2/SNAPSHOT/conversion2pom.xml


So when I point the continuum url to


http://com.mycompany.mserver/webapps/maven-rep/inhouse/com/mycompany/conversion/SNAPSHOT/parentpom.xml


(Embedded image moved to file: pic09514.gif)


continuum is unable to locate the module pom's .


How do I resolve this? Any ideas would be appreciated.


Thanks



The information contained in this e-mail message may be privileged,
confidential and protected from disclosure. If you are not the intended
recipient, any dissemination, distribution or copying is strictly
prohibited. If you think that you have received this e-mail message in
error please e-mail the sender and delete the message. Thank you.