From 87f7e57614f58c7a25afbf87a3124d69a176e080 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Mon, 16 Jan 2023 11:45:56 +0100 Subject: [PATCH] Upgrade all plugins to latest version (#740) * Upgrade all plugins to latest version, add enforcer, remove prerequisistes * Update sshd --- jline/pom.xml | 1 - pom.xml | 144 ++++++++++++++---- .../main/java/org/jline/builtins/ssh/Ssh.java | 4 +- 3 files changed, 113 insertions(+), 36 deletions(-) diff --git a/jline/pom.xml b/jline/pom.xml index a9273e95b..c34842e76 100644 --- a/jline/pom.xml +++ b/jline/pom.xml @@ -268,7 +268,6 @@ org.codehaus.mojo build-helper-maven-plugin - 1.12 add-source diff --git a/pom.xml b/pom.xml index 98e273abb..701a49ab9 100644 --- a/pom.xml +++ b/pom.xml @@ -38,7 +38,6 @@ scm:git:git://github.com/jline/jline3.git scm:git:ssh://git@github.com/jline/jline3.git http://github.com/jline/jline3 - jline-parent-3.21.0 @@ -76,34 +75,31 @@ UTF-8 2021-10-19T06:22:24Z + 3.5.0 1.8 1.8 true - 5.9.0 + 5.13.0 2.4.0 1.0.3 - 2.7.0 - 3.3.1 - 4.13.1 - 1.1.4 + 2.9.2 + 5.1.0 + 4.13.2 + 1.1.6 1.1.8 - 1.7.21 + 2.0.6 3.0.2 4.0.7 2.5.1 - 22.1.0 - 20.3.6.1 + 22.3.0 + 21.2.0 - - 3.5.0 - - apache-snapshots @@ -307,6 +303,71 @@ + + org.apache.maven.plugins + maven-clean-plugin + 3.2.0 + + + org.apache.maven.plugins + maven-dependency-plugin + 3.5.0 + + + org.apache.maven.plugins + maven-install-plugin + 3.1.0 + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + org.apache.maven.plugins + maven-release-plugin + 3.0.0-M7 + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + org.apache.maven.plugins + maven-resources-plugin + 3.3.0 + + + org.apache.maven.plugins + maven-site-plugin + 3.9.1 + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M8 + + + org.apache.felix + maven-bundle-plugin + 5.1.8 + + + org.codehaus.mojo + build-helper-maven-plugin + 3.3.0 + + + org.graalvm.nativeimage + native-image-maven-plugin + ${graal.plugin.version} + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.1.0 + org.apache.maven.plugins maven-compiler-plugin @@ -326,7 +387,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.0.0-M1 + 3.0.0 true @@ -335,7 +396,7 @@ com.mycila license-maven-plugin - 3.0 + 4.2.rc3 UTF-8 true @@ -396,7 +457,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.6 + 3.0.1 sign-artifacts @@ -416,6 +477,24 @@ + + + org.codehaus.gmavenplus + gmavenplus-plugin + 1.13.1 + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.4.1 + + + + org.apache.maven.plugins + maven-wrapper-plugin + 3.1.1 + @@ -424,12 +503,26 @@ org.apache.maven.plugins maven-enforcer-plugin 3.1.0 + + + enforce-maven + + enforce + + + + + ${maven.version} + + + + + org.apache.felix maven-bundle-plugin - 5.1.1 *;-noimport:=true @@ -450,25 +543,16 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 - - - - org.codehaus.gmavenplus - gmavenplus-plugin - 1.8.1 org.apache.maven.plugins maven-resources-plugin - 3.2.0 org.apache.maven.plugins maven-jar-plugin - 3.2.0 ${project.build.outputDirectory}/META-INF/MANIFEST.MF @@ -482,7 +566,6 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M5 true ${surefire.argLine} @@ -493,7 +576,6 @@ org.apache.maven.plugins maven-source-plugin - 3.2.1 @@ -517,7 +599,6 @@ org.apache.maven.plugins maven-release-plugin - 3.0.0-M1 true @@ -525,7 +606,6 @@ org.graalvm.nativeimage native-image-maven-plugin - ${graal-maven-plugin.version} @@ -555,7 +635,6 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.2.0 none true @@ -574,7 +653,7 @@ org.apache.commons commons-lang3 - 3.7 + 3.12.0 @@ -595,7 +674,6 @@ org.apache.maven.plugins maven-compiler-plugin - 3.6.0 8 diff --git a/remote-ssh/src/main/java/org/jline/builtins/ssh/Ssh.java b/remote-ssh/src/main/java/org/jline/builtins/ssh/Ssh.java index 53f47ffb8..0b2f49d61 100644 --- a/remote-ssh/src/main/java/org/jline/builtins/ssh/Ssh.java +++ b/remote-ssh/src/main/java/org/jline/builtins/ssh/Ssh.java @@ -24,8 +24,8 @@ import org.apache.sshd.common.channel.PtyMode; import org.apache.sshd.common.config.keys.FilePasswordProvider; import org.apache.sshd.common.session.SessionContext; -import org.apache.sshd.common.util.io.NoCloseInputStream; -import org.apache.sshd.common.util.io.NoCloseOutputStream; +import org.apache.sshd.common.util.io.input.NoCloseInputStream; +import org.apache.sshd.common.util.io.output.NoCloseOutputStream; import org.apache.sshd.scp.server.ScpCommandFactory; import org.apache.sshd.server.SshServer; import org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider;