pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.12.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.chinaitop</groupId>
  12. <artifactId>depot-system</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <skipTests>true</skipTests>
  18. <spring-cloud.version>Hoxton.SR12</spring-cloud.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.apache.shardingsphere</groupId>
  23. <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
  24. <version>5.1.0</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.cloud</groupId>
  32. <artifactId>spring-cloud-starter-config</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.mybatis.spring.boot</groupId>
  36. <artifactId>mybatis-spring-boot-starter</artifactId>
  37. <version>1.3.2</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.cloud</groupId>
  41. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  42. </dependency>
  43. <!-- 引入spring boot自带的pagehelper插件 -->
  44. <dependency>
  45. <groupId>com.github.pagehelper</groupId>
  46. <artifactId>pagehelper-spring-boot-starter</artifactId>
  47. <version>1.2.3</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.commons</groupId>
  51. <artifactId>commons-lang3</artifactId>
  52. <version>3.7</version>
  53. </dependency>
  54. <!-- https://mvnrepository.com/artifact/org.apache.directory.studio/org.apache.commons.codec -->
  55. <dependency>
  56. <groupId>org.apache.directory.studio</groupId>
  57. <artifactId>org.apache.commons.codec</artifactId>
  58. <version>1.8</version>
  59. </dependency>
  60. <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 -->
  61. <dependency>
  62. <groupId>io.springfox</groupId>
  63. <artifactId>springfox-swagger2</artifactId>
  64. <version>2.9.2</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>io.springfox</groupId>
  68. <artifactId>springfox-swagger-ui</artifactId>
  69. <version>2.9.2</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>mysql</groupId>
  73. <artifactId>mysql-connector-java</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-test</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-data-redis</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.session</groupId>
  86. <artifactId>spring-session-data-redis</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.httpcomponents</groupId>
  90. <artifactId>httpcore</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.httpcomponents</groupId>
  94. <artifactId>httpclient</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.google.code.gson</groupId>
  98. <artifactId>gson</artifactId>
  99. </dependency>
  100. <!-- sftp上传依赖包 -->
  101. <dependency>
  102. <groupId>com.jcraft</groupId>
  103. <artifactId>jsch</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.commons</groupId>
  107. <artifactId>commons-io</artifactId>
  108. <version>1.3.2</version>
  109. </dependency>
  110. <!-- 阿里巴巴json -->
  111. <dependency>
  112. <groupId>com.alibaba</groupId>
  113. <artifactId>fastjson</artifactId>
  114. <version>1.2.37</version>
  115. </dependency>
  116. <!-- 加载mybatis逆向生成工具包 -->
  117. <dependency>
  118. <groupId>org.mybatis.generator</groupId>
  119. <artifactId>mybatis-generator-core</artifactId>
  120. <!-- 注意版本.这里我使用的是1.3.2 -->
  121. <version>1.3.2</version>
  122. </dependency>
  123. <!-- feign -->
  124. <dependency>
  125. <groupId>org.springframework.cloud</groupId>
  126. <artifactId>spring-cloud-starter-openfeign</artifactId>
  127. </dependency>
  128. </dependencies>
  129. <dependencyManagement>
  130. <dependencies>
  131. <dependency>
  132. <groupId>org.springframework.cloud</groupId>
  133. <artifactId>spring-cloud-dependencies</artifactId>
  134. <version>${spring-cloud.version}</version>
  135. <type>pom</type>
  136. <scope>import</scope>
  137. </dependency>
  138. </dependencies>
  139. </dependencyManagement>
  140. <build>
  141. <finalName>${project.artifactId}</finalName>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-maven-plugin</artifactId>
  146. </plugin>
  147. </plugins>
  148. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  149. <resources>
  150. <resource>
  151. <directory>src/main/java</directory>
  152. <includes>
  153. <include>**/*.properties</include>
  154. <include>**/*.xml</include>
  155. </includes>
  156. <filtering>false</filtering>
  157. </resource>
  158. <resource>
  159. <directory>src/main/resources</directory>
  160. </resource>
  161. </resources>
  162. </build>
  163. <repositories>
  164. <repository>
  165. <id>spring-milestones</id>
  166. <name>Spring Milestones</name>
  167. <url>https://repo.spring.io/milestone</url>
  168. </repository>
  169. </repositories>
  170. </project>