Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Users of com.sonatype.sshjgit.core.util.SshKeyUtils#toPublicKey need …
Browse files Browse the repository at this point in the history
…a dependency to slf4j-simple, because #toPublicKey() calls org.apache.sshd.common.util.Buffer#getPublicKey() which requires it.
  • Loading branch information
hugojosefson committed Apr 15, 2010
1 parent 3499a08 commit 447cf18
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Expand Up @@ -15,7 +15,16 @@
import java.util.List;

/**
* Utils related to ssh keys.
* <p>Utils related to ssh keys.</p>
* <p>The {@code toPublicKey} methods need an implementation of slf4j, and one way to give them that is to depend on slf4j-simple in the project where you call these methods from:</p>
* <pre>
* &lt;dependency>
* &lt;groupId>org.slf4j&lt;/groupId>
* &lt;artifactId>slf4j-simple&lt;/artifactId>
* &lt;version>1.4.3&lt;/version>
* &lt;scope>compile&lt;/scope>
* &lt;/dependency>
* </pre>
*
* @author hugo@josefson.org
*/
Expand Down
6 changes: 6 additions & 0 deletions sshjgit-testsupport/pom.xml
Expand Up @@ -34,6 +34,12 @@
<version>4.7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.4.3</version>
<scope>compile</scope>
</dependency>
</dependencies>

</project>

0 comments on commit 447cf18

Please sign in to comment.