pom.xml 11 KB

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