diff --git a/core/src/test/java/org/elasticsearch/indices/analyze/AnalyzeActionIT.java b/core/src/test/java/org/elasticsearch/indices/analyze/AnalyzeActionIT.java
index c632fa2466833..a9de21b22f1d2 100644
--- a/core/src/test/java/org/elasticsearch/indices/analyze/AnalyzeActionIT.java
+++ b/core/src/test/java/org/elasticsearch/indices/analyze/AnalyzeActionIT.java
@@ -22,6 +22,7 @@
import org.elasticsearch.action.admin.indices.analyze.AnalyzeRequest;
import org.elasticsearch.action.admin.indices.analyze.AnalyzeRequestBuilder;
import org.elasticsearch.action.admin.indices.analyze.AnalyzeResponse;
+import org.elasticsearch.common.bytes.BytesArray;
import org.elasticsearch.common.bytes.BytesReference;
import org.elasticsearch.common.xcontent.*;
import org.elasticsearch.rest.action.admin.indices.analyze.RestAnalyzeAction;
@@ -217,10 +218,9 @@ public void testParseXContentForAnalyzeReuqest() throws Exception {
@Test
public void testParseXContentForAnalyzeRequestWithInvalidJsonThrowsException() throws Exception {
AnalyzeRequest analyzeRequest = new AnalyzeRequest("for test");
- BytesReference invalidContent = XContentFactory.jsonBuilder().startObject().value("invalid_json").endObject().bytes();
try {
- RestAnalyzeAction.buildFromContent(invalidContent, analyzeRequest);
+ RestAnalyzeAction.buildFromContent(new BytesArray("{invalid_json}"), analyzeRequest);
fail("shouldn't get here");
} catch (Exception e) {
assertThat(e, instanceOf(IllegalArgumentException.class));
diff --git a/core/src/test/java/org/elasticsearch/search/scroll/SearchScrollIT.java b/core/src/test/java/org/elasticsearch/search/scroll/SearchScrollIT.java
index f5117efae38d7..e4e7a69670b5f 100644
--- a/core/src/test/java/org/elasticsearch/search/scroll/SearchScrollIT.java
+++ b/core/src/test/java/org/elasticsearch/search/scroll/SearchScrollIT.java
@@ -22,6 +22,7 @@
import org.elasticsearch.action.search.*;
import org.elasticsearch.cluster.metadata.IndexMetaData;
import org.elasticsearch.common.Priority;
+import org.elasticsearch.common.bytes.BytesArray;
import org.elasticsearch.common.bytes.BytesReference;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.unit.TimeValue;
@@ -42,9 +43,7 @@
import java.util.Map;
import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
-import static org.elasticsearch.index.query.QueryBuilders.matchAllQuery;
-import static org.elasticsearch.index.query.QueryBuilders.queryStringQuery;
-import static org.elasticsearch.index.query.QueryBuilders.termQuery;
+import static org.elasticsearch.index.query.QueryBuilders.*;
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.*;
import static org.hamcrest.Matchers.*;
@@ -501,11 +500,8 @@ public void testParseSearchScrollRequest() throws Exception {
@Test
public void testParseSearchScrollRequestWithInvalidJsonThrowsException() throws Exception {
SearchScrollRequest searchScrollRequest = new SearchScrollRequest();
- BytesReference invalidContent = XContentFactory.jsonBuilder().startObject()
- .value("invalid_json").endObject().bytes();
-
try {
- RestSearchScrollAction.buildFromContent(invalidContent, searchScrollRequest);
+ RestSearchScrollAction.buildFromContent(new BytesArray("{invalid_json}"), searchScrollRequest);
fail("expected parseContent failure");
} catch (Exception e) {
assertThat(e, instanceOf(IllegalArgumentException.class));
@@ -542,12 +538,10 @@ public void testParseClearScrollRequest() throws Exception {
@Test
public void testParseClearScrollRequestWithInvalidJsonThrowsException() throws Exception {
- BytesReference invalidContent = XContentFactory.jsonBuilder().startObject()
- .value("invalid_json").endObject().bytes();
ClearScrollRequest clearScrollRequest = new ClearScrollRequest();
try {
- RestClearScrollAction.buildFromContent(invalidContent, clearScrollRequest);
+ RestClearScrollAction.buildFromContent(new BytesArray("{invalid_json}"), clearScrollRequest);
fail("expected parseContent failure");
} catch (Exception e) {
assertThat(e, instanceOf(IllegalArgumentException.class));
diff --git a/distribution/licenses/jackson-core-2.5.3.jar.sha1 b/distribution/licenses/jackson-core-2.5.3.jar.sha1
deleted file mode 100644
index 190d78c0fc2a7..0000000000000
--- a/distribution/licenses/jackson-core-2.5.3.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-a8b8a6dfc8a17890e4c7ff8aed810763d265b68b
diff --git a/distribution/licenses/jackson-core-2.6.2.jar.sha1 b/distribution/licenses/jackson-core-2.6.2.jar.sha1
new file mode 100644
index 0000000000000..87d28eb93635e
--- /dev/null
+++ b/distribution/licenses/jackson-core-2.6.2.jar.sha1
@@ -0,0 +1 @@
+123f29333b2c6b3516b14252b6e93226bfcd6e37
diff --git a/distribution/licenses/jackson-dataformat-cbor-2.5.3.jar.sha1 b/distribution/licenses/jackson-dataformat-cbor-2.5.3.jar.sha1
deleted file mode 100644
index a93edd273bc71..0000000000000
--- a/distribution/licenses/jackson-dataformat-cbor-2.5.3.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-0292edada1ec779903b9f45a8232533791588342
diff --git a/distribution/licenses/jackson-dataformat-cbor-2.6.2.jar.sha1 b/distribution/licenses/jackson-dataformat-cbor-2.6.2.jar.sha1
new file mode 100644
index 0000000000000..66757dbc91751
--- /dev/null
+++ b/distribution/licenses/jackson-dataformat-cbor-2.6.2.jar.sha1
@@ -0,0 +1 @@
+1e13c575f914c83761bb8e2aca7dfd9e4c647579
diff --git a/distribution/licenses/jackson-dataformat-smile-2.5.3.jar.sha1 b/distribution/licenses/jackson-dataformat-smile-2.5.3.jar.sha1
deleted file mode 100644
index 48a810b823441..0000000000000
--- a/distribution/licenses/jackson-dataformat-smile-2.5.3.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-8130f27e41d2bbe6ab4e9cde5f1162f8d51ed449
diff --git a/distribution/licenses/jackson-dataformat-smile-2.6.2.jar.sha1 b/distribution/licenses/jackson-dataformat-smile-2.6.2.jar.sha1
new file mode 100644
index 0000000000000..2ae62f6111e5c
--- /dev/null
+++ b/distribution/licenses/jackson-dataformat-smile-2.6.2.jar.sha1
@@ -0,0 +1 @@
+395d18c1a1dd730b8026ee59c4067e5d2b45ba6e
diff --git a/distribution/licenses/jackson-dataformat-yaml-2.5.3.jar.sha1 b/distribution/licenses/jackson-dataformat-yaml-2.5.3.jar.sha1
deleted file mode 100644
index 7e988feac990c..0000000000000
--- a/distribution/licenses/jackson-dataformat-yaml-2.5.3.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-8fc7e5a9911c3ab4b0dd7e74f12621681835e3fc
diff --git a/distribution/licenses/jackson-dataformat-yaml-2.6.2.jar.sha1 b/distribution/licenses/jackson-dataformat-yaml-2.6.2.jar.sha1
new file mode 100644
index 0000000000000..385f04d4db39e
--- /dev/null
+++ b/distribution/licenses/jackson-dataformat-yaml-2.6.2.jar.sha1
@@ -0,0 +1 @@
+4ae23088dd3fae47c66843f2e4251d7255ee140e
diff --git a/distribution/licenses/snakeyaml-1.12.jar.sha1 b/distribution/licenses/snakeyaml-1.12.jar.sha1
deleted file mode 100644
index b57cf105f2ef3..0000000000000
--- a/distribution/licenses/snakeyaml-1.12.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-ebe66a6b88caab31d7a19571ad23656377523545
diff --git a/distribution/licenses/snakeyaml-1.15.jar.sha1 b/distribution/licenses/snakeyaml-1.15.jar.sha1
new file mode 100644
index 0000000000000..62d6943ca0382
--- /dev/null
+++ b/distribution/licenses/snakeyaml-1.15.jar.sha1
@@ -0,0 +1 @@
+3b132bea69e8ee099f416044970997bde80f4ea6
diff --git a/pom.xml b/pom.xml
index 273234c40870e..65ff7ff028ae2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,7 @@
1702855
5.4.0-snapshot-${lucene.snapshot.revision}
2.1.17
- 2.5.3
+ 2.6.2
1.6.2
1.2.17
0.7.5.201505241946