From 4ccae132950432dfa279cf7bd1df84ddf9ec36af 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}