app: downgrade jsch back to old unmaintaned version for compatibility with jsch-agent-proxy

This commit is contained in:
Adrian Kuschelyagi Malacoda 2020-11-05 04:05:27 -06:00
parent da0eceacea
commit b004320ffe
2 changed files with 12 additions and 1 deletions

View File

@ -16,6 +16,17 @@
<groupId>net.monarchpass</groupId>
<artifactId>libpiecannon</artifactId>
<version>0.0.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>com.github.mwiede</groupId>
<artifactId>jsch</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
<version>0.1.55</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>

View File

@ -24,7 +24,7 @@ public class App {
public static void main (final String... args) throws Exception {
final File serversJson = getServersJson();
final PieCannon cannon = new PieCannon();
//cannon.getServerFactory().setIdentityRepository(createIdentityRepository());
cannon.getServerFactory().setIdentityRepository(createIdentityRepository());
final List<Server> servers = cannon.loadServersFrom(serversJson);
log.log(Level.INFO, "{0} servers loaded from {1}", new Object[] {