pom.xml 9.4 KB

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