pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.0.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.miyzh</groupId>
  12. <artifactId>yideb-proxy-srv</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>yideb-qingdao-upload</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <java.version>1.8</java.version>
  19. <spring.loaded.version>1.2.7.RELEASE</spring.loaded.version>
  20. <!-- mysql 数据库-->
  21. <mysql.version>5.1.38</mysql.version>
  22. <!--<mysql.version>8.0.11</mysql.version>-->
  23. <druid.version>1.1.16</druid.version>
  24. <springboot.mybatis.version>1.3.0</springboot.mybatis.version>
  25. <mybatis.generator.version>1.3.7</mybatis.generator.version>
  26. <!-- 工具类 -->
  27. <apache.commons-lang.version>3.2.1</apache.commons-lang.version>
  28. <apache.commons-io.version>2.5</apache.commons-io.version>
  29. <google.guava.version>21.0</google.guava.version>
  30. <!-- cache缓存 -->
  31. <ehcached.version>2.10.3</ehcached.version>
  32. <shiro.ehcache.version>1.3.2</shiro.ehcache.version>
  33. <java.version>1.8</java.version>
  34. </properties>
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.mybatis.spring.boot</groupId>
  38. <artifactId>mybatis-spring-boot-starter</artifactId>
  39. <version>2.1.3</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.github.pagehelper</groupId>
  43. <artifactId>pagehelper-spring-boot-starter</artifactId>
  44. <version>1.2.10</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-test</artifactId>
  49. <scope>test</scope>
  50. <exclusions>
  51. <exclusion>
  52. <groupId>org.junit.vintage</groupId>
  53. <artifactId>junit-vintage-engine</artifactId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <!--redis-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-data-redis</artifactId>
  61. <exclusions>
  62. <exclusion>
  63. <groupId>io.lettuce</groupId>
  64. <artifactId>lettuce-core</artifactId>
  65. </exclusion>
  66. </exclusions>
  67. </dependency>
  68. <dependency>
  69. <groupId>redis.clients</groupId>
  70. <artifactId>jedis</artifactId>
  71. </dependency>
  72. <!--数据库-->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-jdbc</artifactId>
  76. </dependency>
  77. <!--数据库连接-->
  78. <dependency>
  79. <groupId>mysql</groupId>
  80. <artifactId>mysql-connector-java</artifactId>
  81. <version>8.0.15</version>
  82. <!-- <version>${mysql.version}</version>-->
  83. </dependency>
  84. <!-- alibaba的druid数据库连接池 -->
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>druid-spring-boot-starter</artifactId>
  88. <version>${druid.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>net.java.dev.jna</groupId>
  92. <artifactId>jna</artifactId>
  93. <version>5.5.0</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>net.java.dev.jna</groupId>
  97. <artifactId>jna-platform</artifactId>
  98. <version>5.5.0</version>
  99. </dependency>
  100. <!-- 工具类 -->
  101. <dependency>
  102. <groupId>org.apache.commons</groupId>
  103. <artifactId>commons-lang3</artifactId>
  104. <version>${apache.commons-lang.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>commons-io</groupId>
  108. <artifactId>commons-io</artifactId>
  109. <version>${apache.commons-io.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>junit</groupId>
  113. <artifactId>junit</artifactId>
  114. <version>4.12</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.alibaba</groupId>
  118. <artifactId>fastjson</artifactId>
  119. <version>1.2.30</version>
  120. </dependency>
  121. <!-- spring热部署-->
  122. <dependency>
  123. <groupId>org.springframework</groupId>
  124. <artifactId>springloaded</artifactId>
  125. <version>${spring.loaded.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-devtools</artifactId>
  130. <optional>true</optional>
  131. </dependency>
  132. <!-- cglib 动态代理 -->
  133. <dependency>
  134. <groupId>cglib</groupId>
  135. <artifactId>cglib</artifactId>
  136. <version>3.1</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.aspectj</groupId>
  140. <artifactId>aspectjrt</artifactId>
  141. <version>1.9.4</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-starter-aop</artifactId>
  146. </dependency>
  147. <!--rabbitmq-->
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-starter-amqp</artifactId>
  151. <version>1.5.2.RELEASE</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-starter-web</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.projectlombok</groupId>
  159. <artifactId>lombok</artifactId>
  160. <version>1.14.4</version>
  161. <optional>true</optional>
  162. <scope>provided</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-starter-web</artifactId>
  167. <exclusions>
  168. <exclusion>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-starter-tomcat</artifactId>
  171. </exclusion>
  172. </exclusions>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework.boot</groupId>
  176. <artifactId>spring-boot-starter-jetty</artifactId>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.springframework.boot</groupId>
  180. <artifactId>spring-boot-starter-test</artifactId>
  181. <scope>test</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.bouncycastle</groupId>
  185. <artifactId>bcprov-jdk15on</artifactId>
  186. <version>1.56</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>com.fasterxml.jackson.dataformat</groupId>
  190. <artifactId>jackson-dataformat-xml</artifactId>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.fasterxml.jackson.core</groupId>
  194. <artifactId>jackson-databind</artifactId>
  195. <version>2.9.7</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>dom4j</groupId>
  199. <artifactId>dom4j</artifactId>
  200. <version>1.6.1</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>commons-collections</groupId>
  204. <artifactId>commons-collections</artifactId>
  205. <version>3.2.2</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.apache.poi</groupId>
  209. <artifactId>poi-ooxml</artifactId>
  210. <version>3.14</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.apache.commons</groupId>
  214. <artifactId>commons-csv</artifactId>
  215. <version>1.5</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>io.springfox</groupId>
  219. <artifactId>springfox-swagger2</artifactId>
  220. <version>2.7.0</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>io.springfox</groupId>
  224. <artifactId>springfox-swagger-ui</artifactId>
  225. <version>2.7.0</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.apache.httpcomponents</groupId>
  229. <artifactId>httpcore</artifactId>
  230. <version>4.4.10</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.apache.httpcomponents</groupId>
  234. <artifactId>httpclient</artifactId>
  235. <version>4.5.6</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.springframework.boot</groupId>
  239. <artifactId>spring-boot-starter-web</artifactId>
  240. </dependency>
  241. <!--监控-->
  242. <dependency>
  243. <groupId>org.springframework.boot</groupId>
  244. <artifactId>spring-boot-starter-actuator</artifactId>
  245. </dependency>
  246. </dependencies>
  247. <build>
  248. <plugins>
  249. <plugin>
  250. <groupId>org.springframework.boot</groupId>
  251. <artifactId>spring-boot-maven-plugin</artifactId>
  252. </plugin>
  253. <plugin>
  254. <groupId>org.mybatis.generator</groupId>
  255. <artifactId>mybatis-generator-maven-plugin</artifactId>
  256. <version>${mybatis.generator.version}</version>
  257. <executions>
  258. <execution>
  259. <id>Generate MyBatis Artifacts</id>
  260. <phase>deploy</phase>
  261. <goals>
  262. <goal>generate</goal>
  263. </goals>
  264. </execution>
  265. </executions>
  266. <dependencies>
  267. <dependency>
  268. <groupId>mysql</groupId>
  269. <artifactId>mysql-connector-java</artifactId>
  270. <version>${mysql.version}</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.mybatis.generator</groupId>
  274. <artifactId>mybatis-generator-core</artifactId>
  275. <version>${mybatis.generator.version}</version>
  276. </dependency>
  277. </dependencies>
  278. <configuration>
  279. <!--允许移动生成的文件 -->
  280. <verbose>true</verbose>
  281. <!-- 是否覆盖 -->
  282. <overwrite>true</overwrite>
  283. <!-- 自动生成的配置 -->
  284. <configurationFile>
  285. src/main/resources/mybatis/mybatis-generator.xml</configurationFile>
  286. </configuration>
  287. </plugin>
  288. <plugin>
  289. <groupId>org.apache.maven.plugins</groupId>
  290. <artifactId>maven-surefire-plugin</artifactId>
  291. <version>2.18.1</version>
  292. <configuration>
  293. <skipTests>true</skipTests>
  294. </configuration>
  295. </plugin>
  296. <plugin>
  297. <groupId>org.apache.maven.plugins</groupId>
  298. <artifactId>maven-compiler-plugin</artifactId>
  299. <version>3.1</version>
  300. <configuration>
  301. <source>1.8</source>
  302. <target>1.8</target>
  303. <encoding>UTF-8</encoding>
  304. </configuration>
  305. </plugin>
  306. </plugins>
  307. </build>
  308. </project>