continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Reynolds <sca...@tailwaggers.com>
Subject Re: Getting started with maven 2
Date Tue, 18 Apr 2006 01:02:02 GMT
This validation will also be broken on some of the newer generic 
top-level domains like .museum and .travel.

-- Mark R

Steve Coy wrote:
> I got to the bottom of this.
> 
> We have a "local" internal domain so that internal host names look like "blah.axegroup.local".
> 
> The URL validator is barfing because "local" is longer than 4 characters. The code does
not specify what authority upon which it bases this assumption.
> 
> Steve Coy
> 
> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel@venisse.net] 
> Sent: Tuesday, 11 April 2006 12:32 AM
> To: continuum-users@maven.apache.org
> Subject: Re: Getting started with maven 2
> 
> The validation isn't done in continuum but in a plexus component:
> 
> Url format validation : 
> http://svn.codehaus.org/trunk/plexus-components/plexus-formica/src/main/java/org/codehaus/plexus/formica/validation/UrlValidator.java?rev=2431&root=plexus&view=auto
> 
> Url acess validation : 
> http://svn.codehaus.org/trunk/plexus-components/plexus-formica/src/main/java/org/codehaus/plexus/formica/validation/UrlSourceValidator.java?rev=2863&root=plexus&view=auto
> 
> We have some tests cases for these classes : 
> http://svn.codehaus.org/trunk/plexus-components/plexus-formica/src/test/java/org/codehaus/plexus/formica/validation/?root=plexus
> 
> Emmanuel
> 
> Steve Coy a écrit :
>> The logs contain no activity related to posting the form.
>>
>> I've been digging through the code (the continuum-1.0.x branch) for the last couple
of hours, but have not been able to identify which bit of code does the actual validation
of the URL.
>>
>> Any further help would be appreciated.
>>
>> Steve
>>
>> -----Original Message-----
>> From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
>> Sent: Mon 4/10/2006 9:41 PM
>> To: continuum-users@maven.apache.org
>> Subject: Re: Getting started with maven 2
>>  
>> Do you have an error in logs?
>>
>> Steve Coy a écrit :
>>
>>> Thanks for your prompt response.
>>>
>>> If I drop the scm:svn: part of the url I still have the same problem.
>>>
>>> Any other ideas?
>>>
>>>
>>> -----Original Message-----
>>> From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
>>> Sent: Mon 4/10/2006 5:42 PM
>>> To: continuum-users@maven.apache.org
>>> Subject: Re: Getting started with maven 2
>>>
>>> In Add Project screen, only standard protocol are allowed (http, 
>>> https, ftp). File protocol is allowed too if you define it in 
>>> application.xml (see the FAQ)
>>>
>>> Emmanuel
>>>
>>> Steve Coy a écrit :
>>>
>>>
>>>> Hi,
>>>>
>>>> I'm just getting started with continuum 1.0.2 and I'm having trouble 
>>>> adding a multi-module maven 2 project.
>>>>
>>>> >From the "Add Maven 2.0+ Project" page I'm entering the following 
>>>>> "POM
>>>> Url":
>>>>
>>>> scm:svn:http://my.userid:mypassword@cvs.axegroup.local/svn/project/mo
>>>> dul
>>>> e/trunk/pom.xml
>>>>
>>>> and the response from continuum is:
>>>>
>>>> [ You must provide a valid url ] in red.
>>>>
>>>> Any ideas what could be wrong?
>>>>
>>>> A wget on the continuum server successfully retrieves the pom.xml 
>>>> with this url.
>>>>
>>>> Thanks for any help.
>>>>
>>>>
>>>> stephen coy
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
> 
> 


Mime
View raw message