pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <packaging>pom</packaging>
  6. <modules>
  7. <module>crmeb-common</module>
  8. <module>crmeb-service</module>
  9. <module>crmeb-admin</module>
  10. <module>crmeb-front</module>
  11. <module>crmeb-generate</module>
  12. </modules>
  13. <groupId>com.zbkj</groupId>
  14. <artifactId>crmeb</artifactId>
  15. <version>0.0.1-SNAPSHOT</version>
  16. <name>crmeb</name>
  17. <description>Crmeb project for Spring Boot</description>
  18. <properties>
  19. <springboot.version>2.2.6.RELEASE</springboot.version>
  20. <java.version>1.8</java.version>
  21. <springfox.version>2.9.2</springfox.version>
  22. <swagger-models.version>1.5.22</swagger-models.version>
  23. <swagger-bootstrap-ui.version>1.9.3</swagger-bootstrap-ui.version>
  24. <!-- 兼容个别 mav 环境 GBK问题 -->
  25. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  26. <fastjson.version>1.2.56</fastjson.version>
  27. <druid.version>1.1.20</druid.version>
  28. <mysql.version>5.1.24</mysql.version>
  29. <mysql.plus.version>3.3.1</mysql.plus.version>
  30. <weixin-java.version>3.9.0</weixin-java.version>
  31. </properties>
  32. <!-- 依赖声明 -->
  33. <dependencyManagement>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-dependencies</artifactId>
  38. <version>${springboot.version}</version>
  39. <type>pom</type>
  40. <scope>import</scope>
  41. </dependency>
  42. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  43. <dependency>
  44. <groupId>com.alibaba</groupId>
  45. <artifactId>fastjson</artifactId>
  46. <version>${fastjson.version}</version>
  47. </dependency>
  48. <!--添加 Alibaba 数据源-->
  49. <dependency>
  50. <groupId>com.alibaba</groupId>
  51. <artifactId>druid</artifactId>
  52. <version>${druid.version}</version>
  53. </dependency>
  54. <!--访问mysql-->
  55. <!--JDBC-->
  56. <!-- MySql 5.5 Connector -->
  57. <dependency>
  58. <groupId>mysql</groupId>
  59. <artifactId>mysql-connector-java</artifactId>
  60. <version>${mysql.version}</version>
  61. </dependency>
  62. <!--代码自动生成工具-->
  63. <dependency>
  64. <groupId>com.baomidou</groupId>
  65. <artifactId>mybatis-plus-boot-starter</artifactId>
  66. <version>${mysql.plus.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>junit</groupId>
  70. <artifactId>junit</artifactId>
  71. <version>4.12</version>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework</groupId>
  76. <artifactId>spring-test</artifactId>
  77. <version>5.2.5.RELEASE</version>
  78. <scope>compile</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.baomidou</groupId>
  82. <artifactId>mybatis-plus</artifactId>
  83. <version>3.3.1</version>
  84. </dependency>
  85. <!--generator-->
  86. <dependency>
  87. <groupId>com.baomidou</groupId>
  88. <artifactId>mybatis-plus-generator</artifactId>
  89. <version>3.3.1</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>io.swagger</groupId>
  93. <artifactId>swagger-annotations</artifactId>
  94. <version>1.5.21</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>io.swagger</groupId>
  98. <artifactId>swagger-models</artifactId>
  99. <version>1.5.21</version>
  100. </dependency>
  101. <!-- doc -->
  102. <dependency>
  103. <groupId>io.springfox</groupId>
  104. <artifactId>springfox-swagger2</artifactId>
  105. <version>${springfox.version}</version>
  106. <exclusions>
  107. <exclusion>
  108. <groupId>io.swagger</groupId>
  109. <artifactId>swagger-models</artifactId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.github.xiaoymin</groupId>
  115. <artifactId>swagger-bootstrap-ui</artifactId>
  116. <version>${swagger-bootstrap-ui.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>net.logstash.logback</groupId>
  120. <artifactId>logstash-logback-encoder</artifactId>
  121. <version>5.3</version>
  122. </dependency>
  123. <!-- Spring Boot Redis 依赖 -->
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-starter-data-redis</artifactId>
  127. <version>2.2.0.RELEASE</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>redis.clients</groupId>
  131. <artifactId>jedis</artifactId>
  132. <version>3.1.0</version>
  133. </dependency>
  134. <!-- 分页插件 -->
  135. <dependency>
  136. <groupId>com.github.pagehelper</groupId>
  137. <artifactId>pagehelper-spring-boot-starter</artifactId>
  138. <version>1.2.5</version>
  139. <!-- mybatis plus 和 pagehelper 冲突-->
  140. <exclusions>
  141. <exclusion>
  142. <groupId>org.mybatis</groupId>
  143. <artifactId>mybatis</artifactId>
  144. </exclusion>
  145. </exclusions>
  146. </dependency>
  147. <dependency>
  148. <groupId>javax.validation</groupId>
  149. <artifactId>validation-api</artifactId>
  150. <version>1.1.0.Final</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>cn.hutool</groupId>
  154. <artifactId>hutool-all</artifactId>
  155. <version>4.5.7</version>
  156. </dependency>
  157. <!--httpclient-->
  158. <dependency>
  159. <groupId>org.apache.httpcomponents</groupId>
  160. <artifactId>httpclient</artifactId>
  161. <version>4.5.6</version>
  162. </dependency>
  163. <!--字符串操作-->
  164. <dependency>
  165. <groupId>org.apache.commons</groupId>
  166. <artifactId>commons-lang3</artifactId>
  167. <version>3.5</version>
  168. </dependency>
  169. <!--导出excel-->
  170. <dependency>
  171. <groupId>org.apache.poi</groupId>
  172. <artifactId>poi</artifactId>
  173. <version>3.17</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.apache.poi</groupId>
  177. <artifactId>poi-ooxml</artifactId>
  178. <version>3.17</version>
  179. </dependency>
  180. <!-- Apache Commons FileUpload -->
  181. <dependency>
  182. <groupId>commons-fileupload</groupId>
  183. <artifactId>commons-fileupload</artifactId>
  184. <version>1.3.3</version>
  185. </dependency>
  186. <!-- Apache Commons IO -->
  187. <dependency>
  188. <groupId>commons-io</groupId>
  189. <artifactId>commons-io</artifactId>
  190. <version>2.4</version>
  191. </dependency>
  192. <!-- thumbnailator 图片压缩工具 -->
  193. <dependency>
  194. <groupId>net.coobird</groupId>
  195. <artifactId>thumbnailator</artifactId>
  196. <version>0.4.8</version>
  197. </dependency>
  198. <!--阿里云oss上传-->
  199. <dependency>
  200. <groupId>com.aliyun.oss</groupId>
  201. <artifactId>aliyun-sdk-oss</artifactId>
  202. <version>3.5.0</version>
  203. </dependency>
  204. <!--腾讯云COS-->
  205. <dependency>
  206. <groupId>com.qcloud</groupId>
  207. <artifactId>cos_api</artifactId>
  208. <version>5.6.22</version>
  209. </dependency>
  210. <!-- 七牛云 -->
  211. <dependency>
  212. <groupId>com.qiniu</groupId>
  213. <artifactId>qiniu-java-sdk</artifactId>
  214. <version>7.2.28</version>
  215. </dependency>
  216. <!--xml-->
  217. <dependency>
  218. <groupId>dom4j</groupId>
  219. <artifactId>dom4j</artifactId>
  220. <version>1.6.1</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>com.thoughtworks.xstream</groupId>
  224. <artifactId>xstream</artifactId>
  225. <version>1.4.18</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>com.vaadin.external.google</groupId>
  229. <artifactId>android-json</artifactId>
  230. <version>0.0.20131108.vaadin1</version>
  231. <scope>compile</scope>
  232. </dependency>
  233. <!--谷歌二维码-->
  234. <dependency>
  235. <groupId>com.google.zxing</groupId>
  236. <artifactId>core</artifactId>
  237. <version>3.3.3</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>com.google.zxing</groupId>
  241. <artifactId>javase</artifactId>
  242. <version>3.3.3</version>
  243. </dependency>
  244. <!--解析JWT-->
  245. <dependency>
  246. <groupId>io.jsonwebtoken</groupId>
  247. <artifactId>jjwt</artifactId>
  248. <version>0.9.1</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>com.auth0</groupId>
  252. <artifactId>jwks-rsa</artifactId>
  253. <version>0.9.0</version>
  254. </dependency>
  255. <!-- https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java -->
  256. <dependency>
  257. <groupId>com.alipay.sdk</groupId>
  258. <artifactId>alipay-sdk-java</artifactId>
  259. <version>4.15.20.ALL</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>com.github.binarywang</groupId>
  263. <artifactId>weixin-java-miniapp</artifactId>
  264. <version>4.4.0</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>com.github.binarywang</groupId>
  268. <artifactId>weixin-java-pay</artifactId>
  269. <version>${weixin-java.version}</version>
  270. </dependency>
  271. <!-- 京东云存储 -->
  272. <dependency>
  273. <groupId>com.amazonaws</groupId>
  274. <artifactId>aws-java-sdk-s3</artifactId>
  275. <version>1.12.99</version>
  276. </dependency>
  277. <!--Ip解析地址-->
  278. <dependency>
  279. <groupId>org.lionsoul</groupId>
  280. <artifactId>ip2region</artifactId>
  281. <version>2.7.0</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>com.anji-plus</groupId>
  285. <artifactId>spring-boot-starter-captcha</artifactId>
  286. <version>1.3.0</version>
  287. </dependency>
  288. </dependencies>
  289. </dependencyManagement>
  290. <build>
  291. <plugins>
  292. <plugin>
  293. <groupId>org.apache.maven.plugins</groupId>
  294. <artifactId>maven-compiler-plugin</artifactId>
  295. <version>3.6.1</version>
  296. <configuration>
  297. <source>1.8</source>
  298. <target>1.8</target>
  299. <encoding>UTF-8</encoding>
  300. <!-- java8 保留参数名编译参数 -->
  301. <compilerArgument>-parameters</compilerArgument>
  302. <compilerArguments>
  303. <verbose/>
  304. </compilerArguments>
  305. <!-- <failOnMissingWebXml>false</failOnMissingWebXml> -->
  306. </configuration>
  307. </plugin>
  308. </plugins>
  309. <defaultGoal>compile</defaultGoal>
  310. </build>
  311. </project>