编译指向本地依赖库,支持打包成单一jar文件

This commit is contained in:
Lawrence 2020-11-06 12:34:27 +08:00
parent 9e012f6e50
commit 035691ed01

16
pom.xml
View File

@ -122,9 +122,9 @@
<dependency> <dependency>
<groupId>javax.sip</groupId> <groupId>javax.sip</groupId>
<artifactId>jain-sip-ri</artifactId> <artifactId>jain-sip-ri</artifactId>
<version>1.3.0-91</version> <version>1.3.0-92</version>
<scope>system</scope> <!-- <scope>system</scope>
<systemPath>${basedir}/libs/jain-sip-ri-1.3.0-91.jar</systemPath> <systemPath>${project.basedir}/libs/jain-sip-ri-1.3.0-91.jar</systemPath> -->
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.dom4j</groupId> <groupId>org.dom4j</groupId>
@ -174,6 +174,16 @@
<configuration> <configuration>
<source>1.8</source> <source>1.8</source>
<target>1.8</target> <target>1.8</target>
<webResources>
<resource>
<directory>${project.basedir}/libs</directory>
<targetPath>WEB-INF/lib</targetPath>
<filtering>true</filtering>
<includes>
<include>**/*.jar</include>
</includes>
</resource>
</webResources>
</configuration> </configuration>
</plugin> </plugin>