You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2023/07/04 12:06:24 UTC
[camel] 01/02: Upgrade jsch to 0.2.9
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 388ca6985715eed37697c73265d455488f639872
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Jul 4 11:41:14 2023 +0100
Upgrade jsch to 0.2.9
---
camel-dependencies/pom.xml | 2 +-
.../component/file/remote/integration/SftpKeyExchangeProtocolsIT.java | 2 +-
.../camel/component/file/remote/integration/SftpServerHostKeysIT.java | 2 +-
parent/pom.xml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 5ab50319eff..06472011db5 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -267,7 +267,7 @@
<jool-version>0.9.15</jool-version>
<jooq-version>3.18.4</jooq-version>
<joor-version>0.9.14</joor-version>
- <jsch-version>0.2.1</jsch-version>
+ <jsch-version>0.2.9</jsch-version>
<jslt-version>0.1.14</jslt-version>
<jsmpp-version>2.3.11</jsmpp-version>
<json-patch-version>1.13</json-patch-version>
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpKeyExchangeProtocolsIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpKeyExchangeProtocolsIT.java
index a3dac2f1c69..ee1c6e9c95f 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpKeyExchangeProtocolsIT.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpKeyExchangeProtocolsIT.java
@@ -70,7 +70,7 @@ public class SftpKeyExchangeProtocolsIT extends SftpServerTestSupport {
exception = exception.getCause();
}
- MatcherAssert.assertThat(errorMessages, Matchers.hasItem("Algorithm negotiation fail"));
+ MatcherAssert.assertThat(errorMessages, Matchers.hasItem(Matchers.containsString("Algorithm negotiation fail")));
}
@Test
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpServerHostKeysIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpServerHostKeysIT.java
index 698f0251cc1..ff54b79d0d0 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpServerHostKeysIT.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpServerHostKeysIT.java
@@ -46,7 +46,7 @@ public class SftpServerHostKeysIT extends SftpServerTestSupport {
exception = exception.getCause();
}
- MatcherAssert.assertThat(errorMessages, Matchers.hasItem("Algorithm negotiation fail"));
+ MatcherAssert.assertThat(errorMessages, Matchers.hasItem(Matchers.containsString("Algorithm negotiation fail")));
}
@Test
diff --git a/parent/pom.xml b/parent/pom.xml
index 465a5f4309f..a3a51f0e064 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -290,7 +290,7 @@
<johnzon-version>1.2.20</johnzon-version>
<jslt-version>0.1.14</jslt-version>
<jsmpp-version>2.3.11</jsmpp-version>
- <jsch-version>0.2.1</jsch-version>
+ <jsch-version>0.2.9</jsch-version>
<json-api>1.0</json-api>
<jsonassert-version>1.5.1</jsonassert-version>
<json-path-version>2.8.0</json-path-version>