You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Frank Zhao <Fr...@motricity.com> on 2005/10/06 23:01:36 UTC
Help on errors when loaing Maven2 POM
Can someone help me on building a Maven 2 project in Continuum?
I wanted to try Continuum with Maven 2, when loading a pom.xml file of my project, the continuum tried to find other pom.xml files under /tmp/summit-2/ directory which does not exist. In fact, all of those files should be under ./subdirectories. If I copy all of my project under /tmp/summit-2, then Continuum can load the POM correctly. However, it cannot build.
So I used the Contunuum source code as a test which I believe it should work. When I uploaded the pom.xml file at the root directory of the Continuum, I got the the same errors. It seems the Continuum tried to get the pom.xml files in the subdirectory at a wrong path:
* Could not download file:/tmp/summit-2/continuum-api/pom.xml: /tmp/summit-2/continuum-api/pom.xml (No such file or directory)
Check the logs for more details.
* Could not download file:/tmp/summit-2/continuum-cc/pom.xml: /tmp/summit-2/continuum-cc/pom.xml (No such file or directory)
Check the logs for more details.
* Could not download file:/tmp/summit-2/continuum-core-it/pom.xml: /tmp/summit-2/continuum-core-it/pom.xml (No such file or directory)
Check the logs for more details.
...
Here is what I did:
1) check out code at: http://svn.apache.org/repos/asf/maven/continuum/trunk/
2) Modify the <notifier> email address to my email address
3) in Continuum web interface, submit the local pom.xml file at the Continum directory. I got error message showing above.
Thanks in advance,
Frank
Re: Help on errors when loaing Maven2 POM
Posted by Mark Hobson <ma...@gmail.com>.
On 07/10/05, Ashley Williams <ag...@mac.com> wrote:
> I believe continuum does a checkout of everything under the
> repository location you specify under in your scm tag - so provided
> you retain the same project structure in your repository as you would
> expect on disk, I'm guessing that should be ok. In other words I
> think continuum does a single ordinary checkout and build the same as
> any user would, just somewhere else on your disk.
>
> So if your pom location is http://server/repo/proj/trunk/pom.xml
> you would specify in your scm tag: http://server/repo/proj/trunk
Yep, this is what I've got. Only extra is that I also define the scm
url in the child pom's accordingly.
Mark
Re: Help on errors when loaing Maven2 POM
Posted by Ashley Williams <ag...@mac.com>.
I believe continuum does a checkout of everything under the
repository location you specify under in your scm tag - so provided
you retain the same project structure in your repository as you would
expect on disk, I'm guessing that should be ok. In other words I
think continuum does a single ordinary checkout and build the same as
any user would, just somewhere else on your disk.
So if your pom location is http://server/repo/proj/trunk/pom.xml
you would specify in your scm tag: http://server/repo/proj/trunk
AW
On 7 Oct 2005, at 12:04, Mark Hobson wrote:
> Yep I'm getting the same thing with uploading poms of type pom that
> contain modules - poms of type jar are fine.
>
> Any ideas?
>
> Mark
>
> On 06/10/05, Frank Zhao <Fr...@motricity.com> wrote:
>
>> Can someone help me on building a Maven 2 project in Continuum?
>>
>> I wanted to try Continuum with Maven 2, when loading a pom.xml
>> file of my project, the continuum tried to find other pom.xml
>> files under /tmp/summit-2/ directory which does not exist. In
>> fact, all of those files should be under ./subdirectories. If I
>> copy all of my project under /tmp/summit-2, then Continuum can
>> load the POM correctly. However, it cannot build.
>>
>> So I used the Contunuum source code as a test which I believe it
>> should work. When I uploaded the pom.xml file at the root
>> directory of the Continuum, I got the the same errors. It seems
>> the Continuum tried to get the pom.xml files in the subdirectory
>> at a wrong path:
>>
>>
>> * Could not download file:/tmp/summit-2/continuum-api/
>> pom.xml: /tmp/summit-2/continuum-api/pom.xml (No such file or
>> directory)
>>
>> Check the logs for more details.
>>
>> * Could not download file:/tmp/summit-2/continuum-cc/pom.xml: /
>> tmp/summit-2/continuum-cc/pom.xml (No such file or directory)
>>
>> Check the logs for more details.
>>
>> * Could not download file:/tmp/summit-2/continuum-core-it/
>> pom.xml: /tmp/summit-2/continuum-core-it/pom.xml (No such file or
>> directory)
>>
>> Check the logs for more details.
>>
>> ...
>>
>> Here is what I did:
>> 1) check out code at: http://svn.apache.org/repos/asf/maven/
>> continuum/trunk/
>> 2) Modify the <notifier> email address to my email address
>> 3) in Continuum web interface, submit the local pom.xml file at
>> the Continum directory. I got error message showing above.
>>
>> Thanks in advance,
>>
>> Frank
>>
>>
>>
>
Re: Help on errors when loaing Maven2 POM
Posted by Emmanuel Venisse <em...@venisse.net>.
it will be fixed in beta-2
Emmanuel
Mark Hobson a écrit :
> Yep I'm getting the same thing with uploading poms of type pom that
> contain modules - poms of type jar are fine.
>
> Any ideas?
>
> Mark
>
> On 06/10/05, Frank Zhao <Fr...@motricity.com> wrote:
>
>>Can someone help me on building a Maven 2 project in Continuum?
>>
>>I wanted to try Continuum with Maven 2, when loading a pom.xml file of my project, the continuum tried to find other pom.xml files under /tmp/summit-2/ directory which does not exist. In fact, all of those files should be under ./subdirectories. If I copy all of my project under /tmp/summit-2, then Continuum can load the POM correctly. However, it cannot build.
>>
>>So I used the Contunuum source code as a test which I believe it should work. When I uploaded the pom.xml file at the root directory of the Continuum, I got the the same errors. It seems the Continuum tried to get the pom.xml files in the subdirectory at a wrong path:
>>
>>
>> * Could not download file:/tmp/summit-2/continuum-api/pom.xml: /tmp/summit-2/continuum-api/pom.xml (No such file or directory)
>>
>>Check the logs for more details.
>>
>> * Could not download file:/tmp/summit-2/continuum-cc/pom.xml: /tmp/summit-2/continuum-cc/pom.xml (No such file or directory)
>>
>>Check the logs for more details.
>>
>> * Could not download file:/tmp/summit-2/continuum-core-it/pom.xml: /tmp/summit-2/continuum-core-it/pom.xml (No such file or directory)
>>
>>Check the logs for more details.
>>
>> ...
>>
>>Here is what I did:
>>1) check out code at: http://svn.apache.org/repos/asf/maven/continuum/trunk/
>>2) Modify the <notifier> email address to my email address
>>3) in Continuum web interface, submit the local pom.xml file at the Continum directory. I got error message showing above.
>>
>>Thanks in advance,
>>
>>Frank
>>
>>
>>
>
>
>
>
Re: Help on errors when loaing Maven2 POM
Posted by Mark Hobson <ma...@gmail.com>.
Yep I'm getting the same thing with uploading poms of type pom that
contain modules - poms of type jar are fine.
Any ideas?
Mark
On 06/10/05, Frank Zhao <Fr...@motricity.com> wrote:
> Can someone help me on building a Maven 2 project in Continuum?
>
> I wanted to try Continuum with Maven 2, when loading a pom.xml file of my project, the continuum tried to find other pom.xml files under /tmp/summit-2/ directory which does not exist. In fact, all of those files should be under ./subdirectories. If I copy all of my project under /tmp/summit-2, then Continuum can load the POM correctly. However, it cannot build.
>
> So I used the Contunuum source code as a test which I believe it should work. When I uploaded the pom.xml file at the root directory of the Continuum, I got the the same errors. It seems the Continuum tried to get the pom.xml files in the subdirectory at a wrong path:
>
>
> * Could not download file:/tmp/summit-2/continuum-api/pom.xml: /tmp/summit-2/continuum-api/pom.xml (No such file or directory)
>
> Check the logs for more details.
>
> * Could not download file:/tmp/summit-2/continuum-cc/pom.xml: /tmp/summit-2/continuum-cc/pom.xml (No such file or directory)
>
> Check the logs for more details.
>
> * Could not download file:/tmp/summit-2/continuum-core-it/pom.xml: /tmp/summit-2/continuum-core-it/pom.xml (No such file or directory)
>
> Check the logs for more details.
>
> ...
>
> Here is what I did:
> 1) check out code at: http://svn.apache.org/repos/asf/maven/continuum/trunk/
> 2) Modify the <notifier> email address to my email address
> 3) in Continuum web interface, submit the local pom.xml file at the Continum directory. I got error message showing above.
>
> Thanks in advance,
>
> Frank
>
>
>