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