diff --git a/pom.xml b/pom.xml
index 4ae7d0e..abea02a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,7 +62,7 @@
org.apache.maven
maven-plugin-api
- 3.3.3
+ 3.6.3
org.apache.maven.plugin-testing
@@ -176,6 +176,11 @@
gson
2.8.1
+
+ javax.xml.bind
+ jaxb-api
+ 2.3.1
+
org.mockito
mockito-core
@@ -227,6 +232,9 @@
jar
+
+ 8
+
@@ -262,7 +270,7 @@
org.apache.maven.plugins
maven-plugin-plugin
- 3.4
+ 3.6.0
default-descriptor
diff --git a/src/main/java/com/github/seanroy/utils/JsonUtil.java b/src/main/java/com/github/seanroy/utils/JsonUtil.java
index 18a672d..17247f4 100644
--- a/src/main/java/com/github/seanroy/utils/JsonUtil.java
+++ b/src/main/java/com/github/seanroy/utils/JsonUtil.java
@@ -44,7 +44,7 @@ public static String toJson(Object message) throws JsonProcessingException {
return mapper.writeValueAsString(message);
}
- public static T fromJson(String body) throws IOException {
+ public static List fromJson(String body) throws IOException {
return mapper.readValue(body, new TypeReference>(){});
}
}