Set PATH for YAZ differently and use config yaz.path
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 12 Apr 2013 11:32:26 +0000 (13:32 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 12 Apr 2013 11:32:26 +0000 (13:32 +0200)
For some reason -Djava.library.path does not work.

win32/pom.xml

index fe97eae..b0d93e0 100644 (file)
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
           <forkMode>once</forkMode>
-          <workingDirectory>target</workingDirectory>
-          <argLine>-Djava.library.path="${project.build.directory}"</argLine>
+         <workingDirectory>target</workingDirectory>
+         <environmentVariables>
+           <PATH>${yaz.path}\bin</PATH>
+          </environmentVariables>
         </configuration>
       </plugin>
 
     </plugins>    
   </build>
 </project>