pom.xml 6.7 KB

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