pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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-keeper-account</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>depot-keeper-account</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.0.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>mysql</groupId>
  35. <artifactId>mysql-connector-java</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-security</artifactId>
  40. </dependency>
  41. <!-- gbase依赖包 -->
  42. <dependency>
  43. <groupId>com.gbase8s</groupId>
  44. <artifactId>ifxjdbc</artifactId>
  45. <version>1.0</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.gbase</groupId>
  49. <artifactId>druid</artifactId>
  50. <version>1.0.28</version>
  51. </dependency>
  52. <!-- 引入spring boot自带的pagehelper插件 -->
  53. <dependency>
  54. <groupId>com.github.pagehelper</groupId>
  55. <artifactId>pagehelper-spring-boot-starter</artifactId>
  56. <version>1.2.3</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.cloud</groupId>
  60. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.cloud</groupId>
  64. <artifactId>spring-cloud-starter-config</artifactId>
  65. </dependency>
  66. <!-- feign -->
  67. <dependency>
  68. <groupId>org.springframework.cloud</groupId>
  69. <artifactId>spring-cloud-starter-openfeign</artifactId>
  70. </dependency>
  71. <!-- hystrix 熔断-->
  72. <dependency>
  73. <groupId>org.springframework.cloud</groupId>
  74. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.commons</groupId>
  78. <artifactId>commons-lang3</artifactId>
  79. </dependency>
  80. <!--添加webservice-->
  81. <dependency>
  82. <groupId>org.apache.cxf</groupId>
  83. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  84. <version>3.2.4</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-web-services</artifactId>
  89. </dependency>
  90. <!-- swagger2 -->
  91. <dependency>
  92. <groupId>io.springfox</groupId>
  93. <artifactId>springfox-swagger2</artifactId>
  94. <version>2.6.1</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>io.springfox</groupId>
  98. <artifactId>springfox-swagger-ui</artifactId>
  99. <version>2.6.1</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-test</artifactId>
  104. <scope>test</scope>
  105. </dependency>
  106. <!--Excel工具-->
  107. <dependency>
  108. <groupId>org.apache.poi</groupId>
  109. <artifactId>poi</artifactId>
  110. <version>3.9</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.poi</groupId>
  114. <artifactId>poi-ooxml</artifactId>
  115. <version>3.9</version>
  116. </dependency>
  117. <!-- 阿里巴巴json -->
  118. <dependency>
  119. <groupId>com.alibaba</groupId>
  120. <artifactId>fastjson</artifactId>
  121. <version>1.2.37</version>
  122. </dependency>
  123. <!-- JSONObject jar包 -->
  124. <dependency>
  125. <groupId>net.sf.json-lib</groupId>
  126. <artifactId>json-lib</artifactId>
  127. <version>2.4</version>
  128. <classifier>jdk15</classifier>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-starter-data-redis</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework.session</groupId>
  136. <artifactId>spring-session-data-redis</artifactId>
  137. </dependency>
  138. <!-- 加载mybatis逆向生成工具包 -->
  139. <dependency>
  140. <groupId>org.mybatis.generator</groupId>
  141. <artifactId>mybatis-generator-core</artifactId>
  142. <!-- 注意版本.这里我使用的是1.3.2 -->
  143. <version>1.3.2</version>
  144. </dependency>
  145. <!-- lombok -->
  146. <dependency>
  147. <groupId>org.projectlombok</groupId>
  148. <artifactId>lombok</artifactId>
  149. <version>1.18.22</version>
  150. <scope>provided</scope>
  151. </dependency>
  152. </dependencies>
  153. <dependencyManagement>
  154. <dependencies>
  155. <dependency>
  156. <groupId>org.springframework.cloud</groupId>
  157. <artifactId>spring-cloud-dependencies</artifactId>
  158. <version>${spring-cloud.version}</version>
  159. <type>pom</type>
  160. <scope>import</scope>
  161. </dependency>
  162. </dependencies>
  163. </dependencyManagement>
  164. <build>
  165. <finalName>${project.artifactId}</finalName>
  166. <plugins>
  167. <plugin>
  168. <groupId>org.springframework.boot</groupId>
  169. <artifactId>spring-boot-maven-plugin</artifactId>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-war-plugin</artifactId>
  174. <version>2.6</version>
  175. <configuration>
  176. <failOnMissingWebXml>false</failOnMissingWebXml>
  177. </configuration>
  178. </plugin>
  179. </plugins>
  180. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  181. <resources>
  182. <resource>
  183. <directory>src/main/java</directory>
  184. <includes>
  185. <include>**/*.properties</include>
  186. <include>**/*.xml</include>
  187. </includes>
  188. <filtering>false</filtering>
  189. </resource>
  190. <resource>
  191. <directory>src/main/resources</directory>
  192. </resource>
  193. </resources>
  194. </build>
  195. <repositories>
  196. <repository>
  197. <id>spring-milestones</id>
  198. <name>Spring Milestones</name>
  199. <url>https://repo.spring.io/milestone</url>
  200. <snapshots>
  201. <enabled>false</enabled>
  202. </snapshots>
  203. </repository>
  204. </repositories>
  205. </project>