pom.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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. <dependency>
  176. <groupId>com.fasterxml.jackson.dataformat</groupId>
  177. <artifactId>jackson-dataformat-xml</artifactId>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.apache.cxf</groupId>
  181. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  182. <version>3.2.4</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.apache.cxf</groupId>
  186. <artifactId>cxf-rt-transports-http-jetty</artifactId>
  187. <version>3.2.4</version>
  188. </dependency>
  189. </dependencies>
  190. <build>
  191. <plugins>
  192. <plugin>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-maven-plugin</artifactId>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.mybatis.generator</groupId>
  198. <artifactId>mybatis-generator-maven-plugin</artifactId>
  199. <version>${mybatis.generator.version}</version>
  200. <executions>
  201. <execution>
  202. <id>Generate MyBatis Artifacts</id>
  203. <phase>deploy</phase>
  204. <goals>
  205. <goal>generate</goal>
  206. </goals>
  207. </execution>
  208. </executions>
  209. <dependencies>
  210. <dependency>
  211. <groupId>mysql</groupId>
  212. <artifactId>mysql-connector-java</artifactId>
  213. <version>${mysql.version}</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.mybatis.generator</groupId>
  217. <artifactId>mybatis-generator-core</artifactId>
  218. <version>${mybatis.generator.version}</version>
  219. </dependency>
  220. </dependencies>
  221. <configuration>
  222. <!--允许移动生成的文件 -->
  223. <verbose>true</verbose>
  224. <!-- 是否覆盖 -->
  225. <overwrite>true</overwrite>
  226. <!-- 自动生成的配置 -->
  227. <configurationFile>
  228. src/main/resources/mybatis/mybatis-generator.xml</configurationFile>
  229. </configuration>
  230. </plugin>
  231. <plugin>
  232. <groupId>org.apache.maven.plugins</groupId>
  233. <artifactId>maven-surefire-plugin</artifactId>
  234. <version>2.18.1</version>
  235. <configuration>
  236. <skipTests>true</skipTests>
  237. </configuration>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-compiler-plugin</artifactId>
  242. <version>3.1</version>
  243. <configuration>
  244. <source>1.8</source>
  245. <target>1.8</target>
  246. <encoding>UTF-8</encoding>
  247. </configuration>
  248. </plugin>
  249. </plugins>
  250. </build>
  251. </project>