Hello,

In my war project I use java library which requires native dll library. I created following:

<project>
 <modelVersion>4.0.0</modelVersion>
 <groupId>com.domain</groupId>
 <artifactId>libraryx-api</artifactId>
 <packaging>jar</packaging>
 <name>libraryx</name>
 <version>1.0</version>
 <description>libraryx</description>
 <dependencies>
   <dependency>
     <groupId>com.domain</groupId>
     <artifactId>libraryx-native</artifactId>
     <version>1.0</version>
     <type>dll</type>
   </dependency>
 </dependencies>
</project>

<project>
 <modelVersion>4.0.0</modelVersion>
 <groupId>com.hugin</groupId>
 <artifactId>hugin-native</artifactId>
 <packaging>dll</packaging>
 <name>Hugin native library</name>
 <version>6.3</version>
 <description>Hugin native library</description>
</project>

I reference this library in my war project as:
 <dependency>
     <groupId>com.domain</groupId>
     <artifactId>libraryx-api</artifactId>
     <version>1.0</version>
   </dependency>

Is this solution correct? What is the correct way to handle native libraries dependencies?

Best regards,
Piotrek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to