pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.qs.mp</groupId>
  7. <artifactId>mp</artifactId>
  8. <version>1.0.0</version>
  9. <name>mp</name>
  10. <url>http://www.quanshu123.com</url>
  11. <description>盲票</description>
  12. <properties>
  13. <mp.version>1.0.0</mp.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  18. <druid.version>1.2.6</druid.version>
  19. <bitwalker.version>1.21</bitwalker.version>
  20. <orika.version>1.5.4</orika.version>
  21. <kaptcha.version>2.3.2</kaptcha.version>
  22. <mybatis-spring-boot.version>2.1.4</mybatis-spring-boot.version>
  23. <pagehelper.boot.version>1.3.1</pagehelper.boot.version>
  24. <fastjson.version>1.2.76</fastjson.version>
  25. <oshi.version>5.8.0</oshi.version>
  26. <jna.version>5.8.0</jna.version>
  27. <commons.io.version>2.11.0</commons.io.version>
  28. <commons.fileupload.version>1.4</commons.fileupload.version>
  29. <commons.collections.version>3.2.2</commons.collections.version>
  30. <poi.version>4.1.2</poi.version>
  31. <velocity.version>1.7</velocity.version>
  32. <jwt.version>0.9.1</jwt.version>
  33. <hutool.version>5.3.1</hutool.version>
  34. <mybatisplus.version>3.4.3.2</mybatisplus.version>
  35. <pulsar.version>2.7.1</pulsar.version>
  36. </properties>
  37. <!-- 依赖声明 -->
  38. <dependencyManagement>
  39. <dependencies>
  40. <!-- SpringBoot的依赖配置-->
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-dependencies</artifactId>
  44. <version>2.5.4</version>
  45. <type>pom</type>
  46. <scope>import</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.mybatis.spring.boot</groupId>
  50. <artifactId>mybatis-spring-boot-starter</artifactId>
  51. <version>2.1.2</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.baomidou</groupId>
  55. <artifactId>mybatis-plus-boot-starter</artifactId>
  56. <version>${mybatisplus.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.baomidou</groupId>
  60. <artifactId>mybatis-plus</artifactId>
  61. <version>${mybatisplus.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.baomidou</groupId>
  65. <artifactId>mybatis-plus-generator</artifactId>
  66. <version>3.4.1</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.alipay.sdk</groupId>
  70. <artifactId>alipay-sdk-java</artifactId>
  71. <version>4.31.12.ALL</version>
  72. </dependency>
  73. <!-- MQ消息中间件-->
  74. <dependency>
  75. <groupId>org.apache.pulsar</groupId>
  76. <artifactId>pulsar-client</artifactId>
  77. <version>${pulsar.version}</version>
  78. </dependency>
  79. <!-- 阿里数据库连接池 -->
  80. <dependency>
  81. <groupId>com.alibaba</groupId>
  82. <artifactId>druid-spring-boot-starter</artifactId>
  83. <version>${druid.version}</version>
  84. </dependency>
  85. <!-- 解析客户端操作系统、浏览器等 -->
  86. <dependency>
  87. <groupId>eu.bitwalker</groupId>
  88. <artifactId>UserAgentUtils</artifactId>
  89. <version>${bitwalker.version}</version>
  90. </dependency>
  91. <!-- SpringBoot集成mybatis框架 -->
  92. <dependency>
  93. <groupId>org.mybatis.spring.boot</groupId>
  94. <artifactId>mybatis-spring-boot-starter</artifactId>
  95. <version>${mybatis-spring-boot.version}</version>
  96. </dependency>
  97. <!-- pagehelper 分页插件 -->
  98. <dependency>
  99. <groupId>com.github.pagehelper</groupId>
  100. <artifactId>pagehelper-spring-boot-starter</artifactId>
  101. <version>${pagehelper.boot.version}</version>
  102. <exclusions>
  103. <exclusion>
  104. <groupId>org.mybatis</groupId>
  105. <artifactId>mybatis</artifactId>
  106. </exclusion>
  107. <exclusion>
  108. <groupId>org.mybatis</groupId>
  109. <artifactId>mybatis-spring</artifactId>
  110. </exclusion>
  111. <exclusion>
  112. <groupId>org.mybatis.spring.boot</groupId>
  113. <artifactId>mybatis-spring-boot-starter</artifactId>
  114. </exclusion>
  115. </exclusions>
  116. </dependency>
  117. <!-- 获取系统信息 -->
  118. <dependency>
  119. <groupId>com.github.oshi</groupId>
  120. <artifactId>oshi-core</artifactId>
  121. <version>${oshi.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>net.java.dev.jna</groupId>
  125. <artifactId>jna</artifactId>
  126. <version>${jna.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>net.java.dev.jna</groupId>
  130. <artifactId>jna-platform</artifactId>
  131. <version>${jna.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>ma.glasnost.orika</groupId>
  135. <artifactId>orika-core</artifactId>
  136. <version>${orika.version}</version>
  137. </dependency>
  138. <!-- io常用工具类 -->
  139. <dependency>
  140. <groupId>commons-io</groupId>
  141. <artifactId>commons-io</artifactId>
  142. <version>${commons.io.version}</version>
  143. </dependency>
  144. <!-- 文件上传工具类 -->
  145. <dependency>
  146. <groupId>commons-fileupload</groupId>
  147. <artifactId>commons-fileupload</artifactId>
  148. <version>${commons.fileupload.version}</version>
  149. </dependency>
  150. <!-- excel工具 -->
  151. <dependency>
  152. <groupId>org.apache.poi</groupId>
  153. <artifactId>poi-ooxml</artifactId>
  154. <version>${poi.version}</version>
  155. </dependency>
  156. <!-- velocity代码生成使用模板 -->
  157. <dependency>
  158. <groupId>org.apache.velocity</groupId>
  159. <artifactId>velocity</artifactId>
  160. <version>${velocity.version}</version>
  161. <exclusions>
  162. <exclusion>
  163. <groupId>commons-collections</groupId>
  164. <artifactId>commons-collections</artifactId>
  165. </exclusion>
  166. </exclusions>
  167. </dependency>
  168. <!-- collections工具类 -->
  169. <dependency>
  170. <groupId>commons-collections</groupId>
  171. <artifactId>commons-collections</artifactId>
  172. <version>${commons.collections.version}</version>
  173. </dependency>
  174. <!-- 阿里JSON解析器 -->
  175. <dependency>
  176. <groupId>com.alibaba</groupId>
  177. <artifactId>fastjson</artifactId>
  178. <version>${fastjson.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.qcloud</groupId>
  182. <artifactId>cos_api</artifactId>
  183. <version>5.6.54</version>
  184. </dependency>
  185. <!-- 短信发送 -->
  186. <dependency>
  187. <groupId>cn.jpush.api</groupId>
  188. <artifactId>jiguang-common</artifactId>
  189. <version>1.0.8</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>cn.jpush.api</groupId>
  193. <artifactId>jsms-client</artifactId>
  194. <version>1.2.9</version>
  195. </dependency>
  196. <!--图片压缩工具 -->
  197. <dependency>
  198. <groupId>net.coobird</groupId>
  199. <artifactId>thumbnailator</artifactId>
  200. <version>0.4.8</version>
  201. </dependency>
  202. <!-- Token生成与解析-->
  203. <dependency>
  204. <groupId>io.jsonwebtoken</groupId>
  205. <artifactId>jjwt</artifactId>
  206. <version>${jwt.version}</version>
  207. </dependency>
  208. <!-- 验证码 -->
  209. <dependency>
  210. <groupId>com.github.penggle</groupId>
  211. <artifactId>kaptcha</artifactId>
  212. <version>${kaptcha.version}</version>
  213. </dependency>
  214. <!-- 定时任务-->
  215. <dependency>
  216. <groupId>com.qs.mp</groupId>
  217. <artifactId>mp-quartz</artifactId>
  218. <version>${mp.version}</version>
  219. </dependency>
  220. <!-- 代码生成-->
  221. <dependency>
  222. <groupId>com.qs.mp</groupId>
  223. <artifactId>mp-generator</artifactId>
  224. <version>${mp.version}</version>
  225. </dependency>
  226. <!-- 核心模块-->
  227. <dependency>
  228. <groupId>com.qs.mp</groupId>
  229. <artifactId>mp-framework</artifactId>
  230. <version>${mp.version}</version>
  231. </dependency>
  232. <!-- 系统模块-->
  233. <dependency>
  234. <groupId>com.qs.mp</groupId>
  235. <artifactId>mp-service</artifactId>
  236. <version>${mp.version}</version>
  237. </dependency>
  238. <!-- 通用工具-->
  239. <dependency>
  240. <groupId>com.qs.mp</groupId>
  241. <artifactId>mp-common</artifactId>
  242. <version>${mp.version}</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>cn.hutool</groupId>
  246. <artifactId>hutool-all</artifactId>
  247. <version>5.8.20</version>
  248. </dependency>
  249. </dependencies>
  250. </dependencyManagement>
  251. <modules>
  252. <module>mp-admin</module>
  253. <module>mp-framework</module>
  254. <module>mp-service</module>
  255. <module>mp-quartz</module>
  256. <module>mp-generator</module>
  257. <module>mp-common</module>
  258. </modules>
  259. <packaging>pom</packaging>
  260. <dependencies>
  261. </dependencies>
  262. <build>
  263. <plugins>
  264. <plugin>
  265. <groupId>org.apache.maven.plugins</groupId>
  266. <artifactId>maven-compiler-plugin</artifactId>
  267. <version>3.1</version>
  268. <configuration>
  269. <source>${java.version}</source>
  270. <target>${java.version}</target>
  271. <encoding>${project.build.sourceEncoding}</encoding>
  272. <compilerArgs>
  273. <arg>-extdirs</arg>
  274. <arg>${project.basedir}/libs/dougong</arg>
  275. </compilerArgs>
  276. </configuration>
  277. </plugin>
  278. <plugin>
  279. <groupId>org.springframework.boot</groupId>
  280. <artifactId>spring-boot-maven-plugin</artifactId>
  281. <configuration>
  282. <!--maven编译时将本地引用的jar包一起打包-->
  283. <includeSystemScope>true</includeSystemScope>
  284. </configuration>
  285. </plugin>
  286. </plugins>
  287. </build>
  288. <repositories>
  289. <repository>
  290. <id>public</id>
  291. <name>aliyun nexus</name>
  292. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  293. <releases>
  294. <enabled>true</enabled>
  295. </releases>
  296. </repository>
  297. </repositories>
  298. <pluginRepositories>
  299. <pluginRepository>
  300. <id>public</id>
  301. <name>aliyun nexus</name>
  302. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  303. <releases>
  304. <enabled>true</enabled>
  305. </releases>
  306. <snapshots>
  307. <enabled>false</enabled>
  308. </snapshots>
  309. </pluginRepository>
  310. </pluginRepositories>
  311. </project>