You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Emmanuel Venisse <em...@venisse.net> on 2006/12/01 16:40:27 UTC
Re: Continuum and multimodule setup
continuum use the url you provide in Add Project screen and it add the module path.
So with parent url http://svn.sandsli.dnb.no/svn/felles/IT-01/IT01-main/trunk/pom.xml and module ../it01 continuum think that the module url is
http://svn.sandsli.dnb.no/svn/felles/IT-01/IT01-main/trunk/../it01/pom.xml
Continuum can't know your module path isn't the good path in your scm and can't know it isn't ../it01 but ../../it01/trunk
With your directory structure, the only solution is to use the file protocol with a local checkout of your project.
With the scm url, it's a similar problem, so you need to specify the scm url in each your module if maven doesn't resolve correctly it.
Emmanuel
hermod.opstvedt@dnbnor.no a écrit :
> Hi
>
> In the main pom we have:
>
> <modules>
> <module>../it01</module>
> <module>../it01-ant</module>
> <module>../it01-pmd</module>
> <module>../it01-hs-beans</module>
> <module>../HostserverService</module>
> <module>../it01-mavenplugins</module>
> </modules>
>
> What happend was that when we added the project and did the first build, the url changed in Continuum from:
> (...)IT01/it01/trunk to (...)IT01/it01/it01
>
> If we enter:
> http://svn.sandsli.dnb.no/svn/felles/IT-01/IT01-main/trunk/pom.xml
> Then we get comments like:
> Could not download http://svn.sandsli.dnb.no/svn/felles/IT-01/IT01-main/trunk/../it01/pom.xml: Unable to validate URL
> Check the logs for more details
>
> If we enter (to at least build one module):
> http://svn.sandsli.dnb.no/svn/felles/IT-01/it01/trunk/pom.xml
>
> Then Continuum creates a scm url like:
> scm:svn:http://${username}@svn.sandsli.dnb.no/svn/felles/IT-01/it01/it01
>
> Hermod
>
>
> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
> Sent: Wednesday, November 29, 2006 5:12 PM
> To: continuum-users@maven.apache.org
> Subject: Re: Continuum and multimodule setup
>
>
> yes, it's supported, but your parent pom must be in a repository accessible by continuum. How do you have define the remote repositories list?
>
> Emmanuel
>
> hermod.opstvedt@dnbnor.no a écrit :
>> Hi
>>
>> I have a Maven multimodule project that has a flat Eclipse structure. It seems that Continuum has problems with this (not finding the parent). Does Continuum support this type of project?
>>
>> Hermod
>>
>>
>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>>
>> This email with attachments is solely for the use of the individual or
>> entity to whom it is addressed. Please also be aware that DnB NOR cannot
>> accept any payment orders or other legally binding correspondence with
>> customers as a part of an email.
>>
>> This email message has been virus checked by the anti virus programs used
>> in the DnB NOR Group.
>>
>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>>
>>
>>
>>
>
>
>
>