pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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>cn.bs</groupId>
  6. <artifactId>bs-manage</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>bs-manage</name>
  9. <packaging>pom</packaging>
  10. <description>Demo project for Spring Boot</description>
  11. <modules>
  12. <module>bsmanage-common</module>
  13. <module>bsmanage-basic</module>
  14. <module>bsmanage-permissions</module>
  15. </modules>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>1.8</java.version>
  20. <spring-boot.version>2.0.2.RELEASE</spring-boot.version>
  21. <spring-cloud.version>Finchley.M9</spring-cloud.version>
  22. <docker.imageName>msg-consumer</docker.imageName>
  23. </properties>
  24. <dependencyManagement>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-parent</artifactId>
  29. <version>${spring-boot.version}</version>
  30. <type>pom</type>
  31. <scope>import</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-dependencies</artifactId>
  36. <version>${spring-cloud.version}</version>
  37. <type>pom</type>
  38. <scope>import</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.alibaba</groupId>
  42. <artifactId>fastjson</artifactId>
  43. <version>1.2.62</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mybatis.spring.boot</groupId>
  47. <artifactId>mybatis-spring-boot-starter</artifactId>
  48. <version>1.3.2</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.google.code.gson</groupId>
  52. <artifactId>gson</artifactId>
  53. <version>2.8.4</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>commons-io</groupId>
  57. <artifactId>commons-io</artifactId>
  58. <version>2.4</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>commons-fileupload</groupId>
  62. <artifactId>commons-fileupload</artifactId>
  63. <version>1.3</version>
  64. </dependency>
  65. <!--FastDFS-->
  66. <dependency>
  67. <groupId>org.csource</groupId>
  68. <artifactId>fastdfs-client-java</artifactId>
  69. <version>1.27</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.json.lib.2.4.jdk15</groupId>
  73. <artifactId>json-lib-2.4-jdk15</artifactId>
  74. <version>2.4</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.commons</groupId>
  78. <artifactId>commons-lang3</artifactId>
  79. <version>3.1</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.auth0</groupId>
  83. <artifactId>java-jwt</artifactId>
  84. <version>3.4.0</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>redis.clients</groupId>
  88. <artifactId>jedis</artifactId>
  89. <version>2.9.0</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-data-redis</artifactId>
  94. <version>2.0.2.RELEASE</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>commons-httpclient</groupId>
  98. <artifactId>commons-httpclient</artifactId>
  99. <version>3.1</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-redis</artifactId>
  104. <version>1.4.7.RELEASE</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.googlecode.libphonenumber</groupId>
  108. <artifactId>geocoder</artifactId>
  109. <version>2.15</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.googlecode.libphonenumber</groupId>
  113. <artifactId>libphonenumber</artifactId>
  114. <version>6.3</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.googlecode.libphonenumber</groupId>
  118. <artifactId>prefixmapper</artifactId>
  119. <version>2.15</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.googlecode.libphonenumber</groupId>
  123. <artifactId>carrier</artifactId>
  124. <version>1.5</version>
  125. </dependency>
  126. <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  127. <dependency>
  128. <groupId>org.jsoup</groupId>
  129. <artifactId>jsoup</artifactId>
  130. <version>1.7.2</version>
  131. </dependency>
  132. <!-- xxl-job-core -->
  133. <dependency>
  134. <groupId>com.xuxueli</groupId>
  135. <artifactId>xxl-job-core</artifactId>
  136. <version>1.9.1</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.squareup.okhttp3</groupId>
  140. <artifactId>okhttp</artifactId>
  141. <version>3.11.0</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>commons-collections</groupId>
  145. <artifactId>commons-collections</artifactId>
  146. <version>3.2.1</version>
  147. </dependency>
  148. <!-- https://mvnrepository.com/artifact/com.sun.mail/javax.mail -->
  149. <dependency>
  150. <groupId>com.sun.mail</groupId>
  151. <artifactId>javax.mail</artifactId>
  152. <version>1.6.2</version>
  153. </dependency>
  154. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  155. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  156. <dependency>
  157. <groupId>org.apache.poi</groupId>
  158. <artifactId>poi</artifactId>
  159. <version>3.8</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.alipay.sdk</groupId>
  163. <artifactId>alipay-sdk-java</artifactId>
  164. <version>3.6.0.ALL</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.jfinal</groupId>
  168. <artifactId>jfinal-weixin</artifactId>
  169. <version>1.9</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.google.zxing</groupId>
  173. <artifactId>core</artifactId>
  174. <version>3.2.1</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.google.zxing</groupId>
  178. <artifactId>javase</artifactId>
  179. <version>3.2.1</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.jfinal</groupId>
  183. <artifactId>jfinal</artifactId>
  184. <version>3.2</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.jdom</groupId>
  188. <artifactId>jdom</artifactId>
  189. <version>1.1.3</version>
  190. </dependency>
  191. <!-- 日期操作尽量用joda库。SimpleDateFormat有同步问题,commons-lang里的api又不好用 -->
  192. <dependency>
  193. <groupId>joda-time</groupId>
  194. <artifactId>joda-time</artifactId>
  195. <version>2.2</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.github.pagehelper</groupId>
  199. <artifactId>pagehelper-spring-boot-starter</artifactId>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.apache.httpcomponents</groupId>
  203. <artifactId>httpclient</artifactId>
  204. <version>4.3</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.apache.httpcomponents</groupId>
  208. <artifactId>httpmime</artifactId>
  209. <version>4.3</version>
  210. </dependency>
  211. <!-- 获取UserAgent请求头信息解析 -->
  212. <dependency>
  213. <groupId>eu.bitwalker</groupId>
  214. <artifactId>UserAgentUtils</artifactId>
  215. <version>1.21</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.apache.httpcomponents</groupId>
  219. <artifactId>httpclient</artifactId>
  220. <version>4.3</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>com.squareup.okhttp3</groupId>
  224. <artifactId>okhttp</artifactId>
  225. <version>3.11.0</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>joda-time</groupId>
  229. <artifactId>joda-time</artifactId>
  230. <version>2.2</version>
  231. </dependency>
  232. </dependencies>
  233. </dependencyManagement>
  234. <build>
  235. <pluginManagement>
  236. <plugins>
  237. <plugin>
  238. <groupId>org.mybatis.generator</groupId>
  239. <artifactId>mybatis-generator-maven-plugin</artifactId>
  240. <version>1.3.5</version>
  241. <!-- 添加一个mysql的依赖,防止等会找不到driverClass -->
  242. <dependencies>
  243. <dependency>
  244. <groupId>mysql</groupId>
  245. <artifactId>mysql-connector-java</artifactId>
  246. <version>5.1.46</version>
  247. <scope>runtime</scope>
  248. </dependency>
  249. </dependencies>
  250. <!-- mybatisGenerator 的配置 -->
  251. <configuration>
  252. <!-- generator 工具配置文件的位置 -->
  253. <configurationFile>src/main/resources/generatorConfig.xml</configurationFile>
  254. <!-- 是否覆盖 -->
  255. <!-- 此处要特别注意,如果不加这个设置会导致每次运行都会在原目录再次创建-->
  256. <overwrite>true</overwrite>
  257. </configuration>
  258. </plugin>
  259. <plugin>
  260. <groupId>org.springframework.boot</groupId>
  261. <artifactId>spring-boot-maven-plugin</artifactId>
  262. </plugin>
  263. </plugins>
  264. </pluginManagement>
  265. </build>
  266. <repositories>
  267. <repository>
  268. <id>spring-snapshots</id>
  269. <name>Spring Snapshots</name>
  270. <url>https://repo.spring.io/snapshot</url>
  271. <snapshots>
  272. <enabled>true</enabled>
  273. </snapshots>
  274. </repository>
  275. <repository>
  276. <id>spring-milestones</id>
  277. <name>Spring Milestones</name>
  278. <url>https://repo.spring.io/milestone</url>
  279. <snapshots>
  280. <enabled>false</enabled>
  281. </snapshots>
  282. </repository>
  283. </repositories>
  284. </project>