如何在maven项目中连接dll文件

时间:2016-10-10 14:35:21

标签: java maven intellij-idea dll pom.xml

我正在尝试将现有的intellij idea项目转换为maven项目,并且我很难连接使用库jaybird-jdk17的dll库jaybird22_x64.dll。这是我的pom.xml:

<project xmlns="http://maven.apache.org/POM/4.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 

http://maven.apache.org/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <groupId>com.test</groupId>
  <artifactId>test</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>jar</packaging>

  <name>InstatUpdateService</name>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <dependencies>
    <dependency>
      <groupId>org.firebirdsql.jdbc</groupId>
      <artifactId>jaybird-jdk17</artifactId>
      <version>2.2.9</version>
    </dependency>
  </dependencies>

</project>

有人可以帮忙..如何正确编写块依赖关系来连接dll库?

0 个答案:

没有答案