Skip to content

Commit

Permalink
Bump the version of httpclient to 4.5.1 (including updating deps)
Browse files Browse the repository at this point in the history
This also adds the BUCK files "maven_coords".
  • Loading branch information
shs96c committed Oct 9, 2015
1 parent 06a8a62 commit be8a6fd
Show file tree
Hide file tree
Showing 19 changed files with 56 additions and 31 deletions.
10 changes: 5 additions & 5 deletions .idea/libraries/commons_httpclient.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions .idea/libraries/commons_logging.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions java/client/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<classpathentry kind="lib" path="/third-party/java/cglib/cglib-nodep-2.1_3.jar"/>
<classpathentry kind="lib" path="/third-party/java/servlet/javax.servlet-api-3.1.0.jar" sourcepath="/third-party/java/servlet/javax.servlet-api-3.1.0-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/phantomjs-driver/phantomjsdriver-1.2.1.jar" sourcepath="/third-party/java/phantomjs-driver/phantomjsdriver-1.2.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpclient-4.5.jar" sourcepath="/third-party/java/httpcomponents/httpclient-4.5-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpcore-4.4.1.jar" sourcepath="/third-party/java/httpcomponents/httpcore-4.4.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-logging/commons-logging-1.1.3.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpclient-4.5.1.jar" sourcepath="/third-party/java/httpcomponents/httpclient-4.5.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpcore-4.4.3.jar" sourcepath="/third-party/java/httpcomponents/httpcore-4.4.3-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-logging/commons-logging-1.2.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-io/commons-io-2.4.jar" sourcepath="/third-party/java/commons-io/commons-io-2.4-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-codec/commons-codec-1.10.jar" sourcepath="/third-party/java/commons-codec/commons-codec-1.10-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/css/sac-1.3.jar"/>
Expand Down
1 change: 1 addition & 0 deletions java/client/src/org/openqa/selenium/BUCK
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
java_library(name = 'webdriver-api',
maven_coords = "org.seleniumhq.selenium:selenium-api:2.49.0",
exported_deps = [
':beta',
':core',
Expand Down
6 changes: 3 additions & 3 deletions java/server/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/client"/>
<classpathentry kind="lib" path="/third-party/java/gson/gson-2.3.1.jar"/>
<classpathentry kind="lib" path="/third-party/java/servlet/javax.servlet-api-3.1.0.jar" sourcepath="/third-party/java/servlet/javax.servlet-api-3.1.0-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpclient-4.5.jar" sourcepath="/third-party/java/httpcomponents/httpclient-4.5-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpcore-4.4.1.jar" sourcepath="/third-party/java/httpcomponents/httpcore-4.4.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpclient-4.5.1.jar" sourcepath="/third-party/java/httpcomponents/httpclient-4.5.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpcore-4.4.3.jar" sourcepath="/third-party/java/httpcomponents/httpcore-4.4.3-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/hamcrest/hamcrest-core-1.3.jar"/>
<classpathentry kind="lib" path="/third-party/java/hamcrest/hamcrest-library-1.3.jar"/>
<classpathentry kind="lib" path="/third-party/java/junit/junit-4.12.jar" sourcepath="/third-party/java/junit/junit-4.12-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/bouncycastle/bcprov-jdk15on-1.48.jar" sourcepath="/third-party/java/bouncycastle/bcprov-jdk15on-1.48-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/jetty/jetty-repacked-5.jar" sourcepath="/third-party/java/jetty/jetty-repacked-5-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-logging/commons-logging-1.1.3.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-logging/commons-logging-1.2.jar"/>
<classpathentry kind="lib" path="/third-party/java/mx4j/mx4j-tools-3.0.1.jar"/>
<classpathentry kind="lib" path="/third-party/java/jcip_annotations/jcip-annotations-1.0.jar" sourcepath="/third-party/java/jcip_annotations/jcip-annotations-1.0-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/bouncycastle/bcpkix-jdk15on-1.48.jar" sourcepath="/third-party/java/bouncycastle/bcpkix-jdk15on-1.48-sources.jar"/>
Expand Down
9 changes: 6 additions & 3 deletions third_party/java/commons-codec/BUCK
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
prebuilt_jar(name = 'commons-codec',
prebuilt_jar(
name = 'commons-codec',
maven_coords = 'commons-codec:commons-codec:jar:1.10',
binary_jar = 'commons-codec-1.10.jar',
source_jar = 'commons-codec-1.10-sources.jar',
source_jar = 'commons-codec-1.10.jar',
visibility = [
'//third_party/java/...',
'//third_party/java/...'
],
)

8 changes: 6 additions & 2 deletions third_party/java/commons-logging/BUCK
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
prebuilt_jar(name = 'commons-logging',
binary_jar = 'commons-logging-1.1.3.jar',
prebuilt_jar(
name = 'commons-logging',
maven_coords = 'commons-logging:commons-logging:jar:1.2',
binary_jar = 'commons-logging-1.2.jar',
source_jar = 'commons-logging-1.2-sources.jar',
visibility = [
'//java/server/src/org/openqa/selenium/remote/server:sessions',
'//java/server/src/org/openqa/selenium/server:server',
'//third_party/java/...',
],
)

2 changes: 1 addition & 1 deletion third_party/java/commons-logging/build.desc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
java_library(name = "commons-logging",
deps = [
"commons-logging-1.1.3.jar"
"commons-logging-1.2.jar"
]
)
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions third_party/java/guava-libraries/BUCK
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
prebuilt_jar(name = 'guava-libraries',
maven_coords = "com.google.guava:guava:18.0",
binary_jar = 'guava-18.0.jar',
source_jar = 'guava-18.0-sources.jar',
visibility = ['PUBLIC'],
Expand Down
34 changes: 24 additions & 10 deletions third_party/java/httpcomponents/BUCK
Original file line number Diff line number Diff line change
@@ -1,26 +1,40 @@
java_library(name = "httpclient",
java_library(
name = 'httpclient',
exported_deps = [
':client',
':core',
':mime',
],
deps = [
'//third_party/java/apache-mime4j:apache-mime4j',
'//third_party/java/commons-codec:commons-codec',
'//third_party/java/commons-logging:commons-logging',
'//third_party/java/commons-logging:commons-logging'
],
visibility = ['PUBLIC'],
)

prebuilt_jar(name = 'client',
binary_jar = 'httpclient-4.5.jar',
source_jar = 'httpclient-4.5-sources.jar',
prebuilt_jar(
name = 'client',
maven_coords = 'org.apache.httpcomponents:httpclient:jar:4.5.1',
binary_jar = 'httpclient-4.5.1.jar',
source_jar = 'httpclient-4.5.1-sources.jar',
deps = [
':core',
'//third_party/java/commons-codec:commons-codec',
'//third_party/java/commons-logging:commons-logging'
],
)

prebuilt_jar(name = 'core',
binary_jar = 'httpcore-4.4.1.jar',
source_jar = 'httpcore-4.4.1-sources.jar',
prebuilt_jar(
name = 'core',
maven_coords = 'org.apache.httpcomponents:httpcore:jar:4.4.3',
binary_jar = 'httpcore-4.4.3.jar',
source_jar = 'httpcore-4.4.3-sources.jar',
)

prebuilt_jar(name = 'mime',
prebuilt_jar(
name = 'mime',
maven_coords = 'org.apache.httpcomponents:httpmime:jar:4.5',
binary_jar = 'httpmime-4.5.jar',
source_jar = 'httpmime-4.5-sources.jar',
)

4 changes: 2 additions & 2 deletions third_party/java/httpcomponents/build.desc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
java_library(name = "httpclient",
deps = [
"httpclient-4.5.jar",
"httpcore-4.4.1.jar",
"httpclient-4.5.1.jar",
"httpcore-4.4.3.jar",
"httpmime-4.5.jar",
"//third_party/java/apache-mime4j",
"//third_party/java/commons-codec",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file removed third_party/java/httpcomponents/httpcore-4.4.1.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit be8a6fd

Please sign in to comment.