pom.xml 7.4 KB

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