mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
maven
30
Maven.md
30
Maven.md
@@ -1,5 +1,10 @@
|
|||||||
Releases
|
Maven
|
||||||
=========
|
======
|
||||||
|
|
||||||
|
sshj artifact
|
||||||
|
-------------
|
||||||
|
|
||||||
|
**Releases**
|
||||||
|
|
||||||
sshj releases are present in the central maven repository:
|
sshj releases are present in the central maven repository:
|
||||||
|
|
||||||
@@ -11,8 +16,7 @@ sshj releases are present in the central maven repository:
|
|||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
Snapshots
|
**Snapshots**
|
||||||
==========
|
|
||||||
|
|
||||||
You will need to add the sonatype remote repository if you don't have it:
|
You will need to add the sonatype remote repository if you don't have it:
|
||||||
|
|
||||||
@@ -35,13 +39,12 @@ And a dependency on a sshj snapshot:
|
|||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
Additional dependencies
|
additional dependencies
|
||||||
========================
|
-----------------------
|
||||||
|
|
||||||
Required
|
**Required**
|
||||||
---------
|
|
||||||
|
|
||||||
`slf4j-api` will get pulled in transitively, but 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.
|
[[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
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
@@ -56,10 +59,9 @@ Required
|
|||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
Optional
|
**Optional**
|
||||||
---------
|
|
||||||
|
|
||||||
Throw in BouncyCastle to be able to read in openssh key files and generally get better crypto.
|
Throw in [[BouncyCastle|http://www.bouncycastle.org/java.html]] to be able to read in OpenSSH key files and generally get better crypto.
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
@@ -69,7 +71,7 @@ Throw in BouncyCastle to be able to read in openssh key files and generally get
|
|||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
jzlib if you intend to use zlib compression.
|
[[jzlib|http://www.jcraft.com/jzlib]] if you intend to use zlib compression.
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
@@ -77,4 +79,4 @@ jzlib if you intend to use zlib compression.
|
|||||||
<artifactId>jzlib</artifactId>
|
<artifactId>jzlib</artifactId>
|
||||||
<version>1.0.7</version>
|
<version>1.0.7</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user