Commit 035691ed01c56eedef58f508f03a4518633a275b
1 parent
9e012f6e
编译指向本地依赖库,支持打包成单一jar文件
Showing
1 changed file
with
13 additions
and
3 deletions
pom.xml
| @@ -122,9 +122,9 @@ | @@ -122,9 +122,9 @@ | ||
| 122 | <dependency> | 122 | <dependency> |
| 123 | <groupId>javax.sip</groupId> | 123 | <groupId>javax.sip</groupId> |
| 124 | <artifactId>jain-sip-ri</artifactId> | 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 | </dependency> | 128 | </dependency> |
| 129 | <dependency> | 129 | <dependency> |
| 130 | <groupId>org.dom4j</groupId> | 130 | <groupId>org.dom4j</groupId> |
| @@ -174,6 +174,16 @@ | @@ -174,6 +174,16 @@ | ||
| 174 | <configuration> | 174 | <configuration> |
| 175 | <source>1.8</source> | 175 | <source>1.8</source> |
| 176 | <target>1.8</target> | 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 | </configuration> | 187 | </configuration> |
| 178 | </plugin> | 188 | </plugin> |
| 179 | 189 |