Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate httpclient dependency in pom.xml [SWS-897] #975

Closed
gregturn opened this issue Apr 15, 2015 · 2 comments
Closed

Duplicate httpclient dependency in pom.xml [SWS-897] #975

gregturn opened this issue Apr 15, 2015 · 2 comments

Comments

@gregturn
Copy link
Member

@gregturn gregturn commented Apr 15, 2015

Jorge Alonso García opened SWS-897 and commented

spring-ws-core's pom contains dependencies to httpclient 3.1 as well as httpclient 4.3.4:

<dependency>
  <groupId>commons-httpclient</groupId>
  <artifactId>commons-httpclient</artifactId>
  <version>3.1</version>
  <scope>compile</scope>
  <optional>true</optional>
</dependency>

<dependency>
  <groupId>org.apache.httpcomponents</groupId>
  <artifactId>httpclient</artifactId>
  <version>4.3.4</version>
  <scope>compile</scope>
  <optional>true</optional>
</dependency>

According to these urls, commons-httpclient was moved to httpclient:
http://mvnrepository.com/artifact/commons-httpclient/commons-httpclient
http://hc.apache.org/httpclient-3.x/

Shouldn't the dependency to commons-httpclient 3.1 be removed and leave just a dependency to httpclient 4.3.4?


Affects: 2.2.1

Reference URL: http://mvnrepository.com/artifact/commons-httpclient/commons-httpclient

@gregturn
Copy link
Member Author

@gregturn gregturn commented Apr 15, 2015

Arjen Poutsma commented

We can't remove the dependency to commons-httpclient because we still have support for it in the CommonsHttpMessageSender (though it is deprecated in favor of the HttpComponentsMessageSender). Deprecated features will only be removed in a major release, i.e. Spring-WS 3.0.

@gregturn
Copy link
Member Author

@gregturn gregturn commented Apr 15, 2015

Jorge Alonso García commented

Thanks, Arjen.

Waiting for Spring WS 3.0 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants