pom.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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-proxy-srv</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.10</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>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <scope>test</scope>
  45. <exclusions>
  46. <exclusion>
  47. <groupId>org.junit.vintage</groupId>
  48. <artifactId>junit-vintage-engine</artifactId>
  49. </exclusion>
  50. </exclusions>
  51. </dependency>
  52. <!--redis-->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-data-redis</artifactId>
  56. </dependency>
  57. <!-- 添加jedis客户端 -->
  58. <dependency>
  59. <groupId>redis.clients</groupId>
  60. <artifactId>jedis</artifactId>
  61. </dependency>
  62. <!--数据库-->
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-jdbc</artifactId>
  66. </dependency>
  67. <!--数据库连接-->
  68. <dependency>
  69. <groupId>mysql</groupId>
  70. <artifactId>mysql-connector-java</artifactId>
  71. <version>${mysql.version}</version>
  72. </dependency>
  73. <!-- alibaba的druid数据库连接池 -->
  74. <dependency>
  75. <groupId>com.alibaba</groupId>
  76. <artifactId>druid-spring-boot-starter</artifactId>
  77. <version>${druid.version}</version>
  78. </dependency>
  79. <!-- 工具类 -->
  80. <dependency>
  81. <groupId>org.apache.commons</groupId>
  82. <artifactId>commons-lang3</artifactId>
  83. <version>${apache.commons-lang.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>commons-io</groupId>
  87. <artifactId>commons-io</artifactId>
  88. <version>${apache.commons-io.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>junit</groupId>
  92. <artifactId>junit</artifactId>
  93. <version>4.12</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.alibaba</groupId>
  97. <artifactId>fastjson</artifactId>
  98. <version>1.2.30</version>
  99. </dependency>
  100. <!-- spring热部署-->
  101. <dependency>
  102. <groupId>org.springframework</groupId>
  103. <artifactId>springloaded</artifactId>
  104. <version>${spring.loaded.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-devtools</artifactId>
  109. <optional>true</optional>
  110. </dependency>
  111. <!-- cglib 动态代理 -->
  112. <dependency>
  113. <groupId>cglib</groupId>
  114. <artifactId>cglib</artifactId>
  115. <version>3.1</version>
  116. </dependency>
  117. <!-- httpclient start -->
  118. <dependency>
  119. <groupId>org.apache.httpcomponents</groupId>
  120. <artifactId>httpmime</artifactId>
  121. <version>4.5</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.httpcomponents</groupId>
  125. <artifactId>httpcore</artifactId>
  126. <version>4.4.5</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>commons-httpclient</groupId>
  130. <artifactId>commons-httpclient</artifactId>
  131. <version>3.0.1</version>
  132. </dependency>
  133. <!-- httpclient end -->
  134. <dependency>
  135. <groupId>org.aspectj</groupId>
  136. <artifactId>aspectjrt</artifactId>
  137. <version>1.9.4</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-starter-aop</artifactId>
  142. </dependency>
  143. <!--rabbitmq-->
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-amqp</artifactId>
  147. <version>1.5.2.RELEASE</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-starter-web</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.projectlombok</groupId>
  155. <artifactId>lombok</artifactId>
  156. <version>1.14.4</version>
  157. <optional>true</optional>
  158. <scope>provided</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework.boot</groupId>
  162. <artifactId>spring-boot-starter-tomcat</artifactId>
  163. <scope>provided</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-starter-test</artifactId>
  168. <scope>test</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.bouncycastle</groupId>
  172. <artifactId>bcprov-jdk15on</artifactId>
  173. <version>1.56</version>
  174. </dependency>
  175. </dependencies>
  176. <build>
  177. <plugins>
  178. <plugin>
  179. <groupId>org.springframework.boot</groupId>
  180. <artifactId>spring-boot-maven-plugin</artifactId>
  181. </plugin>
  182. <plugin>
  183. <groupId>org.mybatis.generator</groupId>
  184. <artifactId>mybatis-generator-maven-plugin</artifactId>
  185. <version>${mybatis.generator.version}</version>
  186. <executions>
  187. <execution>
  188. <id>Generate MyBatis Artifacts</id>
  189. <phase>deploy</phase>
  190. <goals>
  191. <goal>generate</goal>
  192. </goals>
  193. </execution>
  194. </executions>
  195. <dependencies>
  196. <dependency>
  197. <groupId>mysql</groupId>
  198. <artifactId>mysql-connector-java</artifactId>
  199. <version>${mysql.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.mybatis.generator</groupId>
  203. <artifactId>mybatis-generator-core</artifactId>
  204. <version>${mybatis.generator.version}</version>
  205. </dependency>
  206. </dependencies>
  207. <configuration>
  208. <!--允许移动生成的文件 -->
  209. <verbose>true</verbose>
  210. <!-- 是否覆盖 -->
  211. <overwrite>true</overwrite>
  212. <!-- 自动生成的配置 -->
  213. <configurationFile>
  214. src/main/resources/mybatis/mybatis-generator.xml</configurationFile>
  215. </configuration>
  216. </plugin>
  217. </plugins>
  218. </build>
  219. </project>