You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by "Boeckli, Dominique" <do...@eds.com> on 2007/12/04 15:31:10 UTC

RE: POM file does not exist. Either the POM you specified or one of its modules does not exist.

solved...nothing to do with Continuum. I increased the output level and i saw an FileNotFoundException
which was supressed with the normal output-level settings in log4j.xml:

2007-12-04 15:02:37,967 DEBUG [org.codehaus.plexus.redback.rbac.RBACManager:cached] building user permission map
2007-12-04 15:02:38,301 INFO  [org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder] Downloading http://chbbs231.ch.eds.com/tweb-repos/company-eds/trunk/pom.xml
2007-12-04 15:02:38,301 INFO  [org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder] Downloading http://chbbs231.ch.eds.com/tweb-repos/company-eds/trunk/pom.xml
2007-12-04 15:02:38,311 DEBUG [org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder] Error adding project: File not found http://chbbs231.ch.eds.com/tweb-repos/company-eds/trunk/pom.xml
java.io.FileNotFoundException: /tmp/continuum/tweb-repos/company-eds/trunk/pom.xml (No such file or directory)

/tmp/continuum/tweb-repos/company-eds belonged to the root user and JBoss runs with the jboss user. I think this happened after JBoss was started errorously with the root user instead with the jboss user).

What a pain....and what a bad idea to suppress exceptions!

brgds

Dominique





-----Original Message-----
From: Siarhei [mailto:siarhei.dudzin@gmail.com] 
Sent: Friday, November 30, 2007 08:09 PM
To: continuum-users@maven.apache.org
Subject: Re: POM file does not exist. Either the POM you specified or one of its modules does not exist.


Actually, I have to take back what I said. It appeared the problem was that I had continuum running as a system service which doesn't find my settings.xml. After I modified the service to run as a local user and put settings.xml under the the users profile the problems seemed to be resolved.
It was almost obvious I wish could find find that earlier:
http://maven.apache.org/continuum/guides/getting-started/index.html

Siarhei


Emmanuel Venisse wrote:
> 
> 
> Siarhei a écrit :
>> I had the same problem. But in my case I had a parent which was a 
>> project from another repository (the build worked well from the 
>> command line) and it was never built on the same PC (maven didn't 
>> have a chance to download it to localRepository). After I removed the 
>> parent I could add the project.
>> 
>> Am I correct in the assumption that it's not possible to add a pom 
>> project that has a parent (and which may be was never installed in 
>> the local repository)?
> 
> You're not correct.
> 
> where is declared your localrepository? Continuum can look only at the 
> settings.xml stored under ${user.home}/.m2/
> 
> Emmanuel
>> 
>> Siarhei
>> 
>> dboeckli wrote:
>>> it was the first project i tried out, so i took the simpliest one, 
>>> no modules, no parents!
>>>
>>> -----Original Message-----
>>> From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
>>> Sent: Monday, November 05, 2007 05:24 PM
>>> To: continuum-users@maven.apache.org
>>> Subject: Re: POM file does not exist. Either the POM you specified 
>>> or one of its modules does not exist.
>>>
>>> Do you have modules in your pom? Are they in the tag?
>>>
>>> Emmanuel
>>>
>>> Boeckli, Dominique a écrit :
>>>> Whenever i try to add a project to Continuum i get following error:
>>>>
>>>> POM file does not exist. Either the POM you specified or one of its 
>>>> modules does not exist.
>>>>
>>>> In the log i have following messages:
>>>>
>>>> 2007-11-05 16:14:02,175 1239586 WARN 
>>>> [com.opensymphony.webwork.dispatcher.multipart.MultiPartRequest]
>>>> (http-0.0.0.0-8080-1:) Item is a file upload of 0 size, ignoring
>>>> 2007-11-05 16:14:02,411 1239822 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) [INFO]
>>>> 2007-11-05 16:14:02,412 1239823 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) checking for settings auth setup
>>>> 2007-11-05 16:14:02,420 1239831 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) [INFO]
>>>> 2007-11-05 16:14:02,420 1239831 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) Downloading 
>>>> http://chbbs231.ch.eds.com/tweb-repos/company-eds/tags/1.0/pom.xml
>>>> 2007-11-05 16:14:02,426 1239837 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) [INFO]
>>>> 2007-11-05 16:14:02,426 1239837 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) Created 0 projects.
>>>> 2007-11-05 16:14:02,426 1239837 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) [INFO]
>>>> 2007-11-05 16:14:02,426 1239837 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) Created 0 project groups.
>>>> 2007-11-05 16:14:02,426 1239837 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) [INFO]
>>>> 2007-11-05 16:14:02,426 1239837 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:)
>>>> 1 errors.
>>>> 2007-11-05 16:14:02,426 1239837 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) [INFO]
>>>> 2007-11-05 16:14:02,426 1239837 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:)
>>>> 1 errors during project add:
>>>> 2007-11-05 16:14:02,426 1239837 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) [INFO]
>>>> 2007-11-05 16:14:02,426 1239837 INFO  [STDOUT] 
>>>> (http-0.0.0.0-8080-1:) add.project.missing.pom.error
>>>>
>>>> With the browser i can easily look at the pom.xml.
>>>>
>>>> I am using: 
>>>> - continuum-webapp-1.1-beta-4.war
>>>> - jboss-4.2.1
>>>> - maven-2.07
>>>> - subversion-1.4.3
>>>>
>>>> many thanks for your help
>>>>
>>>> kind regards
>>>>
>>>> Dominique
>>>>
>>>
>>>
>> 
> 
> 

--
View this message in context: http://www.nabble.com/POM-file-does-not-exist.-Either-the-POM-you-specified-or-one-of-its-modules-does-not-exist.-tf4752353.html#a14089866
Sent from the Continuum - Users mailing list archive at Nabble.com.


RE: POM file does not exist. Either the POM you specified or one of its modules does not exist.

Posted by Siarhei <si...@gmail.com>.
Good idea. I just switched log level to debug and it appears is that
Continuum is not able to add a project via file protocol if the pom is on
another drive (windows) even if the url is correct. Looks like a bug to me.
-- 
View this message in context: http://www.nabble.com/POM-file-does-not-exist.-Either-the-POM-you-specified-or-one-of-its-modules-does-not-exist.-tf4752353.html#a14167998
Sent from the Continuum - Users mailing list archive at Nabble.com.


RE: POM file does not exist. Either the POM you specified or one of its modules does not exist.

Posted by Siarhei <si...@gmail.com>.
Good idea. I just switched log level to debug and it appears is that
Continuum is not able to add a project via file protocol if the pom is on
another drive even if the url is correct. Looks like a bug to me.
-- 
View this message in context: http://www.nabble.com/POM-file-does-not-exist.-Either-the-POM-you-specified-or-one-of-its-modules-does-not-exist.-tf4752353.html#a14167998
Sent from the Continuum - Users mailing list archive at Nabble.com.