pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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>top.lvzhiqiang</groupId>
  7. <artifactId>l1024v-jav</artifactId>
  8. <version>1.0.0</version>
  9. <!-- 项目的名称和描述 -->
  10. <name>l1024v-jav-server</name>
  11. <description>jav服务</description>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <maven.deploy.skip>true</maven.deploy.skip>
  16. <log4j2.version>2.17.1</log4j2.version>
  17. </properties>
  18. <parent>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-parent</artifactId>
  21. <version>2.1.9.RELEASE</version>
  22. </parent>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-aop</artifactId>
  27. </dependency>
  28. <!-- 引入Web功能 -->
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <!-- Freemarker -->
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-freemarker</artifactId>
  37. </dependency>
  38. <!--log4j2-->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter</artifactId>
  42. <exclusions>
  43. <!-- 排除自带的logback依赖 -->
  44. <exclusion>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-logging</artifactId>
  47. </exclusion>
  48. </exclusions>
  49. </dependency>
  50. <!-- 引入log4j2依赖 -->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-log4j2</artifactId>
  54. </dependency>
  55. <!--mybatis-->
  56. <dependency>
  57. <groupId>org.mybatis.spring.boot</groupId>
  58. <artifactId>mybatis-spring-boot-starter</artifactId>
  59. <version>2.1.0</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.github.pagehelper</groupId>
  63. <artifactId>pagehelper-spring-boot-starter</artifactId>
  64. <version>1.2.12</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.commons</groupId>
  68. <artifactId>commons-lang3</artifactId>
  69. <version>3.7</version>
  70. </dependency>
  71. <!-- mysql的驱动 -->
  72. <dependency>
  73. <groupId>mysql</groupId>
  74. <artifactId>mysql-connector-java</artifactId>
  75. <version>8.0.17</version>
  76. </dependency>
  77. <!--lombok-->
  78. <dependency>
  79. <groupId>org.projectlombok</groupId>
  80. <artifactId>lombok</artifactId>
  81. <version>1.16.20</version>
  82. </dependency>
  83. <!-- 单元测试 -->
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-test</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. <!--fastjson-->
  90. <dependency>
  91. <groupId>com.alibaba</groupId>
  92. <artifactId>fastjson</artifactId>
  93. <version>2.0.44</version>
  94. </dependency>
  95. <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  96. <dependency>
  97. <groupId>org.jsoup</groupId>
  98. <artifactId>jsoup</artifactId>
  99. <version>1.14.3</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.microsoft.playwright</groupId>
  103. <artifactId>playwright</artifactId>
  104. <!--centos7系统需要降级到 v1.37.0 或更低(比如 v1.30.0),centos8可以用1.49.0以上。-->
  105. <!--CentOS 7 默认的 glibc 版本是 2.17,而 Playwright v1.49 自带的 Node.js 需要 glibc 2.27+。-->
  106. <!--运行你的 jar 包,它第一次启动会自动下载 chromium (~130MB) 到 ~/.cache/ms-playwright-->
  107. <version>1.30.0</version>
  108. <exclusions>
  109. <exclusion>
  110. <groupId>com.microsoft.playwright</groupId>
  111. <artifactId>driver-bundle</artifactId>
  112. </exclusion>
  113. </exclusions>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-configuration-processor</artifactId>
  118. <version>2.1.9.RELEASE</version>
  119. <optional>true</optional>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.github.binarywang</groupId>
  123. <artifactId>weixin-java-cp</artifactId>
  124. <version>4.5.0</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.httpcomponents</groupId>
  128. <artifactId>httpclient</artifactId>
  129. <version>4.5.13</version>
  130. </dependency>
  131. <!-- https://mvnrepository.com/artifact/ch.ethz.ganymed/ganymed-ssh2 -->
  132. <dependency>
  133. <groupId>ch.ethz.ganymed</groupId>
  134. <artifactId>ganymed-ssh2</artifactId>
  135. <version>262</version>
  136. <scope>test</scope>
  137. </dependency>
  138. <!--Markdown转Html-->
  139. <!-- https://mvnrepository.com/artifact/org.commonmark/commonmark -->
  140. <dependency>
  141. <groupId>org.commonmark</groupId>
  142. <artifactId>commonmark</artifactId>
  143. <version>0.21.0</version>
  144. </dependency>
  145. <!--扩展 标题-->
  146. <dependency>
  147. <groupId>org.commonmark</groupId>
  148. <artifactId>commonmark-ext-heading-anchor</artifactId>
  149. <version>0.21.0</version>
  150. </dependency>
  151. <!--扩展 表格-->
  152. <dependency>
  153. <groupId>org.commonmark</groupId>
  154. <artifactId>commonmark-ext-gfm-tables</artifactId>
  155. <version>0.21.0</version>
  156. </dependency>
  157. <!-- FTP文件操作 -->
  158. <dependency>
  159. <groupId>commons-net</groupId>
  160. <artifactId>commons-net</artifactId>
  161. <version>3.10.0</version>
  162. </dependency>
  163. <!-- Thumbnailator Dependency -->
  164. <dependency>
  165. <groupId>net.coobird</groupId>
  166. <artifactId>thumbnailator</artifactId>
  167. <version>0.4.18</version>
  168. </dependency>
  169. <!--redis-->
  170. <dependency>
  171. <groupId>org.springframework.boot</groupId>
  172. <artifactId>spring-boot-starter-data-redis</artifactId>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.redisson</groupId>
  176. <artifactId>redisson-spring-boot-starter</artifactId>
  177. <version>3.11.5</version>
  178. </dependency>
  179. <!--poi-->
  180. <dependency>
  181. <groupId>org.apache.poi</groupId>
  182. <artifactId>poi</artifactId>
  183. <version>3.17</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.apache.poi</groupId>
  187. <artifactId>poi-ooxml</artifactId>
  188. <version>3.17</version>
  189. </dependency>
  190. <!--mp3agic-->
  191. <dependency>
  192. <groupId>com.mpatric</groupId>
  193. <artifactId>mp3agic</artifactId>
  194. <version>0.9.1</version>
  195. </dependency>
  196. <!-- 定时任务 -->
  197. <dependency>
  198. <groupId>com.xuxueli</groupId>
  199. <artifactId>xxl-job-core</artifactId>
  200. <version>2.3.1</version>
  201. </dependency>
  202. <!--Java内置SSH隧道(JSch库)-->
  203. <dependency>
  204. <groupId>com.jcraft</groupId>
  205. <artifactId>jsch</artifactId>
  206. <version>0.1.55</version>
  207. </dependency>
  208. <!-- JSch依赖BouncyCastle用于加密 -->
  209. <dependency>
  210. <groupId>org.bouncycastle</groupId>
  211. <artifactId>bcprov-jdk15on</artifactId>
  212. <version>1.70</version>
  213. </dependency>
  214. </dependencies>
  215. <build>
  216. <finalName>jav</finalName>
  217. <plugins>
  218. <plugin>
  219. <groupId>org.springframework.boot</groupId>
  220. <artifactId>spring-boot-maven-plugin</artifactId>
  221. <configuration>
  222. <!--JAR (默认): 使用 JarLauncher。它只能加载 JAR 包内部 BOOT-INF/lib 下的依赖,不支持外部依赖加载。-->
  223. <!--ZIP: 使用 PropertiesLauncher。这是 Spring Boot 专门设计用来支持 “从外部路径加载依赖” 的启动器。-->
  224. <!--当你配置了 <layout>ZIP</layout> 后,Maven 插件在打包时会自动修改 JAR 包里的 META-INF/MANIFEST.MF 文件,把 Main-Class 从默认的 JarLauncher 改为 PropertiesLauncher-->
  225. <layout>ZIP</layout>
  226. </configuration>
  227. </plugin>
  228. </plugins>
  229. </build>
  230. </project>