pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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.tokheim</groupId>
  7. <artifactId>tms-middleware</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <!--配置全局-->
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.2.4.RELEASE</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <modules>
  18. <module>middlerware-server</module>
  19. <module>midddlerware-client</module>
  20. <module>middleware-client-jiangxi</module>
  21. <module>middleware-client-screen</module>
  22. <module>middleware-server-jiangxi</module>
  23. <module>sgs-middleware</module>
  24. <module>sgs-middleware-v2</module>
  25. <module>sgs-middleware-v3</module>
  26. </modules>
  27. <properties>
  28. <java.version>1.8</java.version>
  29. <springboot.version>2.2.4.RELEASE</springboot.version>
  30. <spring.version>2.2.4.RELEASE</spring.version>
  31. <swagger2.version>2.7.0</swagger2.version>
  32. <lombok.version>1.16.20</lombok.version>
  33. <httpclient.version>4.5.3</httpclient.version>
  34. <mybatis.version>3.4.1</mybatis.version>
  35. <mybatis.spring.version>1.3.1</mybatis.spring.version>
  36. <mapper.version>2.0.0</mapper.version>
  37. <mybatis.paginator.version>1.2.15</mybatis.paginator.version>
  38. <mysql.version>5.1.38</mysql.version>
  39. <mariadb.version>2.1.2</mariadb.version>
  40. <druid.version>1.1.10</druid.version>
  41. <spring-boot-druid.version>1.1.10</spring-boot-druid.version>
  42. <!--ali-fastjson-->
  43. <fastjson.version>1.2.7</fastjson.version>
  44. <pagehelper.version>5.0.0</pagehelper.version>
  45. <!--mybatis-springboot-->
  46. <mybatis-spring-boot>1.3.1</mybatis-spring-boot>
  47. <alipay.version>3.0.0</alipay.version>
  48. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  49. <fastdfs.version>1.25-RELEASE</fastdfs.version>
  50. <spring.redis>2.1.5.RELEASE</spring.redis>
  51. <spring.redis.client>3.0.1</spring.redis.client>
  52. <hutool.version>5.6.6</hutool.version>
  53. </properties>
  54. <!-- 依赖管理配置(用于锁定指定版本) -->
  55. <dependencyManagement>
  56. <dependencies>
  57. <!--spring-boot-starter-parent-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-parent</artifactId>
  61. <version>${springboot.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-web</artifactId>
  66. <version>${spring.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-test</artifactId>
  71. <version>${spring.version}</version>
  72. <scope>test</scope>
  73. <exclusions>
  74. <exclusion>
  75. <groupId>org.junit.vintage</groupId>
  76. <artifactId>junit-vintage-engine</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>
  80. <!--lombok-->
  81. <dependency>
  82. <groupId>org.projectlombok</groupId>
  83. <artifactId>lombok</artifactId>
  84. <version>${lombok.version}</version>
  85. <scope>provided</scope>
  86. </dependency>
  87. <!--接口文档swagger-->
  88. <dependency>
  89. <groupId>io.springfox</groupId>
  90. <artifactId>springfox-swagger2</artifactId>
  91. <version>${swagger2.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>io.springfox</groupId>
  95. <artifactId>springfox-swagger-ui</artifactId>
  96. <version>${swagger2.version}</version>
  97. </dependency>
  98. <!-- 引入SpringBoot swagger2 起步依赖包 -->
  99. <dependency>
  100. <groupId>com.spring4all</groupId>
  101. <artifactId>swagger-spring-boot-starter</artifactId>
  102. <version>1.9.1.RELEASE</version>
  103. </dependency>
  104. <!-- httpclient -->
  105. <dependency>
  106. <groupId>org.apache.httpcomponents</groupId>
  107. <artifactId>httpclient</artifactId>
  108. <version>${httpclient.version}</version>
  109. </dependency>
  110. <!-- mybatis -->
  111. <dependency>
  112. <groupId>org.mybatis</groupId>
  113. <artifactId>mybatis</artifactId>
  114. <version>${mybatis.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.mybatis</groupId>
  118. <artifactId>mybatis-spring</artifactId>
  119. <version>${mybatis.spring.version}</version>
  120. </dependency>
  121. <!-- 通用Mapper -->
  122. <dependency>
  123. <groupId>tk.mybatis</groupId>
  124. <artifactId>mapper-spring-boot-starter</artifactId>
  125. <version>${mapper.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.github.miemiedev</groupId>
  129. <artifactId>mybatis-paginator</artifactId>
  130. <version>${mybatis.paginator.version}</version>
  131. </dependency>
  132. <!-- mysql -->
  133. <dependency>
  134. <groupId>mysql</groupId>
  135. <artifactId>mysql-connector-java</artifactId>
  136. <version>${mysql.version}</version>
  137. </dependency>
  138. <!-- druid连接池 -->
  139. <dependency>
  140. <groupId>com.alibaba</groupId>
  141. <artifactId>druid</artifactId>
  142. <version>${druid.version}</version>
  143. </dependency>
  144. <!--阿里数据库连接池 -->
  145. <dependency>
  146. <groupId>com.alibaba</groupId>
  147. <artifactId>druid-spring-boot-starter</artifactId>
  148. <version>${spring-boot-druid.version}</version>
  149. </dependency>
  150. <!-- https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client -->
  151. <dependency>
  152. <groupId>org.mariadb.jdbc</groupId>
  153. <artifactId>mariadb-java-client</artifactId>
  154. <version>${mariadb.version}</version>
  155. </dependency>
  156. <!--ali-fastjson-->
  157. <dependency>
  158. <groupId>com.alibaba</groupId>
  159. <artifactId>fastjson</artifactId>
  160. <version>${fastjson.version}</version>
  161. </dependency>
  162. <!--分页插件-->
  163. <dependency>
  164. <groupId>com.github.pagehelper</groupId>
  165. <artifactId>pagehelper</artifactId>
  166. <version>${pagehelper.version}</version>
  167. </dependency>
  168. <!--mybatis-springboot-->
  169. <dependency>
  170. <groupId>org.mybatis.spring.boot</groupId>
  171. <artifactId>mybatis-spring-boot-starter</artifactId>
  172. <version>${mybatis-spring-boot}</version>
  173. </dependency>
  174. <!-- https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java -->
  175. <dependency>
  176. <groupId>com.alipay.sdk</groupId>
  177. <artifactId>alipay-sdk-java</artifactId>
  178. <version>${alipay.version}</version>
  179. </dependency>
  180. <!-- 文件上传组件 -->
  181. <dependency>
  182. <groupId>commons-fileupload</groupId>
  183. <artifactId>commons-fileupload</artifactId>
  184. <version>${commons-fileupload.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.csource</groupId>
  188. <artifactId>fastdfs-client</artifactId>
  189. <version>${fastdfs.version}</version>
  190. </dependency>
  191. <!--spring securiy-->
  192. <dependency>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-starter-security</artifactId>
  195. <version>${springboot.version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.springframework.security.oauth</groupId>
  199. <artifactId>spring-security-oauth2</artifactId>
  200. <version>${springboot.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.springframework.boot</groupId>
  204. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  205. <version>${springboot.version}</version>
  206. </dependency>
  207. <!--redis -->
  208. <dependency>
  209. <groupId>org.springframework.boot</groupId>
  210. <artifactId>spring-boot-starter-data-redis</artifactId>
  211. <version>${spring.redis}</version>
  212. </dependency>
  213. <!--redis client-->
  214. <dependency>
  215. <groupId>redis.clients</groupId>
  216. <artifactId>jedis</artifactId>
  217. <version>${spring.redis.client}</version>
  218. </dependency>
  219. <!-- Java工具类库 https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  220. <dependency>
  221. <groupId>cn.hutool</groupId>
  222. <artifactId>hutool-all</artifactId>
  223. <version>${hutool.version}</version>
  224. </dependency>
  225. </dependencies>
  226. </dependencyManagement>
  227. <build>
  228. <plugins>
  229. <plugin>
  230. <groupId>org.apache.maven.plugins</groupId>
  231. <artifactId>maven-compiler-plugin</artifactId>
  232. <configuration>
  233. <source>1.8</source>
  234. <target>1.8</target>
  235. </configuration>
  236. </plugin>
  237. <plugin>
  238. <groupId>org.springframework.boot</groupId>
  239. <artifactId>spring-boot-maven-plugin</artifactId>
  240. <executions>
  241. <execution>
  242. <goals>
  243. <goal>repackage</goal>
  244. </goals>
  245. </execution>
  246. </executions>
  247. </plugin>
  248. </plugins>
  249. </build>
  250. </project>