pom-war.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.warewms</groupId>
  6. <artifactId>ams</artifactId>
  7. <version>1.0.0</version>
  8. <packaging>war</packaging>
  9. <description>war包对应的pom,打war包,执行【mvn clean package -f pom-war.xml】</description>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>1.5.10.RELEASE</version>
  14. </parent>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. <mybatisplus.spring.boot.version>1.0.5</mybatisplus.spring.boot.version>
  20. <mybatisplus.version>2.1.9</mybatisplus.version>
  21. <mysql.version>5.1.38</mysql.version>
  22. <druid.version>1.1.3</druid.version>
  23. <quartz.version>2.3.0</quartz.version>
  24. <commons.lang.version>2.6</commons.lang.version>
  25. <commons.fileupload.version>1.3.1</commons.fileupload.version>
  26. <commons.io.version>2.5</commons.io.version>
  27. <commons.codec.version>1.10</commons.codec.version>
  28. <commons.configuration.version>1.10</commons.configuration.version>
  29. <shiro.version>1.3.2</shiro.version>
  30. <jwt.version>0.7.0</jwt.version>
  31. <kaptcha.version>0.0.9</kaptcha.version>
  32. <qiniu.version>[7.2.0, 7.2.99]</qiniu.version>
  33. <aliyun.oss.version>2.5.0</aliyun.oss.version>
  34. <qcloud.cos.version>4.4</qcloud.cos.version>
  35. <swagger.version>2.2.2</swagger.version>
  36. <joda.time.version>2.9.9</joda.time.version>
  37. </properties>
  38. <dependencies>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-test</artifactId>
  42. <scope>test</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-web</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-tomcat</artifactId>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-aop</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework</groupId>
  59. <artifactId>spring-context-support</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-data-redis</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-configuration-processor</artifactId>
  68. <optional>true</optional>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.baomidou</groupId>
  72. <artifactId>mybatisplus-spring-boot-starter</artifactId>
  73. <version>${mybatisplus.spring.boot.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.baomidou</groupId>
  77. <artifactId>mybatis-plus</artifactId>
  78. <version>${mybatisplus.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>mysql</groupId>
  82. <artifactId>mysql-connector-java</artifactId>
  83. <version>${mysql.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>druid-spring-boot-starter</artifactId>
  88. <version>${druid.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.quartz-scheduler</groupId>
  92. <artifactId>quartz</artifactId>
  93. <version>${quartz.version}</version>
  94. <exclusions>
  95. <exclusion>
  96. <groupId>com.mchange</groupId>
  97. <artifactId>c3p0</artifactId>
  98. </exclusion>
  99. </exclusions>
  100. </dependency>
  101. <dependency>
  102. <groupId>commons-lang</groupId>
  103. <artifactId>commons-lang</artifactId>
  104. <version>${commons.lang.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>commons-fileupload</groupId>
  108. <artifactId>commons-fileupload</artifactId>
  109. <version>${commons.fileupload.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>commons-io</groupId>
  113. <artifactId>commons-io</artifactId>
  114. <version>${commons.io.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>commons-codec</groupId>
  118. <artifactId>commons-codec</artifactId>
  119. <version>${commons.codec.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>commons-configuration</groupId>
  123. <artifactId>commons-configuration</artifactId>
  124. <version>${commons.configuration.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.shiro</groupId>
  128. <artifactId>shiro-core</artifactId>
  129. <version>${shiro.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.shiro</groupId>
  133. <artifactId>shiro-spring</artifactId>
  134. <version>${shiro.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>io.jsonwebtoken</groupId>
  138. <artifactId>jjwt</artifactId>
  139. <version>${jwt.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.github.axet</groupId>
  143. <artifactId>kaptcha</artifactId>
  144. <version>${kaptcha.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>io.springfox</groupId>
  148. <artifactId>springfox-swagger2</artifactId>
  149. <version>${swagger.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>io.springfox</groupId>
  153. <artifactId>springfox-swagger-ui</artifactId>
  154. <version>${swagger.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.qiniu</groupId>
  158. <artifactId>qiniu-java-sdk</artifactId>
  159. <version>${qiniu.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.aliyun.oss</groupId>
  163. <artifactId>aliyun-sdk-oss</artifactId>
  164. <version>${aliyun.oss.version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.qcloud</groupId>
  168. <artifactId>cos_api</artifactId>
  169. <version>${qcloud.cos.version}</version>
  170. <exclusions>
  171. <exclusion>
  172. <groupId>org.slf4j</groupId>
  173. <artifactId>slf4j-log4j12</artifactId>
  174. </exclusion>
  175. </exclusions>
  176. </dependency>
  177. <dependency>
  178. <groupId>joda-time</groupId>
  179. <artifactId>joda-time</artifactId>
  180. <version>${joda.time.version}</version>
  181. </dependency>
  182. </dependencies>
  183. <build>
  184. <finalName>${artifactId}</finalName>
  185. <plugins>
  186. <plugin>
  187. <groupId>org.springframework.boot</groupId>
  188. <artifactId>spring-boot-maven-plugin</artifactId>
  189. <configuration>
  190. <fork>true</fork>
  191. </configuration>
  192. </plugin>
  193. <!-- 跳过单元测试 -->
  194. <plugin>
  195. <groupId>org.apache.maven.plugins</groupId>
  196. <artifactId>maven-surefire-plugin</artifactId>
  197. <configuration>
  198. <skipTests>true</skipTests>
  199. </configuration>
  200. </plugin>
  201. </plugins>
  202. </build>
  203. <repositories>
  204. <repository>
  205. <id>public</id>
  206. <name>aliyun nexus</name>
  207. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  208. <releases>
  209. <enabled>true</enabled>
  210. </releases>
  211. </repository>
  212. </repositories>
  213. <pluginRepositories>
  214. <pluginRepository>
  215. <id>public</id>
  216. <name>aliyun nexus</name>
  217. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  218. <releases>
  219. <enabled>true</enabled>
  220. </releases>
  221. <snapshots>
  222. <enabled>false</enabled>
  223. </snapshots>
  224. </pluginRepository>
  225. </pluginRepositories>
  226. </project>