Sign in using Google or Yahoo! id.  

Adding java.library.path to Maven JUnit execution

 Comments Share:   Twitter   Reddit   HackerNews   Facebook 

Add the following:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <configuration>
        <argLine>-Djava.library.path=${basedir}/src/main/webapp/WEB-INF/lib</argLine>
    </configuration>
</plugin>
Posted on August 27, 2010 07:15 AM by Subhash Chandran
maven native java
blog comments powered by Disqus