pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.anji-plus.sp</groupId>
  7. <artifactId>sp-parent</artifactId>
  8. <version>1.0.0</version>
  9. <name>sp-parent</name>
  10. <packaging>pom</packaging>
  11. <description>移动服务平台</description>
  12. <modules>
  13. <module>sp-common</module>
  14. <module>sp-auth</module>
  15. <module>sp-notice</module>
  16. <module>sp-version</module>
  17. <module>sp-app</module>
  18. <module>sp-push</module>
  19. </modules>
  20. <properties>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <app.sp.version>1.0.0</app.sp.version>
  24. <java.version>1.8</java.version>
  25. <spring.boot.version>2.2.5.RELEASE</spring.boot.version>
  26. <pagehelper.spring.boot.starter.version>1.2.13</pagehelper.spring.boot.starter.version>
  27. <fastjson.version>1.2.70</fastjson.version>
  28. <druid.version>1.1.14</druid.version>
  29. <commons.io.version>2.5</commons.io.version>
  30. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  31. <bitwalker.version>1.19</bitwalker.version>
  32. <jwt.version>0.9.0</jwt.version>
  33. <swagger.version>2.9.2</swagger.version>
  34. <poi.version>3.17</poi.version>
  35. <oshi.version>3.9.1</oshi.version>
  36. <velocity.version>1.7</velocity.version>
  37. <apk.parser.version>2.6.10</apk.parser.version>
  38. <redisson.version>3.6.5</redisson.version>
  39. <mybatis.plus.boot.starter.version>3.3.2</mybatis.plus.boot.starter.version>
  40. </properties>
  41. <dependencyManagement>
  42. <dependencies>
  43. <!-- SpringBoot的依赖配置 -->
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-dependencies</artifactId>
  47. <version>${spring.boot.version}</version>
  48. <type>pom</type>
  49. <scope>import</scope>
  50. </dependency>
  51. </dependencies>
  52. </dependencyManagement>
  53. <dependencies>
  54. <!-- SpringBoot 核心包 -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter</artifactId>
  58. </dependency>
  59. <!-- apk解析包 -->
  60. <dependency>
  61. <groupId>net.dongliu</groupId>
  62. <artifactId>apk-parser</artifactId>
  63. <version>${apk.parser.version}</version>
  64. </dependency>
  65. <!-- 解析客户端操作系统、浏览器等 -->
  66. <dependency>
  67. <groupId>eu.bitwalker</groupId>
  68. <artifactId>UserAgentUtils</artifactId>
  69. <version>${bitwalker.version}</version>
  70. </dependency>
  71. <!-- SpringBoot 测试 -->
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-test</artifactId>
  75. <scope>test</scope>
  76. <exclusions>
  77. <exclusion>
  78. <groupId>org.junit.vintage</groupId>
  79. <artifactId>junit-vintage-engine</artifactId>
  80. </exclusion>
  81. </exclusions>
  82. </dependency>
  83. <!-- 极光推送开始 -->
  84. <dependency>
  85. <groupId>cn.jpush.api</groupId>
  86. <artifactId>jpush-client</artifactId>
  87. <version>3.4.7</version>
  88. </dependency>
  89. <!-- 极光推送结束 -->
  90. <dependency>
  91. <groupId>org.conscrypt</groupId>
  92. <artifactId>conscrypt-openjdk-uber</artifactId>
  93. <version>2.1.0</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.httpcomponents</groupId>
  97. <artifactId>httpclient</artifactId>
  98. <version>4.5.12</version>
  99. </dependency>
  100. <!-- apache common封装好的HttpClient -->
  101. <dependency>
  102. <groupId>commons-httpclient</groupId>
  103. <artifactId>commons-httpclient</artifactId>
  104. <version>3.1</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.httpcomponents</groupId>
  108. <artifactId>httpmime</artifactId>
  109. <version>4.5.12</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.googlecode.json-simple</groupId>
  113. <artifactId>json-simple</artifactId>
  114. <version>1.1.1</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.httpcomponents</groupId>
  118. <artifactId>httpcore</artifactId>
  119. <version>4.4.13</version>
  120. </dependency>
  121. <!-- SpringBoot 拦截器 -->
  122. <dependency>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-starter-aop</artifactId>
  125. </dependency>
  126. <!-- SpringBoot Web容器 -->
  127. <dependency>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-starter-web</artifactId>
  130. </dependency>
  131. <!-- spring security 安全认证 -->
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-security</artifactId>
  135. </dependency>
  136. <!-- redis 缓存操作 -->
  137. <dependency>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-starter-data-redis</artifactId>
  140. </dependency>
  141. <!-- redisson 分布式锁 -->
  142. <dependency>
  143. <groupId>org.redisson</groupId>
  144. <artifactId>redisson</artifactId>
  145. <version>${redisson.version}</version>
  146. </dependency>
  147. <!-- pool 对象池 -->
  148. <dependency>
  149. <groupId>org.apache.commons</groupId>
  150. <artifactId>commons-pool2</artifactId>
  151. </dependency>
  152. <!--常用工具类 -->
  153. <dependency>
  154. <groupId>org.apache.commons</groupId>
  155. <artifactId>commons-lang3</artifactId>
  156. </dependency>
  157. <!-- Mysql驱动包 -->
  158. <dependency>
  159. <groupId>mysql</groupId>
  160. <artifactId>mysql-connector-java</artifactId>
  161. <scope>runtime</scope>
  162. </dependency>
  163. <!-- SpringBoot集成mybatis框架 -->
  164. <dependency>
  165. <groupId>com.baomidou</groupId>
  166. <artifactId>mybatis-plus-boot-starter</artifactId>
  167. <version>${mybatis.plus.boot.starter.version}</version>
  168. </dependency>
  169. <!-- pagehelper 分页插件 -->
  170. <dependency>
  171. <groupId>com.github.pagehelper</groupId>
  172. <artifactId>pagehelper-spring-boot-starter</artifactId>
  173. <version>${pagehelper.spring.boot.starter.version}</version>
  174. </dependency>
  175. <!--阿里数据库连接池 -->
  176. <!-- <dependency> -->
  177. <!-- <groupId>com.alibaba</groupId> -->
  178. <!-- <artifactId>druid-spring-boot-starter</artifactId> -->
  179. <!-- <version>${druid.version}</version> -->
  180. <!-- </dependency> -->
  181. <dependency>
  182. <groupId>com.alibaba</groupId>
  183. <artifactId>druid</artifactId>
  184. <version>1.1.22</version>
  185. </dependency>
  186. <!--io常用工具类 -->
  187. <dependency>
  188. <groupId>commons-io</groupId>
  189. <artifactId>commons-io</artifactId>
  190. <version>${commons.io.version}</version>
  191. </dependency>
  192. <!--文件上传工具类 -->
  193. <dependency>
  194. <groupId>commons-fileupload</groupId>
  195. <artifactId>commons-fileupload</artifactId>
  196. <version>${commons.fileupload.version}</version>
  197. </dependency>
  198. <!-- 阿里JSON解析器 -->
  199. <dependency>
  200. <groupId>com.alibaba</groupId>
  201. <artifactId>fastjson</artifactId>
  202. <version>${fastjson.version}</version>
  203. </dependency>
  204. <!--Spring框架基本的核心工具 -->
  205. <dependency>
  206. <groupId>org.springframework</groupId>
  207. <artifactId>spring-context-support</artifactId>
  208. </dependency>
  209. <!--Token生成与解析 -->
  210. <dependency>
  211. <groupId>io.jsonwebtoken</groupId>
  212. <artifactId>jjwt</artifactId>
  213. <version>${jwt.version}</version>
  214. </dependency>
  215. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本 -->
  216. <dependency>
  217. <groupId>io.swagger</groupId>
  218. <artifactId>swagger-annotations</artifactId>
  219. <version>1.5.21</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>io.swagger</groupId>
  223. <artifactId>swagger-models</artifactId>
  224. <version>1.5.21</version>
  225. </dependency>
  226. <!-- swagger2 -->
  227. <dependency>
  228. <groupId>io.springfox</groupId>
  229. <artifactId>springfox-swagger2</artifactId>
  230. <version>${swagger.version}</version>
  231. <exclusions>
  232. <exclusion>
  233. <groupId>io.swagger</groupId>
  234. <artifactId>swagger-annotations</artifactId>
  235. </exclusion>
  236. <exclusion>
  237. <groupId>io.swagger</groupId>
  238. <artifactId>swagger-models</artifactId>
  239. </exclusion>
  240. </exclusions>
  241. </dependency>
  242. <!-- swagger2-UI -->
  243. <dependency>
  244. <groupId>io.springfox</groupId>
  245. <artifactId>springfox-swagger-ui</artifactId>
  246. <version>${swagger.version}</version>
  247. </dependency>
  248. <!--通过ip查询地址 -->
  249. <dependency>
  250. <groupId>org.lionsoul</groupId>
  251. <artifactId>ip2region</artifactId>
  252. <version>1.7</version>
  253. </dependency>
  254. <!-- lombok -->
  255. <dependency>
  256. <groupId>org.projectlombok</groupId>
  257. <artifactId>lombok</artifactId>
  258. <version>1.18.12</version>
  259. <scope>provided</scope>
  260. </dependency>
  261. <dependency>
  262. <groupId>com.anji-plus</groupId>
  263. <artifactId>spring-boot-starter-captcha</artifactId>
  264. <version>1.2.9</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.springframework.boot</groupId>
  268. <artifactId>spring-boot-starter-amqp</artifactId>
  269. </dependency>
  270. </dependencies>
  271. <profiles>
  272. <profile>
  273. <id>dev</id>
  274. <properties>
  275. <spring.profiles.active>dev</spring.profiles.active>
  276. </properties>
  277. <activation>
  278. <activeByDefault>true</activeByDefault>
  279. </activation>
  280. </profile>
  281. </profiles>
  282. <build>
  283. <pluginManagement>
  284. <plugins>
  285. <plugin>
  286. <groupId>org.springframework.boot</groupId>
  287. <artifactId>spring-boot-maven-plugin</artifactId>
  288. <version>${spring.boot.version}</version>
  289. </plugin>
  290. </plugins>
  291. </pluginManagement>
  292. <plugins>
  293. <plugin>
  294. <groupId>org.apache.maven.plugins</groupId>
  295. <artifactId>maven-compiler-plugin</artifactId>
  296. <version>3.3</version>
  297. <configuration>
  298. <source>1.8</source>
  299. <target>1.8</target>
  300. <encoding>${project.build.sourceEncoding}</encoding>
  301. </configuration>
  302. </plugin>
  303. <plugin>
  304. <groupId>org.apache.maven.plugins</groupId>
  305. <artifactId>maven-resources-plugin</artifactId>
  306. <version>2.4</version>
  307. <configuration>
  308. <encoding>${project.build.sourceEncoding}</encoding>
  309. </configuration>
  310. </plugin>
  311. </plugins>
  312. </build>
  313. </project>