diff --git a/.idea/libraries/commons_httpclient.xml b/.idea/libraries/commons_httpclient.xml index b0b74a1651906..a70dcc7cfed35 100644 --- a/.idea/libraries/commons_httpclient.xml +++ b/.idea/libraries/commons_httpclient.xml @@ -1,15 +1,15 @@ - - + + - - + + - + \ No newline at end of file diff --git a/.idea/libraries/commons_logging.xml b/.idea/libraries/commons_logging.xml index 6829647dc989e..5c8d76b42eda1 100644 --- a/.idea/libraries/commons_logging.xml +++ b/.idea/libraries/commons_logging.xml @@ -1,9 +1,11 @@ - + - + + + \ No newline at end of file diff --git a/java/client/.classpath b/java/client/.classpath index b8c01a01526a5..b953a8e487846 100644 --- a/java/client/.classpath +++ b/java/client/.classpath @@ -16,9 +16,9 @@ - - - + + + diff --git a/java/client/src/org/openqa/selenium/BUCK b/java/client/src/org/openqa/selenium/BUCK index 44cef59c9b344..8ec7f9c6f14fb 100644 --- a/java/client/src/org/openqa/selenium/BUCK +++ b/java/client/src/org/openqa/selenium/BUCK @@ -1,4 +1,5 @@ java_library(name = 'webdriver-api', + maven_coords = "org.seleniumhq.selenium:selenium-api:2.49.0", exported_deps = [ ':beta', ':core', diff --git a/java/server/.classpath b/java/server/.classpath index 34add81d7021a..e08bceeefa8b4 100644 --- a/java/server/.classpath +++ b/java/server/.classpath @@ -6,14 +6,14 @@ - - + + - + diff --git a/third_party/java/commons-codec/BUCK b/third_party/java/commons-codec/BUCK index 1872926fa03b7..15c7d653182e5 100644 --- a/third_party/java/commons-codec/BUCK +++ b/third_party/java/commons-codec/BUCK @@ -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/...' ], ) + diff --git a/third_party/java/commons-logging/BUCK b/third_party/java/commons-logging/BUCK index b139b39e718f6..1d26dda8438f5 100644 --- a/third_party/java/commons-logging/BUCK +++ b/third_party/java/commons-logging/BUCK @@ -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/...', ], ) + diff --git a/third_party/java/commons-logging/build.desc b/third_party/java/commons-logging/build.desc index 252b430221668..4b5a56af41e69 100644 --- a/third_party/java/commons-logging/build.desc +++ b/third_party/java/commons-logging/build.desc @@ -1,5 +1,5 @@ java_library(name = "commons-logging", deps = [ - "commons-logging-1.1.3.jar" + "commons-logging-1.2.jar" ] ) diff --git a/third_party/java/commons-logging/commons-logging-1.1.3.jar b/third_party/java/commons-logging/commons-logging-1.1.3.jar deleted file mode 100644 index ab5125407a6a7..0000000000000 Binary files a/third_party/java/commons-logging/commons-logging-1.1.3.jar and /dev/null differ diff --git a/third_party/java/commons-logging/commons-logging-1.2-sources.jar b/third_party/java/commons-logging/commons-logging-1.2-sources.jar new file mode 100644 index 0000000000000..10655e50d38d1 Binary files /dev/null and b/third_party/java/commons-logging/commons-logging-1.2-sources.jar differ diff --git a/third_party/java/commons-logging/commons-logging-1.2.jar b/third_party/java/commons-logging/commons-logging-1.2.jar new file mode 100644 index 0000000000000..93a3b9f6db406 Binary files /dev/null and b/third_party/java/commons-logging/commons-logging-1.2.jar differ diff --git a/third_party/java/guava-libraries/BUCK b/third_party/java/guava-libraries/BUCK index b1cb85e2e7d1c..28244d259e332 100644 --- a/third_party/java/guava-libraries/BUCK +++ b/third_party/java/guava-libraries/BUCK @@ -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'], diff --git a/third_party/java/httpcomponents/BUCK b/third_party/java/httpcomponents/BUCK index 492d3134608c7..993c75a271b6f 100644 --- a/third_party/java/httpcomponents/BUCK +++ b/third_party/java/httpcomponents/BUCK @@ -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', ) + diff --git a/third_party/java/httpcomponents/build.desc b/third_party/java/httpcomponents/build.desc index a55e38fd0d86e..c2495cffcab25 100644 --- a/third_party/java/httpcomponents/build.desc +++ b/third_party/java/httpcomponents/build.desc @@ -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", diff --git a/third_party/java/httpcomponents/httpclient-4.5-sources.jar b/third_party/java/httpcomponents/httpclient-4.5.1-sources.jar similarity index 89% rename from third_party/java/httpcomponents/httpclient-4.5-sources.jar rename to third_party/java/httpcomponents/httpclient-4.5.1-sources.jar index 5834a2fc85cef..5fe432fb0d73e 100644 Binary files a/third_party/java/httpcomponents/httpclient-4.5-sources.jar and b/third_party/java/httpcomponents/httpclient-4.5.1-sources.jar differ diff --git a/third_party/java/httpcomponents/httpclient-4.5.jar b/third_party/java/httpcomponents/httpclient-4.5.1.jar similarity index 82% rename from third_party/java/httpcomponents/httpclient-4.5.jar rename to third_party/java/httpcomponents/httpclient-4.5.1.jar index 970c9891c13ae..b9c0c1c250221 100644 Binary files a/third_party/java/httpcomponents/httpclient-4.5.jar and b/third_party/java/httpcomponents/httpclient-4.5.1.jar differ diff --git a/third_party/java/httpcomponents/httpcore-4.4.1.jar b/third_party/java/httpcomponents/httpcore-4.4.1.jar deleted file mode 100644 index 99715b6a9f06f..0000000000000 Binary files a/third_party/java/httpcomponents/httpcore-4.4.1.jar and /dev/null differ diff --git a/third_party/java/httpcomponents/httpcore-4.4.1-sources.jar b/third_party/java/httpcomponents/httpcore-4.4.3-sources.jar similarity index 89% rename from third_party/java/httpcomponents/httpcore-4.4.1-sources.jar rename to third_party/java/httpcomponents/httpcore-4.4.3-sources.jar index 657ac1d6e6575..a92fef7d99ff2 100644 Binary files a/third_party/java/httpcomponents/httpcore-4.4.1-sources.jar and b/third_party/java/httpcomponents/httpcore-4.4.3-sources.jar differ diff --git a/third_party/java/httpcomponents/httpcore-4.4.3.jar b/third_party/java/httpcomponents/httpcore-4.4.3.jar new file mode 100644 index 0000000000000..9f91ef663e25f Binary files /dev/null and b/third_party/java/httpcomponents/httpcore-4.4.3.jar differ