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:
@@ -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',
|
||||
|
@@ -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
31
lib/httpcomponents/BUCK
Normal 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',
|
||||
)
|
||||
|
@@ -8,7 +8,7 @@ maven_jar(
|
||||
deps = [
|
||||
':nekohtml',
|
||||
':xerces',
|
||||
'//lib/commons:httpclient',
|
||||
'//lib/httpcomponents:httpclient',
|
||||
'//lib/log:jcl-over-slf4j',
|
||||
'//lib/guice:guice',
|
||||
],
|
||||
|
@@ -9,8 +9,8 @@ maven_jar(
|
||||
deps = [
|
||||
':noggit',
|
||||
':zookeeper',
|
||||
'//lib/commons:httpclient',
|
||||
'//lib/commons:httpmime',
|
||||
'//lib/httpcomponents:httpclient',
|
||||
'//lib/httpcomponents:httpmime',
|
||||
'//lib/commons:io',
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user