pom.xml 6.0 KB

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