Skip to content

Commit

Permalink
[#3547] Fix native build of CLI
Browse files Browse the repository at this point in the history
Added missing JNA library required for determining terminal type during
runtime.

See jline/jline3#818
  • Loading branch information
sophokles73 committed Oct 11, 2023
1 parent 208fd67 commit a0aa010
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@
<artifactId>picocli-shell-jline3</artifactId>
<version>4.7.4</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
</dependency>
<dependency>
<groupId>org.fusesource.jansi</groupId>
<artifactId>jansi</artifactId>
Expand Down Expand Up @@ -179,6 +183,7 @@
<!-- include all JSSE related classes -->
<quarkus.native.enable-all-security-services>true</quarkus.native.enable-all-security-services>
<quarkus.native.resources.includes>hono-cli-build.properties</quarkus.native.resources.includes>
<quarkus.native.additional-build-args>--initialize-at-run-time=org.jline.nativ.JLineLibrary</quarkus.native.additional-build-args>
</properties>
</profile>
</profiles>
Expand Down

0 comments on commit a0aa010

Please sign in to comment.