pom.xml 5.7 KB

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