pom.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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. </dependency>
  62. <!-- 添加jedis客户端 -->
  63. <dependency>
  64. <groupId>redis.clients</groupId>
  65. <artifactId>jedis</artifactId>
  66. </dependency>
  67. <!--数据库-->
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-jdbc</artifactId>
  71. </dependency>
  72. <!--数据库连接-->
  73. <dependency>
  74. <groupId>mysql</groupId>
  75. <artifactId>mysql-connector-java</artifactId>
  76. <version>8.0.15</version>
  77. <!-- <version>${mysql.version}</version>-->
  78. </dependency>
  79. <!-- alibaba的druid数据库连接池 -->
  80. <dependency>
  81. <groupId>com.alibaba</groupId>
  82. <artifactId>druid-spring-boot-starter</artifactId>
  83. <version>${druid.version}</version>
  84. </dependency>
  85. <!-- 工具类 -->
  86. <dependency>
  87. <groupId>org.apache.commons</groupId>
  88. <artifactId>commons-lang3</artifactId>
  89. <version>${apache.commons-lang.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>commons-io</groupId>
  93. <artifactId>commons-io</artifactId>
  94. <version>${apache.commons-io.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>junit</groupId>
  98. <artifactId>junit</artifactId>
  99. <version>4.12</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.alibaba</groupId>
  103. <artifactId>fastjson</artifactId>
  104. <version>1.2.30</version>
  105. </dependency>
  106. <!-- spring热部署-->
  107. <dependency>
  108. <groupId>org.springframework</groupId>
  109. <artifactId>springloaded</artifactId>
  110. <version>${spring.loaded.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-devtools</artifactId>
  115. <optional>true</optional>
  116. </dependency>
  117. <!-- cglib 动态代理 -->
  118. <dependency>
  119. <groupId>cglib</groupId>
  120. <artifactId>cglib</artifactId>
  121. <version>3.1</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.aspectj</groupId>
  125. <artifactId>aspectjrt</artifactId>
  126. <version>1.9.4</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-starter-aop</artifactId>
  131. </dependency>
  132. <!--rabbitmq-->
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-amqp</artifactId>
  136. <version>1.5.2.RELEASE</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-starter-web</artifactId>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.projectlombok</groupId>
  144. <artifactId>lombok</artifactId>
  145. <version>1.14.4</version>
  146. <optional>true</optional>
  147. <scope>provided</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-starter-tomcat</artifactId>
  152. <scope>provided</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-starter-test</artifactId>
  157. <scope>test</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.bouncycastle</groupId>
  161. <artifactId>bcprov-jdk15on</artifactId>
  162. <version>1.56</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.fasterxml.jackson.dataformat</groupId>
  166. <artifactId>jackson-dataformat-xml</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.fasterxml.jackson.core</groupId>
  170. <artifactId>jackson-databind</artifactId>
  171. <version>2.9.7</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>dom4j</groupId>
  175. <artifactId>dom4j</artifactId>
  176. <version>1.6.1</version>
  177. </dependency>
  178. </dependencies>
  179. <build>
  180. <plugins>
  181. <plugin>
  182. <groupId>org.springframework.boot</groupId>
  183. <artifactId>spring-boot-maven-plugin</artifactId>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.mybatis.generator</groupId>
  187. <artifactId>mybatis-generator-maven-plugin</artifactId>
  188. <version>${mybatis.generator.version}</version>
  189. <executions>
  190. <execution>
  191. <id>Generate MyBatis Artifacts</id>
  192. <phase>deploy</phase>
  193. <goals>
  194. <goal>generate</goal>
  195. </goals>
  196. </execution>
  197. </executions>
  198. <dependencies>
  199. <dependency>
  200. <groupId>mysql</groupId>
  201. <artifactId>mysql-connector-java</artifactId>
  202. <version>${mysql.version}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.mybatis.generator</groupId>
  206. <artifactId>mybatis-generator-core</artifactId>
  207. <version>${mybatis.generator.version}</version>
  208. </dependency>
  209. </dependencies>
  210. <configuration>
  211. <!--允许移动生成的文件 -->
  212. <verbose>true</verbose>
  213. <!-- 是否覆盖 -->
  214. <overwrite>true</overwrite>
  215. <!-- 自动生成的配置 -->
  216. <configurationFile>
  217. src/main/resources/mybatis/mybatis-generator.xml</configurationFile>
  218. </configuration>
  219. </plugin>
  220. <plugin>
  221. <groupId>org.apache.maven.plugins</groupId>
  222. <artifactId>maven-surefire-plugin</artifactId>
  223. <version>2.18.1</version>
  224. <configuration>
  225. <skipTests>true</skipTests>
  226. </configuration>
  227. </plugin>
  228. <plugin>
  229. <groupId>org.apache.maven.plugins</groupId>
  230. <artifactId>maven-compiler-plugin</artifactId>
  231. <version>3.1</version>
  232. <configuration>
  233. <source>1.8</source>
  234. <target>1.8</target>
  235. <encoding>UTF-8</encoding>
  236. </configuration>
  237. </plugin>
  238. </plugins>
  239. </build>
  240. </project>