geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <james_strac...@yahoo.co.uk>
Subject Re: DownloadTest Failure when working offline/ behind firewall
Date Fri, 29 Aug 2003 08:00:43 GMT

On Friday, August 29, 2003, at 08:26  am, Alex Blewitt wrote:

> On Thursday, Aug 28, 2003, at 18:52 Europe/London, James Strachan 
> wrote:
>
>> Also you can use Maven behind firewalls by setting the HTTP proxy 
>> settings (again in your build.properties file). All this is 
>> documented on the maven site...
>>
>> http://maven.apache.org/reference/user-guide.html#Using%20Proxies
>
> Note that in Maven terms, 'proxy' means 'http proxy'. It doesn't work 
> if you are behind a (say) SOCKS firewall. It's not explicitly covered 
> in the Maven documentation, so it may be worth putting in as a 
> 'gotcha' in the FAQ. Thus, running tests behind a SOCKS firewall will 
> always fail, since the test client checks the existence of a remote 
> website to which it may have no access.
>
> I really think having a test which depends on you being online in 
> order to pass is a no-no -- there's no reason why we couldn't set up a 
> simple ServerSocket on a random port and the test ran against that.

Fancy submitting a patch to Maven's JIRA?

http://jira.codehaus.org/secure/BrowseProject.jspa?id=10030

James
-------
http://radio.weblogs.com/0112098/


Mime
View raw message