pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.poyee</groupId>
  7. <artifactId>poyee-common</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <maven.compiler.source>8</maven.compiler.source>
  11. <maven.compiler.target>8</maven.compiler.target>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. </properties>
  14. <parent>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-parent</artifactId>
  17. <version>2.5.13</version> <!-- 可根据实际情况选择合适版本 -->
  18. <relativePath/> <!-- lookup parent from repository -->
  19. </parent>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.yaml</groupId>
  23. <artifactId>snakeyaml</artifactId>
  24. <version>1.28</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.fasterxml.jackson.core</groupId>
  28. <artifactId>jackson-databind</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.postgresql</groupId>
  32. <artifactId>postgresql</artifactId>
  33. <version>42.2.25</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.codehaus.janino</groupId>
  37. <artifactId>janino</artifactId>
  38. <version>3.0.12</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-tomcat</artifactId>
  43. <version>2.5.13</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-autoconfigure</artifactId>
  48. <version>2.5.13</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-actuator</artifactId>
  53. <version>2.5.13</version>
  54. </dependency>
  55. <!-- pagehelper 分页插件 -->
  56. <dependency>
  57. <groupId>com.github.pagehelper</groupId>
  58. <artifactId>pagehelper-spring-boot-starter</artifactId>
  59. <version>1.4.1</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba</groupId>
  63. <artifactId>druid-spring-boot-starter</artifactId>
  64. <version>1.2.17</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.mybatis.spring.boot</groupId>
  68. <artifactId>mybatis-spring-boot-starter</artifactId>
  69. <version>2.2.2</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>commons-io</groupId>
  73. <artifactId>commons-io</artifactId>
  74. <version>2.11.0</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>commons-collections</groupId>
  78. <artifactId>commons-collections</artifactId>
  79. <version>3.2.2</version>
  80. </dependency>
  81. <!-- 阿里JSON解析器 -->
  82. <dependency>
  83. <groupId>com.alibaba</groupId>
  84. <artifactId>fastjson</artifactId>
  85. <version>1.2.80</version>
  86. </dependency>
  87. <!-- Swagger3依赖 -->
  88. <dependency>
  89. <groupId>io.springfox</groupId>
  90. <artifactId>springfox-boot-starter</artifactId>
  91. <version>3.0.0</version>
  92. <exclusions>
  93. <exclusion>
  94. <groupId>io.swagger</groupId>
  95. <artifactId>swagger-models</artifactId>
  96. </exclusion>
  97. </exclusions>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.commons</groupId>
  101. <artifactId>commons-pool2</artifactId>
  102. <version>2.6.2</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.google.guava</groupId>
  106. <artifactId>guava</artifactId>
  107. <version>33.3.1-jre</version>
  108. <scope>compile</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.projectlombok</groupId>
  112. <artifactId>lombok</artifactId>
  113. <version>1.18.36</version>
  114. <scope>provided</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework</groupId>
  118. <artifactId>spring-beans</artifactId>
  119. <version>5.3.19</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework</groupId>
  123. <artifactId>spring-webmvc</artifactId>
  124. <version>5.3.19</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.dtflys.forest</groupId>
  128. <artifactId>forest-spring-boot-starter</artifactId>
  129. <version>1.5.24</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.aspectj</groupId>
  133. <artifactId>aspectjrt</artifactId>
  134. <version>1.9.7</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>javax.servlet</groupId>
  138. <artifactId>javax.servlet-api</artifactId>
  139. <version>4.0.1</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-starter-logging</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework.security</groupId>
  147. <artifactId>spring-security-config</artifactId>
  148. <version>5.6.0</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework.security</groupId>
  152. <artifactId>spring-security-web</artifactId>
  153. <version>5.6.0</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.commons</groupId>
  157. <artifactId>commons-lang3</artifactId>
  158. <version>3.14.0</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>io.swagger</groupId>
  162. <artifactId>swagger-models</artifactId>
  163. <version>1.6.2</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.poi</groupId>
  167. <artifactId>poi</artifactId>
  168. <version>5.2.2</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.springframework</groupId>
  172. <artifactId>spring-web</artifactId>
  173. <version>5.3.19</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>cn.easy-es</groupId>
  177. <artifactId>easy-es-boot-starter</artifactId>
  178. <version>2.0.0-beta1</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.sndyuk</groupId>
  182. <artifactId>logback-more-appenders</artifactId>
  183. <version>1.8.5</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.fluentd</groupId>
  187. <artifactId>fluent-logger</artifactId>
  188. <version>0.3.4</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.github.dozermapper</groupId>
  192. <artifactId>dozer-spring-boot-starter</artifactId>
  193. <version>6.5.2</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.github.xiaoymin</groupId>
  197. <artifactId>knife4j-spring-boot-starter</artifactId>
  198. <version>2.0.9</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.baomidou</groupId>
  202. <artifactId>mybatis-plus-boot-starter</artifactId>
  203. <version>3.5.2</version>
  204. </dependency>
  205. </dependencies>
  206. <build>
  207. <plugins>
  208. <plugin>
  209. <groupId>io.spring.javaformat</groupId>
  210. <artifactId>spring-javaformat-maven-plugin</artifactId>
  211. <version>0.0.39</version>
  212. </plugin>
  213. <plugin>
  214. <groupId>org.springframework.boot</groupId>
  215. <artifactId>spring-boot-maven-plugin</artifactId>
  216. <version>2.1.1.RELEASE</version>
  217. <configuration>
  218. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  219. <includeSystemScope>true</includeSystemScope>
  220. </configuration>
  221. <executions>
  222. <execution>
  223. <goals>
  224. <goal>repackage</goal>
  225. </goals>
  226. </execution>
  227. </executions>
  228. </plugin>
  229. <plugin>
  230. <groupId>org.apache.maven.plugins</groupId>
  231. <artifactId>maven-war-plugin</artifactId>
  232. <version>3.0.0</version>
  233. <configuration>
  234. <failOnMissingWebXml>false</failOnMissingWebXml>
  235. <warName>${project.artifactId}</warName>
  236. </configuration>
  237. </plugin>
  238. </plugins>
  239. <finalName>${project.artifactId}</finalName>
  240. </build>
  241. </project>