pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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-business-qinghai</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>depot-business-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.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. <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.mybatis.spring.boot</groupId>
  31. <artifactId>mybatis-spring-boot-starter</artifactId>
  32. <version>1.3.1</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>mysql</groupId>
  36. <artifactId>mysql-connector-java</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-autoconfigure</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-devtools</artifactId>
  45. <optional>true</optional>
  46. </dependency>
  47. <!--activiti新增的jar包 开始 -->
  48. <dependency>
  49. <groupId>org.activiti</groupId>
  50. <artifactId>activiti-json-converter</artifactId>
  51. <version>5.21.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.activiti</groupId>
  55. <artifactId>activiti-spring-boot-starter-basic</artifactId>
  56. <version>5.21.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>commons-io</groupId>
  60. <artifactId>commons-io</artifactId>
  61. <version>2.4</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.xmlgraphics</groupId>
  65. <artifactId>batik-transcoder</artifactId>
  66. <version>1.7</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.xmlgraphics</groupId>
  70. <artifactId>batik-codec</artifactId>
  71. <version>1.7</version>
  72. </dependency>
  73. <!-- <dependency>
  74. <groupId>com.google.guava</groupId>
  75. <artifactId>guava</artifactId>
  76. <version>17.0</version>
  77. </dependency> -->
  78. <dependency>
  79. <groupId>commons-codec</groupId>
  80. <artifactId>commons-codec</artifactId>
  81. <version>1.9</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>commons-beanutils</groupId>
  85. <artifactId>commons-beanutils</artifactId>
  86. <version>1.9.1</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>commons-collections</groupId>
  90. <artifactId>commons-collections</artifactId>
  91. <version>3.2.1</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.xmlgraphics</groupId>
  95. <artifactId>fop</artifactId>
  96. <version>1.0</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>joda-time</groupId>
  100. <artifactId>joda-time</artifactId>
  101. <version>2.1</version>
  102. </dependency>
  103. <!--activiti新增的jar包 结束 -->
  104. <!-- 阿里巴巴json -->
  105. <dependency>
  106. <groupId>com.alibaba</groupId>
  107. <artifactId>fastjson</artifactId>
  108. <version>1.2.37</version>
  109. </dependency>
  110. <!-- JSONObject jar包 -->
  111. <dependency>
  112. <groupId>net.sf.json-lib</groupId>
  113. <artifactId>json-lib</artifactId>
  114. <version>2.4</version>
  115. <classifier>jdk15</classifier>
  116. </dependency>
  117. <!--添加webservice-->
  118. <dependency>
  119. <groupId>org.apache.cxf</groupId>
  120. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  121. <version>3.2.4</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-starter-web-services</artifactId>
  126. </dependency>
  127. <!-- <dependency>
  128. <groupId>org.apache.cxf</groupId>
  129. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  130. <version>3.1.6</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.cxf</groupId>
  134. <artifactId>cxf-rt-transports-http</artifactId>
  135. <version>3.1.6</version>
  136. </dependency> -->
  137. <!--添加webservice end-->
  138. <!-- 引入spring boot自带的pagehelper插件 -->
  139. <dependency>
  140. <groupId>com.github.pagehelper</groupId>
  141. <artifactId>pagehelper-spring-boot-starter</artifactId>
  142. <version>1.2.3</version>
  143. </dependency>
  144. <!-- 导入Eureka服务的依赖 -->
  145. <dependency>
  146. <groupId>org.springframework.cloud</groupId>
  147. <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework.cloud</groupId>
  151. <artifactId>spring-cloud-starter-config</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.cloud</groupId>
  155. <artifactId>spring-cloud-starter-openfeign</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.springframework.cloud</groupId>
  159. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  160. </dependency>
  161. <!-- 加载mybatis逆向生成工具包 -->
  162. <dependency>
  163. <groupId>org.mybatis.generator</groupId>
  164. <artifactId>mybatis-generator-core</artifactId>
  165. <!-- 注意版本.这里我使用的是1.3.2 -->
  166. <version>1.3.2</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.apache.commons</groupId>
  170. <artifactId>commons-lang3</artifactId>
  171. <version>3.7</version>
  172. </dependency>
  173. <!-- swagger2 -->
  174. <dependency>
  175. <groupId>io.springfox</groupId>
  176. <artifactId>springfox-swagger2</artifactId>
  177. <version>2.9.2</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>io.springfox</groupId>
  181. <artifactId>springfox-swagger-ui</artifactId>
  182. <version>2.9.2</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.springframework.boot</groupId>
  186. <artifactId>spring-boot-starter-data-redis</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework.session</groupId>
  190. <artifactId>spring-session-data-redis</artifactId>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-starter-test</artifactId>
  195. <scope>test</scope>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.apache.poi</groupId>
  199. <artifactId>poi-ooxml</artifactId>
  200. <version>3.9</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.apache.httpcomponents</groupId>
  204. <artifactId>httpclient</artifactId>
  205. </dependency>
  206. <!-- 日志-->
  207. <dependency>
  208. <groupId>ch.qos.logback</groupId>
  209. <artifactId>logback-classic</artifactId>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.projectlombok</groupId>
  213. <artifactId>lombok</artifactId>
  214. </dependency>
  215. <!-- hutool -->
  216. <dependency>
  217. <groupId>cn.hutool</groupId>
  218. <artifactId>hutool-all</artifactId>
  219. <version>5.8.12</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>log4j</groupId>
  223. <artifactId>log4j</artifactId>
  224. <version>1.2.15</version>
  225. <exclusions>
  226. <exclusion>
  227. <groupId>javax.mail</groupId>
  228. <artifactId>mail</artifactId>
  229. </exclusion>
  230. <exclusion>
  231. <groupId>javax.jms</groupId>
  232. <artifactId>jms</artifactId>
  233. </exclusion>
  234. <exclusion>
  235. <groupId>com.sun.jdmk</groupId>
  236. <artifactId>jmxtools</artifactId>
  237. </exclusion>
  238. <exclusion>
  239. <groupId>com.sun.jmx</groupId>
  240. <artifactId>jmxri</artifactId>
  241. </exclusion>
  242. </exclusions>
  243. <scope>compile</scope>
  244. </dependency>
  245. </dependencies>
  246. <!-- 导入Spring Cloud的依赖管理 -->
  247. <dependencyManagement>
  248. <dependencies>
  249. <dependency>
  250. <groupId>org.springframework.cloud</groupId>
  251. <artifactId>spring-cloud-dependencies</artifactId>
  252. <version>${spring-cloud.version}</version>
  253. <type>pom</type>
  254. <scope>import</scope>
  255. </dependency>
  256. </dependencies>
  257. </dependencyManagement>
  258. <build>
  259. <finalName>${project.artifactId}</finalName>
  260. <plugins>
  261. <plugin>
  262. <groupId>org.springframework.boot</groupId>
  263. <artifactId>spring-boot-maven-plugin</artifactId>
  264. <configuration>
  265. <fork>true</fork>
  266. </configuration>
  267. </plugin>
  268. <!-- <plugin>
  269. <groupId>org.apache.maven.plugins</groupId>
  270. <artifactId>maven-war-plugin</artifactId>
  271. <version>2.6</version>
  272. <configuration>
  273. <failOnMissingWebXml>false</failOnMissingWebXml>
  274. </configuration>
  275. </plugin> -->
  276. </plugins>
  277. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  278. <resources>
  279. <resource>
  280. <directory>src/main/java</directory>
  281. <includes>
  282. <include>**/*.properties</include>
  283. <include>**/*.xml</include>
  284. <include>**/*.store</include>
  285. </includes>
  286. <filtering>false</filtering>
  287. </resource>
  288. <resource>
  289. <directory>src/main/resources</directory>
  290. </resource>
  291. </resources>
  292. </build>
  293. <repositories>
  294. <repository>
  295. <id>spring-milestones</id>
  296. <name>Spring Milestones</name>
  297. <url>https://repo.spring.io/milestone</url>
  298. <snapshots>
  299. <enabled>false</enabled>
  300. </snapshots>
  301. </repository>
  302. </repositories>
  303. </project>