|
@@ -7,6 +7,7 @@
|
|
|
<groupId>AppInterface_jian</groupId>
|
|
|
<artifactId>AppInterface_jian</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
+ <packaging>war</packaging>
|
|
|
|
|
|
<properties>
|
|
|
<java.version>1.8</java.version>
|
|
@@ -51,6 +52,15 @@
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
<version>2.4</version>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>ceshi</groupId>
|
|
|
+ <artifactId>UserAgentUtils</artifactId>
|
|
|
+ <version>1.13</version>
|
|
|
+ <scope>system</scope>
|
|
|
+ <systemPath>${basedir}/src/main/resources/lib/UserAgentUtils-1.13.jar</systemPath>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
</dependencies>
|
|
|
<build>
|
|
|
<plugins>
|
|
@@ -68,6 +78,21 @@
|
|
|
<encoding>UTF-8</encoding>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-war-plugin</artifactId> --> 这个是需要引入的打war包的jar
|
|
|
+ <configuration>
|
|
|
+ <webResources>
|
|
|
+ <resource>
|
|
|
+ <directory>${basedir}/src/main/resources/lib</directory> --> 这个是需要打的jar地址
|
|
|
+ <targetPath>WEB-INF/lib/</targetPath> --> 这个是打的jar放的地址一般都是这个
|
|
|
+ <includes>
|
|
|
+ <include>**/*.jar</include> --> 路径下所有jar全部打包过去
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ </webResources>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</project>
|