[ https://issues.apache.org/jira/browse/MNG-6186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931646#comment-15931646 ]
Hervé Boutemy commented on MNG-6186: ------------------------------------ https://github.com/fusesource/hawtjni/pull/35 created with this enhancement to HawtJNI, we can set {{library.jansi.path=$maven.home/lib/jansi-native}} basically in the shell script and Jansi/HawtJNI will find {{$maven.home/lib/jansi-native/$platform/$library}} (no need to copy paste algorithm in Maven to compute {{$maven.home/lib/jansi-native/$platform}} directory name) > switch to improved HawtJNI > -------------------------- > > Key: MNG-6186 > URL: https://issues.apache.org/jira/browse/MNG-6186 > Project: Maven > Issue Type: Sub-task > Components: Bootstrap & Build, Command Line > Affects Versions: 3.5.0-alpha-2 > Reporter: Hervé Boutemy > Fix For: 3.5.0-candidate > > > calculating the directory where jansi native lib is available required a hack > = copy/paste HawtJNI code > https://git1-us-west.apache.org/repos/asf?p=maven.git;a=blobdiff;f=maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java;h=350fa61c5da633a04fa17c1ed7530096c4ad60ad;hp=b3367c177c91fae32831207ab4a568121da621f0;hb=181b0215aa1199e152db9d2c08b1a01436547805;hpb=809ba34055c70eab31876aad03c577e925fa2e6e > This should become a HawtJNI feature (ie. {{library.jansi.path}} should point > to {{lib/jansi-native}} and HawtJNI should find the right directory the same > way it does it in classpath), then we'll be able to integrate it instead of > hacking -- This message was sent by Atlassian JIRA (v6.3.15#6346)