pom.xml 9.9 KB

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