pom.xml 7.3 KB

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