From 07c9bd92f1baf35a2ee42fae9ae52b5cd0a48bdc Mon Sep 17 00:00:00 2001 From: haynescd Date: Sat, 11 Nov 2023 09:41:04 -0500 Subject: [PATCH] Update to use shade plugin to not overrite resources --- pom.xml | 29 +++++++++++++++---- ...licationContext-persistenceConnections.xml | 6 ++-- 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 1dc4c948..6d73b31a 100644 --- a/pom.xml +++ b/pom.xml @@ -221,18 +221,35 @@ org.apache.maven.plugins - maven-assembly-plugin + maven-shade-plugin - create-my-bundle + assembly package - single + shade - - jar-with-dependencies - + + + META-INF/spring.handlers + + + META-INF/spring.schemas + + + META-INF/spring.tooling + + + + false + + diff --git a/src/main/resources/applicationContext-persistenceConnections.xml b/src/main/resources/applicationContext-persistenceConnections.xml index 15204bb3..da28a5d2 100644 --- a/src/main/resources/applicationContext-persistenceConnections.xml +++ b/src/main/resources/applicationContext-persistenceConnections.xml @@ -5,9 +5,9 @@ xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" - http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd - http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd"> + http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd + http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">