diff --git a/hapi-fhir-jpaserver-base/pom.xml b/hapi-fhir-jpaserver-base/pom.xml
index b6e36b529a3..951c0cbd193 100644
--- a/hapi-fhir-jpaserver-base/pom.xml
+++ b/hapi-fhir-jpaserver-base/pom.xml
@@ -146,7 +146,11 @@
logback-classic
test
-
+
+ org.awaitility
+ awaitility
+ test
+
org.javassist
javassist
diff --git a/hapi-fhir-structures-dstu2/pom.xml b/hapi-fhir-structures-dstu2/pom.xml
index 0604b84fd02..b16cd0536cd 100644
--- a/hapi-fhir-structures-dstu2/pom.xml
+++ b/hapi-fhir-structures-dstu2/pom.xml
@@ -216,6 +216,11 @@
${project.version}
test
+
+ org.awaitility
+ awaitility
+ test
+
diff --git a/hapi-fhir-structures-dstu2/src/test/java/ca/uhn/fhir/parser/XmlParserDstu2Test.java b/hapi-fhir-structures-dstu2/src/test/java/ca/uhn/fhir/parser/XmlParserDstu2Test.java
index f42ad461da9..7f6b0370b7a 100644
--- a/hapi-fhir-structures-dstu2/src/test/java/ca/uhn/fhir/parser/XmlParserDstu2Test.java
+++ b/hapi-fhir-structures-dstu2/src/test/java/ca/uhn/fhir/parser/XmlParserDstu2Test.java
@@ -802,7 +802,6 @@ public class XmlParserDstu2Test {
//@formatter:off
assertThat(enc, stringContainsInOrder("",
- "",
"",
"",
"",
@@ -817,7 +816,6 @@ public class XmlParserDstu2Test {
"",
"",
"",
- "",
"",
"",
"",
@@ -856,7 +854,6 @@ public class XmlParserDstu2Test {
//@formatter:off
assertThat(enc, stringContainsInOrder("",
- "",
"",
"",
"",
@@ -869,7 +866,6 @@ public class XmlParserDstu2Test {
"",
"",
"",
- "",
"",
"",
"",
diff --git a/hapi-fhir-test-utilities/pom.xml b/hapi-fhir-test-utilities/pom.xml
index b22af2f86e8..1a57db75e00 100644
--- a/hapi-fhir-test-utilities/pom.xml
+++ b/hapi-fhir-test-utilities/pom.xml
@@ -46,11 +46,6 @@
junit
junit
-
-
- org.awaitility
- awaitility
-
diff --git a/pom.xml b/pom.xml
index 1bb1c3b3ff9..02d897fb52e 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1062,21 +1062,7 @@
org.awaitility
awaitility
- 3.1.6
-
-
- org.hamcrest
- java-hamcrest
-
-
- org.hamcrest
- hamcrest-core
-
-
- org.hamcrest
- hamcrest-library
-
-
+ 4.0.0-rc1
org.codehaus.plexus