diff --git a/indra-mongo/pom.xml b/indra-mongo/pom.xml
index 176a165..32a0561 100644
--- a/indra-mongo/pom.xml
+++ b/indra-mongo/pom.xml
@@ -26,21 +26,6 @@
maven-jar-plugin
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
-
- org.apache.maven.plugins
- maven-failsafe-plugin
-
-
- localhost:27017
-
-
-
-
org.apache.maven.plugins
maven-source-plugin
diff --git a/indra-service/README.md b/indra-service/README.md
index fb848ec..fed3c92 100644
--- a/indra-service/README.md
+++ b/indra-service/README.md
@@ -20,4 +20,4 @@ This is a REST Service that interfaces with the Java Indra Client.
"t2": "car",
"t1": "engine"
}]
- }' "http://localhost:8916/indra/v1/relatedness"
\ No newline at end of file
+ }' "http://localhost:8916/relatedness"
\ No newline at end of file
diff --git a/indra-service/pom.xml b/indra-service/pom.xml
index b217980..792a41f 100644
--- a/indra-service/pom.xml
+++ b/indra-service/pom.xml
@@ -181,12 +181,23 @@
indra-core
${project.version}
+
org.lambda3.indra
indra-mongo
${project.version}
+
+ jakarta.xml.bind
+ jakarta.xml.bind-api
+
+
+
+ org.glassfish.jaxb
+ jaxb-runtime
+
+
ch.qos.logback
logback-classic
diff --git a/indra-service/src/main/java/org/lambda3/indra/service/Server.java b/indra-service/src/main/java/org/lambda3/indra/service/Server.java
index a491dca..7ddb3fa 100644
--- a/indra-service/src/main/java/org/lambda3/indra/service/Server.java
+++ b/indra-service/src/main/java/org/lambda3/indra/service/Server.java
@@ -138,19 +138,19 @@ public synchronized void stop() {
logger.info("Terminating Indra Service.");
httpServer.shutdownNow();
try {
- spaceFactory.close();
+ if (spaceFactory != null) {
+ spaceFactory.close();
+ }
} catch (IOException e) {
logger.error("error closing the vector space factory.");
- e.printStackTrace();
} finally {
try {
- translatorFactory.close();
+ if (translatorFactory != null) {
+ translatorFactory.close();
+ }
} catch (IOException e) {
logger.error("error closing the translator factory.");
- e.printStackTrace();
}
}
}
-
-
}
diff --git a/pom.xml b/pom.xml
index bb7e209..60a485c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,6 +46,8 @@
1.7.12
7.1.0
mit
+ 2.9.7
+ 2.3.2
@@ -182,20 +184,6 @@
2.20
-
- org.apache.maven.plugins
- maven-failsafe-plugin
- 2.20
-
-
-
- integration-test
- verify
-
-
-
-
-
org.apache.maven.plugins
maven-assembly-plugin
@@ -249,6 +237,17 @@
${lucene.version}
+
+ jakarta.xml.bind
+ jakarta.xml.bind-api
+ ${jaxb.version}
+
+
+
+ org.glassfish.jaxb
+ jaxb-runtime
+ ${jaxb.version}
+