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

Robert Scholte commented on MNG-6115:
-------------------------------------

IMHO it should not be the distribution which get filled with temporary files. 
Instead I suggest to verify if {{lib/ext/libjansi.so}} and/or 
{{lib/ext/jansi.dll}} exist, and only in this case set the 
{{-Dlibrary.jansi.path}}

> Add Jansi native library search path to our start scripts
> ---------------------------------------------------------
>
>                 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-candidate
>
>
> 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)

Reply via email to