[ 
https://jira.codehaus.org/browse/WAGON-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318871#comment-318871
 ] 

Olivier Lamy commented on WAGON-388:
------------------------------------

Euh I miss you Hervé
{code}
public class LightweightHttpWagon
    extends StreamWagon
{code}
see 
https://git-wip-us.apache.org/repos/asf?p=maven-wagon.git;a=blob;f=wagon-providers/wagon-http-lightweight/src/main/java/org/apache/maven/wagon/providers/http/LightweightHttpWagon.java;h=b15d059dbfd50d30af057be6ed17ec03f24963ef;hb=HEAD

wagon-http-lightweight depends on shared4 only for an utility class called 
HtmlFileListParser (maybe could be moved somewhere really a module with only 
this class ?)
And dependency on shared4 exclude httpclient deps
{code}
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>wagon-http-shared4</artifactId>
      <version>${project.version}</version>
      <exclusions>
        <exclusion>
          <groupId>org.apache.httpcomponents</groupId>
          <artifactId>httpclient</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-logging</groupId>
          <artifactId>commons-logging</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
{code}
                
> remove wagon-http-shared4 dependency on httpclient
> --------------------------------------------------
>
>                 Key: WAGON-388
>                 URL: https://jira.codehaus.org/browse/WAGON-388
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-http, wagon-http-lightweight
>    Affects Versions: 2.0, 2.4
>            Reporter: Herve Boutemy
>
> AbstractHttpClientWagon uses classes from 
> [HttpClient|http://hc.apache.org/httpcomponents-client-ga/httpclient/index.html]
> Lightweight wagon extends AbstractHttpClientWagon but uses JRE java.net 
> classes
> AbstractHttpClientWagon should not depend on httpclient: it can depend on 
> [HttpCore|http://hc.apache.org/httpcomponents-core-ga/index.html], if useful 
> to share some utilities between wagon-http and wagon-http-lightweight, but 
> not HttpClient
> Such separation, possible now that HttpComponents has 2 separate layers, will 
> ease maintenance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to