0458179597
Each user can have a set of authorized keys for public key authentication. This is better to support as it lets us use different algorithms and not just RSA. In the age of security, it's good to have variety. I also added additional libraries to support ed25519-based public keys. I updated the SSH libraries so any upstream bug fixes are applied, fixed some warnings and a few other things.
171 lines
5.2 KiB
XML
171 lines
5.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.ryanmichela</groupId>
|
|
<artifactId>sshd</artifactId>
|
|
<version>1.3.4.2</version>
|
|
<url>https://github.com/Justasic/Bukkit-SSHD/</url>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<!-- Repositories -->
|
|
<repositories>
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<!-- License -->
|
|
<licenses>
|
|
<license>
|
|
<name>GPL2</name>
|
|
<url>http://www.gnu.org/licenses/gpl-2.0.html</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<!-- Dependencies -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.bukkit</groupId>
|
|
<artifactId>bukkit</artifactId>
|
|
<version>1.14.4-R0.1-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.sshd</groupId>
|
|
<artifactId>sshd-core</artifactId>
|
|
<version>2.3.0</version>
|
|
<scope>compile</scope>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.sshd</groupId>
|
|
<artifactId>sshd-mina</artifactId>
|
|
<version>2.3.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.sshd</groupId>
|
|
<artifactId>sshd-common</artifactId>
|
|
<version>2.3.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.sshd</groupId>
|
|
<artifactId>sshd-sftp</artifactId>
|
|
<version>2.3.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.i2p.crypto</groupId>
|
|
<artifactId>eddsa</artifactId>
|
|
<version>0.3.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.mina</groupId>
|
|
<artifactId>mina-core</artifactId>
|
|
<version>2.1.3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>1.7.28</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
<version>1.7.28</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>jline</groupId>
|
|
<artifactId>jline</artifactId>
|
|
<version>2.12.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>2.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
<version>2.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>1.10</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<!-- Build -->
|
|
<build>
|
|
<defaultGoal>clean package</defaultGoal>
|
|
|
|
<resources>
|
|
<resource>
|
|
<targetPath>.</targetPath>
|
|
<filtering>true</filtering>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<include>plugin.yml</include>
|
|
<include>config.yml</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<finalName>${project.name}-${project.version}</finalName>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Compile plugin -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.7.0</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<showDeprecation>true</showDeprecation>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<packaging>jar</packaging>
|
|
</project> |