From ab6ff15827226e86529bde182079297c598dcd6f Mon Sep 17 00:00:00 2001
From: Helmi Akermi <70575401+hakermi@users.noreply.github.com>
Date: Wed, 26 Jul 2023 09:46:50 +0100
Subject: [PATCH] feat: Exclude bcprov-jdk15on from wallet packaging -
EXO-59676 - Meeds-io/MIPs#69 (#395)
Prior to this change, bcprov-jdk15on jar is added in wallet packaging as
it's coming as a compiled dependency in org.web3j.utils.
With new feature about the new Argon2IdPasswordEncoder, this dependency
is needed at gatein portal level. So this PR exclude this jar from
compiled scope, so that, if someone uninstall wallet addon, the
bcprov-jdk15on is not removed.
---
wallet-packaging/src/main/assemblies/assembly.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/wallet-packaging/src/main/assemblies/assembly.xml b/wallet-packaging/src/main/assemblies/assembly.xml
index 56b8e96a0..e8ded594d 100644
--- a/wallet-packaging/src/main/assemblies/assembly.xml
+++ b/wallet-packaging/src/main/assemblies/assembly.xml
@@ -40,6 +40,9 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*:*:jar
+
+ org.bouncycastle:bcprov-jdk15on:jar
+
compile
${artifact.artifactId}.${artifact.extension}