diff --git a/pom.xml b/pom.xml
index ebf477f9..d7b392aa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
72.1
2.6.1
0.6.0
- 2.9.10
+ 2.14.1
1.4.4
2.1.0-M3
1.7.36
@@ -52,6 +52,22 @@
java.net repository
http://download.java.net/maven/2
+
+ Mulesoft
+ Mulesoft Repository
+
+ https://repository.mulesoft.org/nexus/content/repositories/public
+
+ true
+
+
+ false
+
+
+
+ 3rd-party-embedded
+ file://${project.basedir}/3rd-party/repository
+
@@ -583,6 +599,11 @@
org.projectlombok
lombok
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ 3.1.2
+
@@ -792,7 +813,7 @@
org.apache.maven.plugins
maven-checkstyle-plugin
- 3.2.0
+ 3.1.2
google_checks.xml
diff --git a/src/main/java/org/jasig/portlet/widget/links/ResourceLinkService.java b/src/main/java/org/jasig/portlet/widget/links/ResourceLinkService.java
index 508b708c..f90c24c7 100644
--- a/src/main/java/org/jasig/portlet/widget/links/ResourceLinkService.java
+++ b/src/main/java/org/jasig/portlet/widget/links/ResourceLinkService.java
@@ -51,7 +51,7 @@ public static ResourceLink jsonToLink(final String json) {
ResourceLink link = null;
try {
link = mapper.readValue(json, ResourceLink.class);
- } catch (IOException e) {
+ } catch (Exception e) {
log.error("Unable to parse JSON to ResourceLink: " + json, e);
}
return link;
diff --git a/src/test/java/org/jasig/portlet/widget/links/ResourceLinkServiceTest.java b/src/test/java/org/jasig/portlet/widget/links/ResourceLinkServiceTest.java
index 4762240b..e81645e6 100644
--- a/src/test/java/org/jasig/portlet/widget/links/ResourceLinkServiceTest.java
+++ b/src/test/java/org/jasig/portlet/widget/links/ResourceLinkServiceTest.java
@@ -63,7 +63,7 @@ public void testToJson() {
assertNull(ResourceLinkService.linkToJson(null));
}
- @Test(expected = NullPointerException.class)
+ @Test
public void testFromJson() {
final ResourceLink link = createLink();
final ResourceLink jsonLink = ResourceLinkService.jsonToLink(JSON);