mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
Updated Maven (markdown)
48
Maven.md
48
Maven.md
@@ -6,15 +6,7 @@ sshj artifact
|
||||
|
||||
**Releases**
|
||||
|
||||
sshj releases are present in the central maven repository:
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>net.schmizz</groupId>
|
||||
<artifactId>sshj</artifactId>
|
||||
<version>0.8.1</version>
|
||||
</dependency>
|
||||
```
|
||||
sshj releases are present in the central maven repository: <http://mvnrepository.com/artifact/net.schmizz/sshj/>
|
||||
|
||||
**Snapshots**
|
||||
|
||||
@@ -29,15 +21,7 @@ You will need to add the sonatype remote repository if you don't have it:
|
||||
</repositories>
|
||||
```
|
||||
|
||||
And a dependency on a sshj snapshot:
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>net.schmizz</groupId>
|
||||
<artifactId>sshj</artifactId>
|
||||
<version>0.9.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
See <https://oss.sonatype.org/content/repositories/snapshots/net/schmizz/sshj> for available snapshot versions.
|
||||
|
||||
additional dependencies
|
||||
-----------------------
|
||||
@@ -46,33 +30,15 @@ additional dependencies
|
||||
|
||||
[[slf4j|http://slf4j.org]] is a logging facade that sshj depends on. You need to add a slf4j binding and the implementation for that binding. If you don't have strong preferences for some logging framework, try [[logback|http://logback.qos.ch]] which natively implements the slf4j API.
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>1.6.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-core</artifactId>
|
||||
<version>0.9.29</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>0.9.29</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
**Optional**
|
||||
|
||||
Throw in [[BouncyCastle|http://www.bouncycastle.org/java.html]] to be able to read in OpenSSH key files and generally get better crypto.
|
||||
Throw in [[BouncyCastle|http://www.bouncycastle.org/java.html]] to get better crypto.
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk16</artifactId>
|
||||
<version>1.46</version>
|
||||
<artifactId>bcprov-jdk15on</artifactId>
|
||||
<version>1.49/version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@@ -82,6 +48,6 @@ Throw in [[BouncyCastle|http://www.bouncycastle.org/java.html]] to be able to re
|
||||
<dependency>
|
||||
<groupId>com.jcraft</groupId>
|
||||
<artifactId>jzlib</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<version>1.1.2</version>
|
||||
</dependency>
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user