continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Multiproject with maven 2
Date Thu, 10 Nov 2005 16:09:57 GMT
You must activate file protocol, it's disabled by default for security reason.

open $CONTIUUM_HOM/apps/continuum/conf/application.xml
and uncomment line <allowedScheme implementation="java.lang.String">file</allowedScheme>
and restart continuum

Emmanuel

Wim Deblauwe a écrit :
> I first tried with the upload file in the structure as you defined and it
> fails with this cryptic error:
> 
> Could not download
> file:/C:/DOCUME~1/WIM/LOCALS~1/Temp/summit-/moduleA/pom.xml:
> C:\DOCUME~1\WIM\LOCALS~1\Temp\summit-\moduleA\pom.xml (The system cannot
> find the path specified)
> 
> Note that there is no number after "summit-".
> 
> With the url:
> 
> how do I do this for a file?
> 
> Normally it should be:
> 
> file:///Z:/root/pom.xml
> 
> but continuum states that this is not a valid url
> 
> regards,
> 
> Wim
> 
> 
> 
> 2005/11/10, Emmanuel Venisse <emmanuel@venisse.net>:
> 
>>ok, can you test with the url field? We don't allow project with module in
>>upload feature
>>because like you can see in your log, uploaded file go to your temp
>>directory and your
>>modules isn't there when continuum parse pom file.
>>
>>Let me know if it works.
>>
>>Emmanuel
>>
>>Wim Deblauwe a écrit :
>>
>>>I use the option where I choose the pom.xml from a location on my
>>
>>harddrive,
>>
>>>so that would be upload pom I guess.
>>>
>>>regards,
>>>
>>>Wim
>>>
>>>2005/11/10, Emmanuel Venisse <emmanuel@venisse.net>:
>>>
>>>
>>>>Thanks for the issue.
>>>>
>>>>Do you have upload pom or do you use the url feature?
>>>>
>>>>Emmanuel
>>>>
>>>>Wim Deblauwe a écrit :
>>>>
>>>>
>>>>>That is really a pity. I would definetly need this to be able to use
>>>>>continuum with multiproject of maven 2. So I filed an issue:
>>>>>
>>>>>http://jira.codehaus.org/browse/CONTINUUM-437
>>>>>
>>>>>hope to see this fixed soon.
>>>>>
>>>>>regards,
>>>>>
>>>>>Wim
>>>>>
>>>>>
>>>>>2005/11/10, Emmanuel Venisse <emmanuel@venisse.net>:
>>>>>
>>>>>
>>>>>
>>>>>>it doesn't work for the moment. Actually, you can only modules in
>>>>>>sub-directories of
>>>>>>parent project like this :
>>>>>>root
>>>>>>+ pom.xml <= your parent project
>>>>>>+ moduleA
>>>>>>+ moduleB
>>>>>>
>>>>>>and define in pom.xml modules like this :
>>>>>><modules>
>>>>>><module>moduleA</module>
>>>>>><module>moduleB</module>
>>>>>></modules>
>>>>>>
>>>>>>Please, file an issue for this.
>>>>>>
>>>>>>Emmanuel
>>>>>>
>>>>>>Wim Deblauwe a écrit :
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hi,
>>>>>>>
>>>>>>>I'm testing with multiproject like this:
>>>>>>>
>>>>>>>root
>>>>>>>+ project
>>>>>>>+ moduleA
>>>>>>>+ moduleB
>>>>>>>
>>>>>>>each one has a pom.xml defined. The pom of the project has a
>>
>><modules/>
>>
>>>>>>>section as follows:
>>>>>>>
>>>>>>><modules>
>>>>>>><module>../moduleA</module>
>>>>>>><module>../moduleB</module>
>>>>>>></modules>
>>>>>>>
>>>>>>>When I try to add the pom of "project", continuum fails with an
>>
>>error:
>>
>>>>>>>Could not download
>>>>>>>file:/C:/DOCUME~1/WIMD/LOCALS~1/Temp/summit-4/../moduleA/pom.xml:
>>>>>>>C:\DOCUME~1\WIMD\LOCALS~1\Temp\summit-4\..\moduleA\pom.xml (The
>>
>>system
>>
>>>>>>>cannot find the path specified)
>>>>>>>
>>>>>>>any ideas?
>>>>>>>
>>>>>>>regards,
>>>>>>>
>>>>>>>Wim
>>>>>>>
>>>>>>
>>>>>>
>>
> 


Mime
View raw message