maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander <a...@j2anywhere.com>
Subject Re: Setting java.library.path in surefire/maven/netbeans
Date Tue, 22 Jul 2014 23:29:33 GMT
Could you post you pom please, just so I can compare. Also did you see
the updated setting in the sure-fire report ?


On 22/07/14 20:51, Arnaud bourree wrote:
> I used <argLine>-Djava.library.path=...</argLine> without issue with
> Netbeans 8 and Surefire 2.17
>
> Arnaud
>
>
> 2014-07-21 22:03 GMT+02:00 Alexander <alex@j2anywhere.com>:
>
>> I would like to test my JAI enabled application, but seem to be getting
>> errors when accessing the JAI components. I suspect this is caused by the
>> absence of native support. I tried setting the java.library.path using
>> systemProperties as well as argLine, however none of these options result
>> in the change appearing in the surefire report.
>>
>> pom.xml
>> -------
>>       <plugin>
>>         <groupId>org.apache.maven.plugins</groupId>
>>         <artifactId>maven-surefire-plugin</artifactId>
>>         <version>2.17</version>
>>         <configuration>
>>           <argLine>-Djava.library.path=/usr/lib64/sun-jai-bin/</argLine>
>>         </configuration>
>>       </plugin>
>>
>> surefire-report
>> ===============
>>     <property name="java.library.path"
>>
>> value="/opt/oracle-jdk-bin-1.8.0.11/jre/lib/amd64:/opt/oracle-jdk-bin-1.8.0.11/jre/lib/i386::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
>>
>> I am using netbeans (v8) and surefire 2.17.
>>
>> Thanks
>> Alex
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message