pom.xml 7.3 KB

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