Skip to content

Commit

Permalink
Bump JNA to v5.13.0 (to fix ssh agent on macos arm, etc)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlauer committed Nov 4, 2024
1 parent c42c027 commit fd3e6db
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
19 changes: 19 additions & 0 deletions blaze-ssh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
</exclusions>
</dependency>

<!-- this pulls in an old JNA, fix it -->
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch.agentproxy.usocket-jna</artifactId>
Expand All @@ -58,8 +59,26 @@
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
</exclusion>
<exclusion>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
</exclusion>
<exclusion>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
</dependency>

<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
</dependency>

<!--
<dependency>
Expand Down
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,18 @@
</exclusions>
</dependency>

<!-- use better JNA version for improved platform support as opposed to what jsch-agentproxy is pulling in -->
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.13.0</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.13.0</version>
</dependency>

<!-- blaze-vagrant dependencies -->
<dependency>
<groupId>com.fizzed</groupId>
Expand Down

0 comments on commit fd3e6db

Please sign in to comment.