pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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>23.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>org.apache.xmlgraphics</groupId>
  89. <artifactId>fop</artifactId>
  90. <version>1.0</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>joda-time</groupId>
  94. <artifactId>joda-time</artifactId>
  95. <version>2.1</version>
  96. </dependency>
  97. <!--activiti新增的jar包 结束 -->
  98. <!-- 阿里巴巴json -->
  99. <dependency>
  100. <groupId>com.alibaba</groupId>
  101. <artifactId>fastjson</artifactId>
  102. <version>1.2.37</version>
  103. </dependency>
  104. <!--添加webservice-->
  105. <dependency>
  106. <groupId>org.apache.cxf</groupId>
  107. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  108. <version>3.2.4</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-web-services</artifactId>
  113. </dependency>
  114. <!-- <dependency>
  115. <groupId>org.apache.cxf</groupId>
  116. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  117. <version>3.1.6</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.cxf</groupId>
  121. <artifactId>cxf-rt-transports-http</artifactId>
  122. <version>3.1.6</version>
  123. </dependency> -->
  124. <!--添加webservice end-->
  125. <!-- 引入spring boot自带的pagehelper插件 -->
  126. <dependency>
  127. <groupId>com.github.pagehelper</groupId>
  128. <artifactId>pagehelper-spring-boot-starter</artifactId>
  129. <version>1.2.3</version>
  130. </dependency>
  131. <!--导入Eureka服务的依赖 -->
  132. <dependency>
  133. <groupId>org.springframework.cloud</groupId>
  134. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.cloud</groupId>
  138. <artifactId>spring-cloud-starter-config</artifactId>
  139. </dependency>
  140. <!-- 集成easypoi组件 导出excel -->
  141. <dependency>
  142. <groupId>cn.afterturn</groupId>
  143. <artifactId>easypoi-base</artifactId>
  144. <version>3.2.0</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>cn.afterturn</groupId>
  148. <artifactId>easypoi-web</artifactId>
  149. <version>3.2.0</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>cn.afterturn</groupId>
  153. <artifactId>easypoi-annotation</artifactId>
  154. <version>3.2.0</version>
  155. </dependency>
  156. <!-- <dependency>
  157.    <groupId>org.springframework.cloud</groupId>
  158.    <artifactId>spring-cloud-starter-openfeign</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. <dependency>
  199. <groupId>log4j</groupId>
  200. <artifactId>log4j</artifactId>
  201. <version>1.2.15</version>
  202. <exclusions>
  203. <exclusion>
  204. <groupId>javax.mail</groupId>
  205. <artifactId>mail</artifactId>
  206. </exclusion>
  207. <exclusion>
  208. <groupId>javax.jms</groupId>
  209. <artifactId>jms</artifactId>
  210. </exclusion>
  211. <exclusion>
  212. <groupId>com.sun.jdmk</groupId>
  213. <artifactId>jmxtools</artifactId>
  214. </exclusion>
  215. <exclusion>
  216. <groupId>com.sun.jmx</groupId>
  217. <artifactId>jmxri</artifactId>
  218. </exclusion>
  219. </exclusions>
  220. <scope>compile</scope>
  221. </dependency>
  222. </dependencies>
  223. <!-- 导入Spring Cloud的依赖管理 -->
  224. <dependencyManagement>
  225. <dependencies>
  226. <dependency>
  227. <groupId>org.springframework.cloud</groupId>
  228. <artifactId>spring-cloud-dependencies</artifactId>
  229. <version>${spring-cloud.version}</version>
  230. <type>pom</type>
  231. <scope>import</scope>
  232. </dependency>
  233. </dependencies>
  234. </dependencyManagement>
  235. <build>
  236. <finalName>${project.artifactId}</finalName>
  237. <plugins>
  238. <plugin>
  239. <groupId>org.springframework.boot</groupId>
  240. <artifactId>spring-boot-maven-plugin</artifactId>
  241. <configuration>
  242. <fork>true</fork>
  243. </configuration>
  244. </plugin>
  245. <!-- <plugin>
  246. <groupId>org.apache.maven.plugins</groupId>
  247. <artifactId>maven-war-plugin</artifactId>
  248. <version>2.6</version>
  249. <configuration>
  250. <failOnMissingWebXml>false</failOnMissingWebXml>
  251. </configuration>
  252. </plugin> -->
  253. </plugins>
  254. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  255. <resources>
  256. <resource>
  257. <directory>src/main/java</directory>
  258. <includes>
  259. <include>**/*.properties</include>
  260. <include>**/*.xml</include>
  261. <include>**/*.store</include>
  262. </includes>
  263. <filtering>false</filtering>
  264. </resource>
  265. <resource>
  266. <directory>src/main/resources</directory>
  267. </resource>
  268. </resources>
  269. </build>
  270. <repositories>
  271. <repository>
  272. <id>spring-milestones</id>
  273. <name>Spring Milestones</name>
  274. <url>https://repo.spring.io/milestone</url>
  275. <snapshots>
  276. <enabled>false</enabled>
  277. </snapshots>
  278. </repository>
  279. </repositories>
  280. </project>