You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Marco Rico-Gomez <m....@googlemail.com> on 2010/04/28 19:05:36 UTC

Fix for ARCHETYPE-202

Hi all,

I've submitted a minor patch for http://jira.codehaus.org/browse/ARCHETYPE-202, which prevents users to run mvn archetype:generate -DarchetypeCatalog=http://example.com if they are behind a http proxy.

I'd like to ask if someone could review it. 

The "download logic" is implemented three times in the class and I had to modify all of them. It might be better to encapsulate this functionality in a private function to avoid code duplication.

Thanks in advance!

- Marco
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Fix for ARCHETYPE-202

Posted by Hervé BOUTEMY <he...@free.fr>.
I'll have a look at it in a few days
thank you for this patch

Regards,

Hervé

Le mercredi 28 avril 2010, Marco Rico-Gomez a écrit :
> Hi all,
> 
> I've submitted a minor patch for
>  http://jira.codehaus.org/browse/ARCHETYPE-202, which prevents users to run
>  mvn archetype:generate -DarchetypeCatalog=http://example.com if they are
>  behind a http proxy.
> 
> I'd like to ask if someone could review it.
> 
> The "download logic" is implemented three times in the class and I had to
>  modify all of them. It might be better to encapsulate this functionality
>  in a private function to avoid code duplication.
> 
> Thanks in advance!
> 
> - Marco
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org