From 249a3c5770ab230cf8feaf118688d4b8e8cf87f1 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Mon, 29 Nov 2021 16:04:17 -0500 Subject: [PATCH] USRE-86 Add test for Junit5 and change import for pom.xml --- pom.xml | 44 ++++++++++++++++--- .../usreio/common/util/SessionUtils.java | 1 - .../examples/RetsGetMetadataExample.java | 1 - 3 files changed, 38 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 8ee3f94..29b438f 100644 --- a/pom.xml +++ b/pom.xml @@ -54,7 +54,17 @@ ${logback.version} - + + + commons-httpclient + commons-httpclient + 3.1 + + + org.apache.ant + ant + 1.9.4 + org.apache.commons commons-lang3 @@ -71,6 +81,21 @@ dom4j 2.1.1 + + xalan + xalan + 2.7.2 + + + javax.activation + javax.activation-api + 1.2.0 + + + javax.mail + mail + 1.4 + @@ -79,13 +104,20 @@ 4.12 test - - log4j - log4j - 1.2.9 - false + org.junit.jupiter + junit-jupiter-api + 5.7.0 + test + + org.junit.jupiter + junit-jupiter-engine + 5.7.0 + test + + + commons-codec diff --git a/src/main/java/com/ossez/usreio/common/util/SessionUtils.java b/src/main/java/com/ossez/usreio/common/util/SessionUtils.java index c0fa2f3..3da525f 100644 --- a/src/main/java/com/ossez/usreio/common/util/SessionUtils.java +++ b/src/main/java/com/ossez/usreio/common/util/SessionUtils.java @@ -1,6 +1,5 @@ package com.ossez.usreio.common.util; -import com.ossez.reoc.rets.client.*; import com.ossez.usreio.client.*; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; diff --git a/src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java b/src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java index ab48d6b..f202fca 100644 --- a/src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java +++ b/src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java @@ -2,7 +2,6 @@ package com.ossez.usreio.examples; import java.net.MalformedURLException; -import com.ossez.reoc.rets.client.*; import com.ossez.usreio.common.metadata.types.MClass; import com.ossez.usreio.common.metadata.types.MResource; import com.ossez.usreio.common.metadata.types.MSystem;