maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6115) Add Jansi native library search path to our start scripts to avoid extraction to temp file on each run
Date Sun, 12 Mar 2017 16:01:04 GMT

    [ https://issues.apache.org/jira/browse/MNG-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906566#comment-15906566
] 

Hudson commented on MNG-6115:
-----------------------------

SUCCESS: Integrated in Jenkins build maven-3.x #1567 (See [https://builds.apache.org/job/maven-3.x/1567/])
[MNG-6115] prevent JAnsi from writing temp native files to lib/ext (hboutemy: [http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=181b0215aa1199e152db9d2c08b1a01436547805])
* (add) apache-maven/src/lib/jansi-native/README.txt
* (edit) apache-maven/src/bin/mvn
* (edit) apache-maven/src/main/assembly/component.xml
* (edit) apache-maven/pom.xml
* (edit) apache-maven/src/bin/mvn.cmd
* (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java


> Add Jansi native library search path to our start scripts to avoid extraction to temp
file on each run
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-6115
>                 URL: https://issues.apache.org/jira/browse/MNG-6115
>             Project: Maven
>          Issue Type: Improvement
>          Components: Bootstrap & Build, Command Line
>            Reporter: Michael Osipov
>            Assignee: Hervé Boutemy
>             Fix For: 3.5.0-alpha-2
>
>
> By default Jansi extracts the native, shared library to temp which results in unnecessary
file I/O and a huge amount of temp files when Maven is run very often. One can avoid that
by adding {{-Dlibrary.jansi.path=$\{MAVEN_HOME\}/lib/ext}} to the start script. The user has
to copy the {{libjansi.so}} or {{jansi.dll}} once and will avoid the overhead.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message