pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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>com.chinaitop</groupId>
  6. <artifactId>depot-agile</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>depot-agile</name>
  10. <description>Demo project for Spring Boot</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.0.4.RELEASE</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.mybatis.spring.boot</groupId>
  30. <artifactId>mybatis-spring-boot-starter</artifactId>
  31. <version>1.3.1</version>
  32. </dependency>
  33. <!-- gbase依赖包 -->
  34. <dependency>
  35. <groupId>com.gbase8s</groupId>
  36. <artifactId>ifxjdbc</artifactId>
  37. <version>1.0</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.gbase</groupId>
  41. <artifactId>druid</artifactId>
  42. <version>1.0.28</version>
  43. </dependency>
  44. <!-- 引入spring boot自带的pagehelper插件 -->
  45. <dependency>
  46. <groupId>com.github.pagehelper</groupId>
  47. <artifactId>pagehelper-spring-boot-starter</artifactId>
  48. <version>1.2.3</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.cloud</groupId>
  52. <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.cloud</groupId>
  56. <artifactId>spring-cloud-starter-config</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.netflix.servo</groupId>
  60. <artifactId>servo-core</artifactId>
  61. <version>0.12.7</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.commons</groupId>
  65. <artifactId>commons-lang3</artifactId>
  66. </dependency>
  67. <!-- swagger2 -->
  68. <dependency>
  69. <groupId>io.springfox</groupId>
  70. <artifactId>springfox-swagger2</artifactId>
  71. <version>2.6.1</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>io.springfox</groupId>
  75. <artifactId>springfox-swagger-ui</artifactId>
  76. <version>2.6.1</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-test</artifactId>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.poi</groupId>
  85. <artifactId>poi</artifactId>
  86. <version>3.9</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.poi</groupId>
  90. <artifactId>poi-ooxml</artifactId>
  91. <version>3.9</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.google.code.gson</groupId>
  95. <artifactId>gson</artifactId>
  96. <version>2.8.2</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-tomcat</artifactId>
  101. <scope>provided</scope>
  102. </dependency>
  103. <!-- 阿里巴巴json -->
  104. <dependency>
  105. <groupId>com.alibaba</groupId>
  106. <artifactId>fastjson</artifactId>
  107. <version>1.2.37</version>
  108. </dependency>
  109. <!-- 加载mybatis逆向生成工具包 -->
  110. <dependency>
  111. <groupId>org.mybatis.generator</groupId>
  112. <artifactId>mybatis-generator-core</artifactId>
  113. <!-- 注意版本.这里我使用的是1.3.2 -->
  114. <version>1.3.2</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-data-redis</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.session</groupId>
  122. <artifactId>spring-session-data-redis</artifactId>
  123. </dependency>
  124. <!-- feign -->
  125. <dependency>
  126. <groupId>org.springframework.cloud</groupId>
  127. <artifactId>spring-cloud-starter-openfeign</artifactId>
  128. </dependency>
  129. <!-- hystrix 熔断-->
  130. <dependency>
  131. <groupId>org.springframework.cloud</groupId>
  132. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  133. </dependency>
  134. </dependencies>
  135. <dependencyManagement>
  136. <dependencies>
  137. <dependency>
  138. <groupId>org.springframework.cloud</groupId>
  139. <artifactId>spring-cloud-dependencies</artifactId>
  140. <version>${spring-cloud.version}</version>
  141. <type>pom</type>
  142. <scope>import</scope>
  143. </dependency>
  144. </dependencies>
  145. </dependencyManagement>
  146. <build>
  147. <finalName>${project.artifactId}</finalName>
  148. <plugins>
  149. <plugin>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-maven-plugin</artifactId>
  152. </plugin>
  153. <!--<plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-war-plugin</artifactId>
  156. &lt;!&ndash;<version>2.6</version>&ndash;&gt;
  157. <configuration>
  158. <failOnMissingWebXml>false</failOnMissingWebXml>
  159. </configuration>
  160. </plugin>-->
  161. </plugins>
  162. <resources>
  163. <resource>
  164. <directory>src/main/java</directory>
  165. <includes>
  166. <include>**/*.properties</include>
  167. <include>**/*.xml</include>
  168. </includes>
  169. <!-- <filtering>false</filtering>-->
  170. </resource>
  171. <resource>
  172. <directory>src/main/resources</directory>
  173. </resource>
  174. </resources>
  175. </build>
  176. <repositories>
  177. <repository>
  178. <id>spring-milestones</id>
  179. <name>Spring Milestones</name>
  180. <url>https://repo.spring.io/milestone</url>
  181. <snapshots>
  182. <enabled>false</enabled>
  183. </snapshots>
  184. </repository>
  185. </repositories>
  186. </project>