pom.xml 9.5 KB

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