Commit 035691ed01c56eedef58f508f03a4518633a275b

Authored by Lawrence
1 parent 9e012f6e

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

Showing 1 changed file with 13 additions and 3 deletions
... ... @@ -122,9 +122,9 @@
122 122 <dependency>
123 123 <groupId>javax.sip</groupId>
124 124 <artifactId>jain-sip-ri</artifactId>
125   - <version>1.3.0-91</version>
126   - <scope>system</scope>
127   - <systemPath>${basedir}/libs/jain-sip-ri-1.3.0-91.jar</systemPath>
  125 + <version>1.3.0-92</version>
  126 + <!-- <scope>system</scope>
  127 + <systemPath>${project.basedir}/libs/jain-sip-ri-1.3.0-91.jar</systemPath> -->
128 128 </dependency>
129 129 <dependency>
130 130 <groupId>org.dom4j</groupId>
... ... @@ -174,6 +174,16 @@
174 174 <configuration>
175 175 <source>1.8</source>
176 176 <target>1.8</target>
  177 + <webResources>
  178 + <resource>
  179 + <directory>${project.basedir}/libs</directory>
  180 + <targetPath>WEB-INF/lib</targetPath>
  181 + <filtering>true</filtering>
  182 + <includes>
  183 + <include>**/*.jar</include>
  184 + </includes>
  185 + </resource>
  186 + </webResources>
177 187 </configuration>
178 188 </plugin>
179 189  
... ...