From 5332031c317a6352480c7c8b669c97edea764576 Mon Sep 17 00:00:00 2001 From: Richard Zowalla Date: Sat, 13 Apr 2024 20:40:40 +0200 Subject: [PATCH] Fix review comments --- .../org/apache/openejb/loader/Embedder.java | 1 - tomee/tomee-webaccess/pom.xml | 28 ++++--------------- 2 files changed, 6 insertions(+), 23 deletions(-) diff --git a/container/openejb-loader/src/main/java/org/apache/openejb/loader/Embedder.java b/container/openejb-loader/src/main/java/org/apache/openejb/loader/Embedder.java index 36c14eb7643..2cf23292f9b 100644 --- a/container/openejb-loader/src/main/java/org/apache/openejb/loader/Embedder.java +++ b/container/openejb-loader/src/main/java/org/apache/openejb/loader/Embedder.java @@ -105,7 +105,6 @@ private Class forcefulLoad(final ClassPath classPath, final ClassLoader classLoa } classPath.addJarsToPath(libsDir); } catch (final Exception e2) { - e2.printStackTrace(); throw new Exception("Could not load OpenEJB libraries. Exception: " + e2.getClass().getName() + " " + e2.getMessage()); } diff --git a/tomee/tomee-webaccess/pom.xml b/tomee/tomee-webaccess/pom.xml index 7ee4e7fcd61..ada19d87f70 100644 --- a/tomee/tomee-webaccess/pom.xml +++ b/tomee/tomee-webaccess/pom.xml @@ -25,36 +25,15 @@ ${project.groupId}.tomee.webaccess UTF-8 + 2.5.23 - - java11plus - - [11,) - - - 2.5.23 - - tomee true - - jdk15+ - - [15,) - - - - org.openjdk.nashorn - nashorn-core - test - - - @@ -236,6 +215,11 @@ ${version.groovy} test + + org.openjdk.nashorn + nashorn-core + test + org.apache.ivy ivy