Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 77143 invoked from network); 29 Aug 2006 16:10:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2006 16:10:58 -0000 Received: (qmail 80036 invoked by uid 500); 29 Aug 2006 16:10:52 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 79873 invoked by uid 500); 29 Aug 2006 16:10:52 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 79739 invoked by uid 99); 29 Aug 2006 16:10:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2006 09:10:51 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of waynefay@gmail.com designates 64.233.184.228 as permitted sender) Received: from [64.233.184.228] (HELO wr-out-0506.google.com) (64.233.184.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2006 09:10:50 -0700 Received: by wr-out-0506.google.com with SMTP id 71so625010wra for ; Tue, 29 Aug 2006 09:10:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P3E2DKOZX6Ew7yUidqNoF8gLh0inrBsF7Hab1WB/95J6N1yC236xFSYArjI7xOJJwpVU/3wchyRq0Gu5hNrEYh27JKjfYLSC0QVAsEQr+eGmz/s+RynuMuga95baA26gIs23mEpcXn1KlGTPADmn3rwvhoy97hqLrXTPwHygYTY= Received: by 10.90.49.1 with SMTP id w1mr1723352agw; Tue, 29 Aug 2006 09:10:25 -0700 (PDT) Received: by 10.90.26.12 with HTTP; Tue, 29 Aug 2006 09:10:24 -0700 (PDT) Message-ID: <52bab8690608290910n57b1cbb2ofd3064ca3c37703e@mail.gmail.com> Date: Tue, 29 Aug 2006 11:10:24 -0500 From: "Wayne Fay" To: continuum-users@maven.apache.org Subject: Re: Re: Continuum Gives a Not a v4.0.0 POM exception. In-Reply-To: <98e4f1cd0608290850v4472aa8do55898ea08ba07c61@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <55D5E3424D32B946A5DADB1FBFB9295F064A4221@ms-mailsvr.Virtusa.com> <44F45B61.4040803@venisse.net> <98e4f1cd0608290850v4472aa8do55898ea08ba07c61@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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 wrote: > > > > > > Piyush Kumar Nahata a =E9crit : > > > > > > > > > Hi, > > > When I give the URL with the POM.xml included in it, as http://10.2= 25.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/p= om.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 c= ommon is a file and not a directory. Hence, the error is thrown as Not a di= rectory. Any idea, why does common gets created as a file and not a directo= ry. > > > > > > 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 ht= tp://10.225.96.127:8089/svn/repos/steam/common/ > > > > > > Revision 2265: /steam/common > > > > > >

Revision 2265: /steam/common

> > > > > >
Powered by SubversionSubversion > 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:emmanuel@venisse.net ] > > > 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 =E9crit : > > >> Hi all, > > >> I'm using Continuum-1.0.3 with Maven 2.0.4. I have a multi projec= t. > > >> 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(Defaul= tM > > >> av > > >> enProjectBuilder.java:1299) > > >> at > > >> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Defaul= tM > > >> av > > >> enProjectBuilder.java:1270) > > >> at > > >> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceF= il > > >> eI > > >> nternal(DefaultMavenProjectBuilder.java:414) > > >> at > > >> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMav= en > > >> Pr > > >> ojectBuilder.java:201) > > >> at > > >> org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHel= per. > > >> getMavenProject(DefaultMavenBuilderHelper.java:306) > > >> at > > >> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumPr= oj > > >> ec > > >> tBuilder.readModules(MavenTwoContinuumProjectBuilder.java:99) > > >> at > > >> org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumPr= oj > > >> ec > > >> tBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.j= ava: > > >> 83) > > >> at > > >> org.apache.maven.continuum.core.action.CreateProjectsFromMetadata.ex= ec > > >> ut > > >> e(CreateProjectsFromMetadata.java:74) > > >> at > > >> org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultCon= ti > > >> nu > > >> um.java:2089) > > >> at > > >> org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMe= ta > > >> da > > >> taActivity(DefaultContinuum.java:804) > > >> at > > >> org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(Defau= lt > > >> Co > > >> ntinuum.java:712) > > >> at > > >> org.apache.maven.continuum.web.action.AddMavenTwoProject.uponSuccess= fu > > >> lV > > >> alidation(AddMavenTwoProject.java:52) > > >> at > > >> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(Abst= ra > > >> ct > > >> EntityAction.java:136) > > >> at > > >> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionV= al > > >> ve > > >> .java:68) > > >> at > > >> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(Abstract= Pi > > >> 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:7= 60) > > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:8= 53) > > >> at > > >> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:35= 8) > > >> at > > >> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicat= io > > >> 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(WebApplicatio= nC > > >> 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.HttpConnection.handleNext(HttpConnection.java:960) > > >> at > > >> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) > > >> at > > >> org.mortbay.http.SocketListener.handleConnection(SocketListener.java= :2 > > >> 18 > > >> ) > > >> 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 somethin= k 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 loa= d it and checkout the project in the project working directory. The temp fi= le 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, > > >> > > >> > > >> > > >> > > > > > > > > > > > > > > > > >