This is an automated email from the ASF dual-hosted git repository. lgoldstein pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit 57d2a6ce22cbab73e7d1aebdf8b1ed570368f82c Author: Lyor Goldstein <lgoldst...@apache.org> AuthorDate: Sun Mar 19 20:34:01 2023 +0200 Replaced jdk15on Bouncycastle artifacts with jdk18on ones --- assembly/pom.xml | 4 ++-- assembly/src/main/components/modules.xml | 2 ++ assembly/src/main/legal/notices.xml | 2 +- pom.xml | 10 +++++----- sshd-common/pom.xml | 4 ++-- sshd-core/pom.xml | 4 ++-- sshd-git/pom.xml | 4 ++-- sshd-openpgp/pom.xml | 11 +++++++++-- sshd-osgi/pom.xml | 4 ++-- sshd-putty/pom.xml | 4 ++-- 10 files changed, 29 insertions(+), 20 deletions(-) diff --git a/assembly/pom.xml b/assembly/pom.xml index 796550137..ee8f931d0 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -114,11 +114,11 @@ </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpg-jdk15on</artifactId> + <artifactId>bcpg-jdk18on</artifactId> </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpkix-jdk15on</artifactId> + <artifactId>bcpkix-jdk18on</artifactId> </dependency> <!-- For ed25519 support --> <dependency> diff --git a/assembly/src/main/components/modules.xml b/assembly/src/main/components/modules.xml index 471aed76a..e7cd907c9 100644 --- a/assembly/src/main/components/modules.xml +++ b/assembly/src/main/components/modules.xml @@ -31,6 +31,7 @@ <exclude>io.projectreactor:*</exclude> <exclude>org.reactivestreams:*</exclude> <exclude>commons-io:commons-io</exclude> + <exclude>org.bouncycastle:*</exclude> <exclude>org.springframework.integration:*</exclude> <exclude>org.eclipse.jgit:*</exclude> <exclude>com.googlecode.javaewah:JavaEWAH</exclude> @@ -62,6 +63,7 @@ <include>org.reactivestreams:*</include> <include>commons-io:commons-io</include> <include>com.googlecode.javaewah:JavaEWAH</include> + <include>org.bouncycastle:*</include> <include>org.c02e.jpgpj:jpgpj</include> </includes> <outputDirectory>dependencies</outputDirectory> diff --git a/assembly/src/main/legal/notices.xml b/assembly/src/main/legal/notices.xml index f6c3fba46..56a566664 100644 --- a/assembly/src/main/legal/notices.xml +++ b/assembly/src/main/legal/notices.xml @@ -21,7 +21,7 @@ <supplement> <project> <groupId>bouncycastle</groupId> - <artifactId>bcprov-jdk15</artifactId> + <artifactId>bcprov-jdk18on</artifactId> <name>Bouncy Castle Crypto APIs for Java</name> <organization> <name>The Legion of the Bouncy Castle</name> diff --git a/pom.xml b/pom.xml index 8b32f1006..f622b8736 100644 --- a/pom.xml +++ b/pom.xml @@ -105,7 +105,7 @@ <min.required.maven.version>3.5.0</min.required.maven.version> <groovy.version>3.0.11</groovy.version> - <bouncycastle.version>1.70</bouncycastle.version> + <bouncycastle.version>1.72</bouncycastle.version> <slf4j.version>1.7.32</slf4j.version> <slf4j.upper.bound>3</slf4j.upper.bound> <logback.version>1.2.11</logback.version> @@ -443,22 +443,22 @@ <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpg-jdk15on</artifactId> + <artifactId>bcpg-jdk18on</artifactId> <version>${bouncycastle.version}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpkix-jdk15on</artifactId> + <artifactId>bcpkix-jdk18on</artifactId> <version>${bouncycastle.version}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcprov-jdk15on</artifactId> + <artifactId>bcprov-jdk18on</artifactId> <version>${bouncycastle.version}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcutil-jdk15on</artifactId> + <artifactId>bcutil-jdk18on</artifactId> <version>${bouncycastle.version}</version> </dependency> diff --git a/sshd-common/pom.xml b/sshd-common/pom.xml index 0c20efb69..3d8c5cac5 100644 --- a/sshd-common/pom.xml +++ b/sshd-common/pom.xml @@ -38,12 +38,12 @@ <dependencies> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpg-jdk15on</artifactId> + <artifactId>bcpg-jdk18on</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpkix-jdk15on</artifactId> + <artifactId>bcpkix-jdk18on</artifactId> <optional>true</optional> </dependency> diff --git a/sshd-core/pom.xml b/sshd-core/pom.xml index c607f783f..e12dff06a 100644 --- a/sshd-core/pom.xml +++ b/sshd-core/pom.xml @@ -50,12 +50,12 @@ <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpg-jdk15on</artifactId> + <artifactId>bcpg-jdk18on</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpkix-jdk15on</artifactId> + <artifactId>bcpkix-jdk18on</artifactId> <optional>true</optional> </dependency> diff --git a/sshd-git/pom.xml b/sshd-git/pom.xml index 11115001e..5cb4b7fad 100644 --- a/sshd-git/pom.xml +++ b/sshd-git/pom.xml @@ -88,12 +88,12 @@ </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpg-jdk15on</artifactId> + <artifactId>bcpg-jdk18on</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpkix-jdk15on</artifactId> + <artifactId>bcpkix-jdk18on</artifactId> <scope>test</scope> </dependency> </dependencies> diff --git a/sshd-openpgp/pom.xml b/sshd-openpgp/pom.xml index 7b2a3bbe2..d764e58bd 100644 --- a/sshd-openpgp/pom.xml +++ b/sshd-openpgp/pom.xml @@ -44,17 +44,24 @@ <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpg-jdk15on</artifactId> + <artifactId>bcpg-jdk18on</artifactId> </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpkix-jdk15on</artifactId> + <artifactId>bcpkix-jdk18on</artifactId> </dependency> <dependency> <groupId>org.c02e.jpgpj</groupId> <artifactId>jpgpj</artifactId> <version>1.3</version> + <exclusions> + <!-- Replaced by the jdk18on equivalent --> + <exclusion> + <groupId>org.bouncycastle</groupId> + <artifactId>bcpg-jdk15on</artifactId> + </exclusion> + </exclusions> </dependency> <!-- test dependencies --> diff --git a/sshd-osgi/pom.xml b/sshd-osgi/pom.xml index feb3716aa..d68a21d88 100644 --- a/sshd-osgi/pom.xml +++ b/sshd-osgi/pom.xml @@ -52,13 +52,13 @@ <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpg-jdk15on</artifactId> + <artifactId>bcpg-jdk18on</artifactId> <optional>true</optional> <scope>provided</scope> </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpkix-jdk15on</artifactId> + <artifactId>bcpkix-jdk18on</artifactId> <optional>true</optional> <scope>provided</scope> </dependency> diff --git a/sshd-putty/pom.xml b/sshd-putty/pom.xml index b79660bba..550009cd7 100644 --- a/sshd-putty/pom.xml +++ b/sshd-putty/pom.xml @@ -44,12 +44,12 @@ <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpg-jdk15on</artifactId> + <artifactId>bcpg-jdk18on</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.bouncycastle</groupId> - <artifactId>bcpkix-jdk15on</artifactId> + <artifactId>bcpkix-jdk18on</artifactId> <optional>true</optional> </dependency>