Move httpcomponents libraries out of lib/commons to lib/httpcomponents

The elasticsearch REST client (Jest) has dependencies on more of the
libraries from httpcomponents, so it will make things a bit cleaner if
they are all kept in a separate lib.

Change-Id: I5c66b9bd63cbd66136bd7f543a1c4766de052889
This commit is contained in:
David Pursehouse
2014-09-16 19:00:21 +09:00
parent b9c8a1e40c
commit a4640fb15c
5 changed files with 36 additions and 33 deletions

View File

@@ -26,8 +26,8 @@ java_library(
'//lib:junit',
'//lib:servlet-api-3_1',
'//lib/commons:httpclient',
'//lib/commons:httpcore',
'//lib/httpcomponents:httpclient',
'//lib/httpcomponents:httpcore',
'//lib/log:impl_log4j',
'//lib/log:log4j',
'//lib/guice:guice',

View File

@@ -87,31 +87,3 @@ maven_jar(
license = 'Apache2.0',
)
maven_jar(
name = 'httpclient',
id = 'org.apache.httpcomponents:httpclient:4.3.4',
bin_sha1 = 'a9a1fef2faefed639ee0d0fba5b3b8e4eb2ff2d8',
src_sha1 = '7a14aafed8c5e2c4e360a2c1abd1602efa768b1f',
license = 'Apache2.0',
deps = [
':codec',
':httpcore',
'//lib/log:jcl-over-slf4j',
],
)
maven_jar(
name = 'httpcore',
id = 'org.apache.httpcomponents:httpcore:4.3.2',
bin_sha1 = '31fbbff1ddbf98f3aa7377c94d33b0447c646b6e',
src_sha1 = '4809f38359edeea9487f747e09aa58ec8d3a54c5',
license = 'Apache2.0',
)
maven_jar(
name = 'httpmime',
id = 'org.apache.httpcomponents:httpmime:4.3.4',
bin_sha1 = '54ffde537682aea984c22fbcf0106f21397c5f9b',
src_sha1 = '0651e21152b0963661068f948d84ed08c18094f8',
license = 'Apache2.0',
)

31
lib/httpcomponents/BUCK Normal file
View File

@@ -0,0 +1,31 @@
include_defs('//lib/maven.defs')
maven_jar(
name = 'httpclient',
id = 'org.apache.httpcomponents:httpclient:4.3.4',
bin_sha1 = 'a9a1fef2faefed639ee0d0fba5b3b8e4eb2ff2d8',
src_sha1 = '7a14aafed8c5e2c4e360a2c1abd1602efa768b1f',
license = 'Apache2.0',
deps = [
'//lib/commons:codec',
':httpcore',
'//lib/log:jcl-over-slf4j',
],
)
maven_jar(
name = 'httpcore',
id = 'org.apache.httpcomponents:httpcore:4.3.2',
bin_sha1 = '31fbbff1ddbf98f3aa7377c94d33b0447c646b6e',
src_sha1 = '4809f38359edeea9487f747e09aa58ec8d3a54c5',
license = 'Apache2.0',
)
maven_jar(
name = 'httpmime',
id = 'org.apache.httpcomponents:httpmime:4.3.4',
bin_sha1 = '54ffde537682aea984c22fbcf0106f21397c5f9b',
src_sha1 = '0651e21152b0963661068f948d84ed08c18094f8',
license = 'Apache2.0',
)

View File

@@ -8,7 +8,7 @@ maven_jar(
deps = [
':nekohtml',
':xerces',
'//lib/commons:httpclient',
'//lib/httpcomponents:httpclient',
'//lib/log:jcl-over-slf4j',
'//lib/guice:guice',
],

View File

@@ -9,8 +9,8 @@ maven_jar(
deps = [
':noggit',
':zookeeper',
'//lib/commons:httpclient',
'//lib/commons:httpmime',
'//lib/httpcomponents:httpclient',
'//lib/httpcomponents:httpmime',
'//lib/commons:io',
],
)