maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maczka Michal <michal.mac...@imtf.ch>
Subject RE: [jira] Created: (MNG-186) sort out fat http vs lightweight ht tp
Date Fri, 11 Mar 2005 08:17:03 GMT


> -----Original Message-----
> From: Brett Porter (JIRA) [mailto:jira@codehaus.org]
> Sent: Friday, March 11, 2005 12:07 AM
> To: m2-dev@maven.apache.org
> Subject: [jira] Created: (MNG-186) sort out fat http vs 
> lightweight http
> 
> 
> sort out fat http vs lightweight http
> -------------------------------------
> 
>          Key: MNG-186
>          URL: http://jira.codehaus.org/browse/MNG-186
>      Project: m2
>         Type: Bug
>   Components: maven-artifact  
>     Reporter: Brett Porter
> 
> 
> some tasks, like the use of an NTLM proxy, will require the 
> use of the fat HTTP wag instead of the lightweight one - 
> however, because of an identical hint it will need to be 
> loaded by an alternative means.
> 
> 
> 
Note also that "fat" http wagon can also support https protocol.

I have add getSupportedProtocols() method to wagon  for handling such
situtaion when a wagon can handle more then one protcol.
This allowed to have arbitary role hints (e.g. lightwieigh-http) and
WagonManger was querying wagons to discover available protocols.
For unknown reason this method was removed. 

You may also read my proposal how this can be partially fixed in a different
way (support for https must be sovled differently):
http://plexus.codehaus.org/Component+Ranking+and+Clarifed+Role+Hints

Implementationt of "component rankings" is quite trivial and this is
something which exists in other component frameworks like osgi
for handling such situations.

michal

Mime
View raw message