pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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-basic</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>depot-basic</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. </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.mybatis.spring.boot</groupId>
  34. <artifactId>mybatis-spring-boot-starter</artifactId>
  35. <version>1.3.2</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.cloud</groupId>
  39. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-security</artifactId>
  44. </dependency>
  45. <!-- 引入spring boot自带的pagehelper插件 -->
  46. <dependency>
  47. <groupId>com.github.pagehelper</groupId>
  48. <artifactId>pagehelper-spring-boot-starter</artifactId>
  49. <version>1.2.3</version>
  50. </dependency>
  51. <!-- gbase依赖包 -->
  52. <dependency>
  53. <groupId>com.gbase8s</groupId>
  54. <artifactId>ifxjdbc</artifactId>
  55. <version>1.0</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.gbase</groupId>
  59. <artifactId>druid</artifactId>
  60. <version>1.0.28</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.commons</groupId>
  64. <artifactId>commons-lang3</artifactId>
  65. </dependency>
  66. <!-- swagger2 -->
  67. <dependency>
  68. <groupId>io.springfox</groupId>
  69. <artifactId>springfox-swagger2</artifactId>
  70. <version>2.6.1</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>io.springfox</groupId>
  74. <artifactId>springfox-swagger-ui</artifactId>
  75. <version>2.6.1</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-test</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.poi</groupId>
  84. <artifactId>poi-ooxml</artifactId>
  85. <version>3.9</version>
  86. </dependency>
  87. <!-- 阿里巴巴json -->
  88. <dependency>
  89. <groupId>com.alibaba</groupId>
  90. <artifactId>fastjson</artifactId>
  91. <version>1.2.37</version>
  92. </dependency>
  93. <!-- <dependency>-->
  94. <!-- <groupId>com.alibaba</groupId>-->
  95. <!-- <artifactId>druid-spring-boot-starter</artifactId>-->
  96. <!-- <version>1.1.10</version>-->
  97. <!-- </dependency>-->
  98. <!-- 定时需要的jar包 -->
  99. <dependency>
  100. <groupId>org.quartz-scheduler</groupId>
  101. <artifactId>quartz</artifactId>
  102. <version>2.2.1</version>
  103. <exclusions>
  104. <exclusion>
  105. <artifactId>slf4j-api</artifactId>
  106. <groupId>org.slf4j</groupId>
  107. </exclusion>
  108. </exclusions>
  109. </dependency>
  110. <dependency><!-- 该依赖必加,里面有sping对schedule的支持 -->
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-context-support</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.google.code.gson</groupId>
  116. <artifactId>gson</artifactId>
  117. <version>2.8.2</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. <dependency>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-starter-data-redis</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework.session</groupId>
  132. <artifactId>spring-session-data-redis</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.httpcomponents</groupId>
  136. <artifactId>httpcore</artifactId>
  137. <version>4.4.10</version>
  138. </dependency>
  139. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  140. <dependency>
  141. <groupId>org.apache.httpcomponents</groupId>
  142. <artifactId>httpclient</artifactId>
  143. <version>4.5.6</version>
  144. </dependency>
  145. <!--添加webservice-->
  146. <dependency>
  147. <groupId>org.apache.cxf</groupId>
  148. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  149. <version>3.2.4</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.springframework.boot</groupId>
  153. <artifactId>spring-boot-starter-web-services</artifactId>
  154. </dependency>
  155. <!-- feign -->
  156. <dependency>
  157. <groupId>org.springframework.cloud</groupId>
  158. <artifactId>spring-cloud-starter-openfeign</artifactId>
  159. </dependency>
  160. </dependencies>
  161. <dependencyManagement>
  162. <dependencies>
  163. <dependency>
  164. <groupId>org.springframework.cloud</groupId>
  165. <artifactId>spring-cloud-dependencies</artifactId>
  166. <version>${spring-cloud.version}</version>
  167. <type>pom</type>
  168. <scope>import</scope>
  169. </dependency>
  170. </dependencies>
  171. </dependencyManagement>
  172. <build>
  173. <finalName>${project.artifactId}</finalName>
  174. <plugins>
  175. <plugin>
  176. <groupId>org.springframework.boot</groupId>
  177. <artifactId>spring-boot-maven-plugin</artifactId>
  178. <version>2.5.5</version>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-war-plugin</artifactId>
  183. <version>2.6</version>
  184. <configuration>
  185. <failOnMissingWebXml>false</failOnMissingWebXml>
  186. </configuration>
  187. </plugin>
  188. </plugins>
  189. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  190. <resources>
  191. <resource>
  192. <directory>src/main/java</directory>
  193. <includes>
  194. <include>**/*.properties</include>
  195. <include>**/*.xml</include>
  196. </includes>
  197. <filtering>false</filtering>
  198. </resource>
  199. <resource>
  200. <directory>src/main/resources</directory>
  201. </resource>
  202. </resources>
  203. </build>
  204. <repositories>
  205. <repository>
  206. <id>spring-milestones</id>
  207. <name>Spring Milestones</name>
  208. <url>https://repo.spring.io/milestone</url>
  209. <snapshots>
  210. <enabled>false</enabled>
  211. </snapshots>
  212. </repository>
  213. </repositories>
  214. </project>