Commit 8d7d751d44e48634eb61d71e3c3309fe151fc504
1 parent
b7374713
perf(pom.xml): 移除重复依赖,升级部分已知有漏洞的依赖版本
Showing
1 changed file
with
380 additions
and
366 deletions
pom.xml
| 1 | 1 | <?xml version="1.0"?> |
| 2 | -<project | |
| 3 | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | |
| 4 | - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| 5 | - <modelVersion>4.0.0</modelVersion> | |
| 6 | - <parent> | |
| 7 | - <groupId>org.springframework.boot</groupId> | |
| 8 | - <artifactId>spring-boot-starter-parent</artifactId> | |
| 9 | - <version>2.7.2</version> | |
| 10 | - </parent> | |
| 11 | - | |
| 12 | - <groupId>com.genersoft</groupId> | |
| 13 | - <artifactId>wvp-pro</artifactId> | |
| 14 | - <version>2.6.9</version> | |
| 15 | - <name>web video platform</name> | |
| 16 | - <description>国标28181视频平台</description> | |
| 17 | - <packaging>${project.packaging}</packaging> | |
| 18 | - | |
| 19 | - <repositories> | |
| 20 | - <repository> | |
| 21 | - <id>nexus-aliyun</id> | |
| 22 | - <name>Nexus aliyun</name> | |
| 23 | - <url>https://maven.aliyun.com/repository/public</url> | |
| 24 | - <layout>default</layout> | |
| 25 | - <snapshots> | |
| 26 | - <enabled>false</enabled> | |
| 27 | - </snapshots> | |
| 28 | - <releases> | |
| 29 | - <enabled>true</enabled> | |
| 30 | - </releases> | |
| 31 | - </repository> | |
| 32 | - </repositories> | |
| 33 | - <pluginRepositories> | |
| 34 | - <pluginRepository> | |
| 35 | - <id>nexus-aliyun</id> | |
| 36 | - <name>Nexus aliyun</name> | |
| 37 | - <url>https://maven.aliyun.com/repository/public</url> | |
| 38 | - <snapshots> | |
| 39 | - <enabled>false</enabled> | |
| 40 | - </snapshots> | |
| 41 | - <releases> | |
| 42 | - <enabled>true</enabled> | |
| 43 | - </releases> | |
| 44 | - </pluginRepository> | |
| 45 | - </pluginRepositories> | |
| 46 | - | |
| 47 | - <properties> | |
| 48 | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| 49 | - <maven.build.timestamp.format>MMddHHmm</maven.build.timestamp.format> | |
| 50 | - <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> | |
| 51 | - | |
| 52 | - <!-- 依赖版本 --> | |
| 53 | - <snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory> | |
| 54 | - <asciidoctor.input.directory>${project.basedir}/docs/asciidoc</asciidoctor.input.directory> | |
| 55 | - <generated.asciidoc.directory>${project.build.directory}/asciidoc</generated.asciidoc.directory> | |
| 56 | - <asciidoctor.html.output.directory>${project.build.directory}/asciidoc/html</asciidoctor.html.output.directory> | |
| 57 | - <asciidoctor.pdf.output.directory>${project.build.directory}/asciidoc/pdf</asciidoctor.pdf.output.directory> | |
| 58 | - </properties> | |
| 59 | - | |
| 60 | - <profiles> | |
| 61 | - <profile> | |
| 62 | - <id>jar</id> | |
| 63 | - <activation> | |
| 64 | - <activeByDefault>true</activeByDefault> | |
| 65 | - </activation> | |
| 66 | - <properties> | |
| 67 | - <project.packaging>jar</project.packaging> | |
| 68 | - </properties> | |
| 69 | - </profile> | |
| 70 | - <profile> | |
| 71 | - <id>war</id> | |
| 72 | - <properties> | |
| 73 | - <project.packaging>war</project.packaging> | |
| 74 | - </properties> | |
| 75 | - <dependencies> | |
| 76 | - <dependency> | |
| 77 | - <groupId>org.springframework.boot</groupId> | |
| 78 | - <artifactId>spring-boot-starter-web</artifactId> | |
| 79 | - <exclusions> | |
| 80 | - <exclusion> | |
| 81 | - <groupId>org.springframework.boot</groupId> | |
| 82 | - <artifactId>spring-boot-starter-jetty</artifactId> | |
| 83 | - </exclusion> | |
| 84 | - </exclusions> | |
| 85 | - </dependency> | |
| 86 | - <dependency> | |
| 87 | - <groupId>javax.servlet</groupId> | |
| 88 | - <artifactId>javax.servlet-api</artifactId> | |
| 89 | - <version>3.1.0</version> | |
| 90 | - <scope>provided</scope> | |
| 91 | - </dependency> | |
| 92 | - </dependencies> | |
| 93 | - </profile> | |
| 94 | - </profiles> | |
| 95 | - | |
| 96 | - <dependencies> | |
| 97 | - <dependency> | |
| 98 | - <groupId>org.springframework.boot</groupId> | |
| 99 | - <artifactId>spring-boot-starter-data-redis</artifactId> | |
| 100 | - </dependency> | |
| 101 | - <dependency> | |
| 102 | - <groupId>org.springframework.boot</groupId> | |
| 103 | - <artifactId>spring-boot-starter-web</artifactId> | |
| 104 | - </dependency> | |
| 105 | - <dependency> | |
| 106 | - <groupId>org.springframework.boot</groupId> | |
| 107 | - <artifactId>spring-boot-configuration-processor</artifactId> | |
| 108 | - <optional>true</optional> | |
| 109 | - </dependency> | |
| 110 | - <dependency> | |
| 111 | - <groupId>org.mybatis.spring.boot</groupId> | |
| 112 | - <artifactId>mybatis-spring-boot-starter</artifactId> | |
| 113 | - <version>2.2.2</version> | |
| 114 | - <exclusions> | |
| 115 | - <exclusion> | |
| 116 | - <groupId>com.zaxxer</groupId> | |
| 117 | - <artifactId>HikariCP</artifactId> | |
| 118 | - </exclusion> | |
| 119 | - </exclusions> | |
| 120 | - </dependency> | |
| 121 | - <dependency> | |
| 122 | - <groupId>org.springframework.boot</groupId> | |
| 123 | - <artifactId>spring-boot-starter-security</artifactId> | |
| 124 | - </dependency> | |
| 125 | - | |
| 126 | - <dependency> | |
| 127 | - <groupId>org.springframework.boot</groupId> | |
| 128 | - <artifactId>spring-boot-starter-jdbc</artifactId> | |
| 129 | - </dependency> | |
| 130 | - | |
| 131 | - <!-- mysql数据库 --> | |
| 132 | - <dependency> | |
| 133 | - <groupId>mysql</groupId> | |
| 134 | - <artifactId>mysql-connector-java</artifactId> | |
| 135 | - <version>8.0.30</version> | |
| 136 | - </dependency> | |
| 137 | - | |
| 138 | - <!--postgresql--> | |
| 139 | - <dependency> | |
| 140 | - <groupId>org.postgresql</groupId> | |
| 141 | - <artifactId>postgresql</artifactId> | |
| 142 | - <version>42.5.1</version> | |
| 143 | - </dependency> | |
| 144 | - | |
| 145 | - <!-- kingbase人大金仓 --> | |
| 146 | - <!-- 手动下载驱动后安装 --> | |
| 147 | - <!-- mvn install:install-file -Dfile=/home/lin/soft/kingbase/jdbc-aarch/kingbase8-8.6.0.jar -DgroupId=com.kingbase -DartifactId=kingbase8 -Dversion=8.6.0 -Dpackaging=jar | |
| 148 | - --> | |
| 149 | - <dependency> | |
| 150 | - <groupId>com.kingbase</groupId> | |
| 151 | - <artifactId>kingbase8</artifactId> | |
| 152 | - <version>8.6.0</version> | |
| 153 | - <scope>system</scope> | |
| 154 | - <systemPath>${basedir}/libs/jdbc-aarch/kingbase8-8.6.0.jar</systemPath> | |
| 155 | - </dependency> | |
| 156 | - | |
| 157 | - <!--Mybatis分页插件 --> | |
| 158 | - <dependency> | |
| 159 | - <groupId>com.github.pagehelper</groupId> | |
| 160 | - <artifactId>pagehelper-spring-boot-starter</artifactId> | |
| 161 | - <version>1.4.6</version> | |
| 162 | - </dependency> | |
| 163 | - | |
| 164 | - <!--在线文档 --> | |
| 165 | - <dependency> | |
| 166 | - <groupId>org.springdoc</groupId> | |
| 167 | - <artifactId>springdoc-openapi-ui</artifactId> | |
| 168 | - <version>1.6.10</version> | |
| 169 | - </dependency> | |
| 170 | - | |
| 171 | - <dependency> | |
| 172 | - <groupId>com.github.xiaoymin</groupId> | |
| 173 | - <artifactId>knife4j-springdoc-ui</artifactId> | |
| 174 | - <version>3.0.3</version> | |
| 175 | - </dependency> | |
| 176 | - | |
| 177 | - <!--参数校验 --> | |
| 178 | - <dependency> | |
| 179 | - <groupId>javax.validation</groupId> | |
| 180 | - <artifactId>validation-api</artifactId> | |
| 181 | - </dependency> | |
| 182 | - | |
| 183 | - <!-- 日志相关 --> | |
| 184 | - <dependency> | |
| 185 | - <groupId>org.springframework.boot</groupId> | |
| 186 | - <artifactId>spring-boot-starter-aop</artifactId> | |
| 187 | - </dependency> | |
| 188 | - | |
| 189 | - <!-- sip协议栈 --> | |
| 190 | - <dependency> | |
| 191 | - <groupId>javax.sip</groupId> | |
| 192 | - <artifactId>jain-sip-ri</artifactId> | |
| 193 | - <version>1.3.0-91</version> | |
| 194 | - </dependency> | |
| 195 | - | |
| 196 | - <!-- 取代log4j --> | |
| 197 | - <dependency> | |
| 198 | - <groupId>org.slf4j</groupId> | |
| 199 | - <artifactId>log4j-over-slf4j</artifactId> | |
| 200 | - <version>1.7.36</version> | |
| 201 | - </dependency> | |
| 202 | - | |
| 203 | - <!-- xml解析库 --> | |
| 204 | - <dependency> | |
| 205 | - <groupId>org.dom4j</groupId> | |
| 206 | - <artifactId>dom4j</artifactId> | |
| 207 | - <version>2.1.3</version> | |
| 208 | - </dependency> | |
| 209 | - | |
| 210 | - <dependency> | |
| 211 | - <groupId>com.google.guava</groupId> | |
| 212 | - <artifactId>guava</artifactId> | |
| 213 | - <version>20.0</version> | |
| 214 | - </dependency> | |
| 215 | - | |
| 216 | - <!-- json解析库fastjson2 --> | |
| 217 | - <dependency> | |
| 218 | - <groupId>com.alibaba.fastjson2</groupId> | |
| 219 | - <artifactId>fastjson2</artifactId> | |
| 220 | - <version>2.0.17</version> | |
| 221 | - </dependency> | |
| 222 | - <dependency> | |
| 223 | - <groupId>com.alibaba.fastjson2</groupId> | |
| 224 | - <artifactId>fastjson2-extension</artifactId> | |
| 225 | - <version>2.0.17</version> | |
| 226 | - </dependency> | |
| 227 | - | |
| 228 | - <!-- okhttp --> | |
| 229 | - <dependency> | |
| 230 | - <groupId>com.squareup.okhttp3</groupId> | |
| 231 | - <artifactId>okhttp</artifactId> | |
| 232 | - <version>4.10.0</version> | |
| 233 | - </dependency> | |
| 234 | - | |
| 235 | - <!-- okhttp 调试日志 --> | |
| 236 | - <dependency> | |
| 237 | - <groupId>com.squareup.okhttp3</groupId> | |
| 238 | - <artifactId>logging-interceptor</artifactId> | |
| 239 | - <version>4.10.0</version> | |
| 240 | - </dependency> | |
| 241 | - | |
| 242 | - <!-- okhttp-digest --> | |
| 243 | - <dependency> | |
| 244 | - <groupId>io.github.rburgst</groupId> | |
| 245 | - <artifactId>okhttp-digest</artifactId> | |
| 246 | - <version>2.7</version> | |
| 247 | - </dependency> | |
| 248 | - | |
| 249 | - <!-- https://mvnrepository.com/artifact/net.sf.kxml/kxml2 --> | |
| 250 | -<!-- <dependency>--> | |
| 251 | -<!-- <groupId>net.sf.kxml</groupId>--> | |
| 252 | -<!-- <artifactId>kxml2</artifactId>--> | |
| 253 | -<!-- <version>2.3.0</version>--> | |
| 254 | -<!-- </dependency>--> | |
| 255 | - | |
| 256 | - <!-- jwt实现 --> | |
| 257 | - <dependency> | |
| 258 | - <groupId>org.bitbucket.b_c</groupId> | |
| 259 | - <artifactId>jose4j</artifactId> | |
| 260 | - <version>0.9.3</version> | |
| 261 | - </dependency> | |
| 262 | - | |
| 263 | - <!--反向代理--> | |
| 264 | - <dependency> | |
| 265 | - <groupId>org.mitre.dsmiley.httpproxy</groupId> | |
| 266 | - <artifactId>smiley-http-proxy-servlet</artifactId> | |
| 267 | - <version>1.12.1</version> | |
| 268 | - </dependency> | |
| 269 | - | |
| 270 | - <!--excel解析库--> | |
| 271 | - <dependency> | |
| 272 | - <groupId>com.alibaba</groupId> | |
| 273 | - <artifactId>easyexcel</artifactId> | |
| 274 | - <version>3.1.1</version> | |
| 275 | - </dependency> | |
| 276 | - | |
| 277 | - <!-- 获取系统信息 --> | |
| 278 | - <dependency> | |
| 279 | - <groupId>com.github.oshi</groupId> | |
| 280 | - <artifactId>oshi-core</artifactId> | |
| 281 | - <version>6.2.2</version> | |
| 282 | - </dependency> | |
| 283 | - | |
| 284 | - <dependency> | |
| 285 | - <groupId>org.springframework.session</groupId> | |
| 286 | - <artifactId>spring-session-core</artifactId> | |
| 287 | - </dependency> | |
| 288 | - | |
| 289 | -<!-- <!– 检测文件编码 –>--> | |
| 290 | -<!-- <!– https://mvnrepository.com/artifact/cpdetector/cpdetector –>--> | |
| 291 | -<!-- <dependency>--> | |
| 292 | -<!-- <groupId>cpdetector</groupId>--> | |
| 293 | -<!-- <artifactId>cpdetector</artifactId>--> | |
| 294 | -<!-- <version>1.0.8</version>--> | |
| 295 | -<!-- </dependency>--> | |
| 296 | - | |
| 297 | - <!-- https://mvnrepository.com/artifact/com.google.guava/guava --> | |
| 298 | - <dependency> | |
| 299 | - <groupId>com.google.guava</groupId> | |
| 300 | - <artifactId>guava</artifactId> | |
| 301 | - <version>31.1-jre</version> | |
| 302 | - </dependency> | |
| 303 | - | |
| 304 | - | |
| 305 | - <dependency> | |
| 306 | - <groupId>org.springframework.boot</groupId> | |
| 307 | - <artifactId>spring-boot-starter-test</artifactId> | |
| 308 | -<!-- <scope>test</scope>--> | |
| 309 | - </dependency> | |
| 310 | - | |
| 311 | - </dependencies> | |
| 312 | - | |
| 313 | - | |
| 314 | - <build> | |
| 315 | - <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName> | |
| 316 | - <plugins> | |
| 317 | - <plugin> | |
| 318 | - <groupId>org.springframework.boot</groupId> | |
| 319 | - <artifactId>spring-boot-maven-plugin</artifactId> | |
| 320 | - <version>2.7.2</version> | |
| 321 | - <configuration> | |
| 322 | - <includeSystemScope>true</includeSystemScope> | |
| 323 | - </configuration> | |
| 324 | - </plugin> | |
| 325 | - <plugin> | |
| 326 | - <groupId>org.apache.maven.plugins</groupId> | |
| 327 | - <artifactId>maven-compiler-plugin</artifactId> | |
| 328 | - <version>3.8.1</version> | |
| 329 | - <configuration> | |
| 330 | - <source>1.8</source> | |
| 331 | - <target>1.8</target> | |
| 332 | - </configuration> | |
| 333 | - </plugin> | |
| 334 | - | |
| 335 | - <plugin> | |
| 336 | - <groupId>pl.project13.maven</groupId> | |
| 337 | - <artifactId>git-commit-id-plugin</artifactId> | |
| 338 | - <version>3.0.1</version> | |
| 339 | - <configuration> | |
| 340 | - <offline>true</offline> | |
| 341 | - <failOnNoGitDirectory>false</failOnNoGitDirectory> | |
| 342 | - <dateFormat>yyyyMMdd</dateFormat> | |
| 343 | - </configuration> | |
| 344 | - </plugin> | |
| 345 | - | |
| 346 | - <plugin> | |
| 347 | - <groupId>org.apache.maven.plugins</groupId> | |
| 348 | - <artifactId>maven-surefire-plugin</artifactId> | |
| 349 | - <version>2.22.2</version> | |
| 350 | - <configuration> | |
| 351 | - <skipTests>true</skipTests> | |
| 352 | - </configuration> | |
| 353 | - </plugin> | |
| 354 | - | |
| 355 | - </plugins> | |
| 356 | - <resources> | |
| 357 | - <resource> | |
| 358 | - <directory>src/main/resources</directory> | |
| 359 | - </resource> | |
| 360 | - <resource> | |
| 361 | - <directory>src/main/java</directory> | |
| 362 | - <includes> | |
| 363 | - <include>**/*.xml</include> | |
| 364 | - </includes> | |
| 365 | - </resource> | |
| 366 | - </resources> | |
| 367 | - </build> | |
| 2 | +<project | |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | |
| 4 | + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| 5 | + <modelVersion>4.0.0</modelVersion> | |
| 6 | + <parent> | |
| 7 | + <groupId>org.springframework.boot</groupId> | |
| 8 | + <artifactId>spring-boot-starter-parent</artifactId> | |
| 9 | + <version>2.7.17</version> | |
| 10 | + </parent> | |
| 11 | + | |
| 12 | + <groupId>com.genersoft</groupId> | |
| 13 | + <artifactId>wvp-pro</artifactId> | |
| 14 | + <version>2.6.9</version> | |
| 15 | + <name>web video platform</name> | |
| 16 | + <description>国标28181视频平台</description> | |
| 17 | + <packaging>${project.packaging}</packaging> | |
| 18 | + | |
| 19 | + <repositories> | |
| 20 | + <repository> | |
| 21 | + <id>nexus-aliyun</id> | |
| 22 | + <name>Nexus aliyun</name> | |
| 23 | + <url>https://maven.aliyun.com/repository/public</url> | |
| 24 | + <layout>default</layout> | |
| 25 | + <snapshots> | |
| 26 | + <enabled>false</enabled> | |
| 27 | + </snapshots> | |
| 28 | + <releases> | |
| 29 | + <enabled>true</enabled> | |
| 30 | + </releases> | |
| 31 | + </repository> | |
| 32 | + </repositories> | |
| 33 | + | |
| 34 | + <pluginRepositories> | |
| 35 | + <pluginRepository> | |
| 36 | + <id>nexus-aliyun</id> | |
| 37 | + <name>Nexus aliyun</name> | |
| 38 | + <url>https://maven.aliyun.com/repository/public</url> | |
| 39 | + <snapshots> | |
| 40 | + <enabled>false</enabled> | |
| 41 | + </snapshots> | |
| 42 | + <releases> | |
| 43 | + <enabled>true</enabled> | |
| 44 | + </releases> | |
| 45 | + </pluginRepository> | |
| 46 | + </pluginRepositories> | |
| 47 | + | |
| 48 | + <properties> | |
| 49 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| 50 | + <maven.build.timestamp.format>MMddHHmm</maven.build.timestamp.format> | |
| 51 | + <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> | |
| 52 | + | |
| 53 | + <!-- 依赖版本 --> | |
| 54 | + <snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory> | |
| 55 | + <asciidoctor.input.directory>${project.basedir}/docs/asciidoc</asciidoctor.input.directory> | |
| 56 | + <generated.asciidoc.directory>${project.build.directory}/asciidoc</generated.asciidoc.directory> | |
| 57 | + <asciidoctor.html.output.directory>${project.build.directory}/asciidoc/html</asciidoctor.html.output.directory> | |
| 58 | + <asciidoctor.pdf.output.directory>${project.build.directory}/asciidoc/pdf</asciidoctor.pdf.output.directory> | |
| 59 | + </properties> | |
| 60 | + | |
| 61 | + <profiles> | |
| 62 | + <profile> | |
| 63 | + <id>jar</id> | |
| 64 | + <activation> | |
| 65 | + <activeByDefault>true</activeByDefault> | |
| 66 | + </activation> | |
| 67 | + <properties> | |
| 68 | + <project.packaging>jar</project.packaging> | |
| 69 | + </properties> | |
| 70 | + </profile> | |
| 71 | + <profile> | |
| 72 | + <id>war</id> | |
| 73 | + <properties> | |
| 74 | + <project.packaging>war</project.packaging> | |
| 75 | + </properties> | |
| 76 | + <dependencies> | |
| 77 | + <dependency> | |
| 78 | + <groupId>org.springframework.boot</groupId> | |
| 79 | + <artifactId>spring-boot-starter-web</artifactId> | |
| 80 | + <exclusions> | |
| 81 | + <exclusion> | |
| 82 | + <groupId>org.springframework.boot</groupId> | |
| 83 | + <artifactId>spring-boot-starter-jetty</artifactId> | |
| 84 | + </exclusion> | |
| 85 | + </exclusions> | |
| 86 | + </dependency> | |
| 87 | + <dependency> | |
| 88 | + <groupId>javax.servlet</groupId> | |
| 89 | + <artifactId>javax.servlet-api</artifactId> | |
| 90 | + <version>3.1.0</version> | |
| 91 | + <scope>provided</scope> | |
| 92 | + </dependency> | |
| 93 | + </dependencies> | |
| 94 | + </profile> | |
| 95 | + </profiles> | |
| 96 | + | |
| 97 | + <dependencies> | |
| 98 | + <dependency> | |
| 99 | + <groupId>org.springframework.boot</groupId> | |
| 100 | + <artifactId>spring-boot-starter-data-redis</artifactId> | |
| 101 | + </dependency> | |
| 102 | + <dependency> | |
| 103 | + <groupId>org.springframework.boot</groupId> | |
| 104 | + <artifactId>spring-boot-starter-web</artifactId> | |
| 105 | + </dependency> | |
| 106 | + <dependency> | |
| 107 | + <groupId>org.springframework.boot</groupId> | |
| 108 | + <artifactId>spring-boot-configuration-processor</artifactId> | |
| 109 | + <optional>true</optional> | |
| 110 | + </dependency> | |
| 111 | + <dependency> | |
| 112 | + <groupId>org.mybatis.spring.boot</groupId> | |
| 113 | + <artifactId>mybatis-spring-boot-starter</artifactId> | |
| 114 | + <version>2.2.2</version> | |
| 115 | + <exclusions> | |
| 116 | + <exclusion> | |
| 117 | + <groupId>com.zaxxer</groupId> | |
| 118 | + <artifactId>HikariCP</artifactId> | |
| 119 | + </exclusion> | |
| 120 | + </exclusions> | |
| 121 | + </dependency> | |
| 122 | + <dependency> | |
| 123 | + <groupId>org.springframework.boot</groupId> | |
| 124 | + <artifactId>spring-boot-starter-security</artifactId> | |
| 125 | + </dependency> | |
| 126 | + | |
| 127 | + <dependency> | |
| 128 | + <groupId>org.springframework.boot</groupId> | |
| 129 | + <artifactId>spring-boot-starter-jdbc</artifactId> | |
| 130 | + </dependency> | |
| 131 | + | |
| 132 | + <!-- mysql数据库 --> | |
| 133 | + <dependency> | |
| 134 | + <groupId>com.mysql</groupId> | |
| 135 | + <artifactId>mysql-connector-j</artifactId> | |
| 136 | + <version>8.2.0</version> | |
| 137 | + </dependency> | |
| 138 | + | |
| 139 | + <!--postgresql--> | |
| 140 | + <dependency> | |
| 141 | + <groupId>org.postgresql</groupId> | |
| 142 | + <artifactId>postgresql</artifactId> | |
| 143 | + <version>42.5.1</version> | |
| 144 | + </dependency> | |
| 145 | + | |
| 146 | + <!-- kingbase人大金仓 --> | |
| 147 | + <!-- 手动下载驱动后安装 --> | |
| 148 | + <!-- mvn install:install-file -Dfile=/home/lin/soft/kingbase/jdbc-aarch/kingbase8-8.6.0.jar -DgroupId=com.kingbase -DartifactId=kingbase8 | |
| 149 | + -Dversion=8.6.0 -Dpackaging=jar --> | |
| 150 | + <dependency> | |
| 151 | + <groupId>com.kingbase</groupId> | |
| 152 | + <artifactId>kingbase8</artifactId> | |
| 153 | + <version>8.6.0</version> | |
| 154 | + <scope>system</scope> | |
| 155 | + <systemPath>${basedir}/libs/jdbc-aarch/kingbase8-8.6.0.jar</systemPath> | |
| 156 | + </dependency> | |
| 157 | + | |
| 158 | + <!--Mybatis分页插件 --> | |
| 159 | + <dependency> | |
| 160 | + <groupId>com.github.pagehelper</groupId> | |
| 161 | + <artifactId>pagehelper-spring-boot-starter</artifactId> | |
| 162 | + <version>1.4.6</version> | |
| 163 | + </dependency> | |
| 164 | + | |
| 165 | + <!--在线文档 --> | |
| 166 | + <dependency> | |
| 167 | + <groupId>org.springdoc</groupId> | |
| 168 | + <artifactId>springdoc-openapi-ui</artifactId> | |
| 169 | + <version>1.7.0</version> | |
| 170 | + <exclusions> | |
| 171 | + <exclusion> | |
| 172 | + <groupId>org.yaml</groupId> | |
| 173 | + <artifactId>snakeyaml</artifactId> | |
| 174 | + </exclusion> | |
| 175 | + </exclusions> | |
| 176 | + </dependency> | |
| 177 | + <dependency> | |
| 178 | + <groupId>org.yaml</groupId> | |
| 179 | + <artifactId>snakeyaml</artifactId> | |
| 180 | + <version>2.2</version> | |
| 181 | + </dependency> | |
| 182 | + | |
| 183 | + <dependency> | |
| 184 | + <groupId>com.github.xiaoymin</groupId> | |
| 185 | + <artifactId>knife4j-springdoc-ui</artifactId> | |
| 186 | + <version>3.0.3</version> | |
| 187 | + </dependency> | |
| 188 | + | |
| 189 | + <!--参数校验 --> | |
| 190 | + <dependency> | |
| 191 | + <groupId>javax.validation</groupId> | |
| 192 | + <artifactId>validation-api</artifactId> | |
| 193 | + </dependency> | |
| 194 | + | |
| 195 | + <!-- 日志相关 --> | |
| 196 | + <dependency> | |
| 197 | + <groupId>org.springframework.boot</groupId> | |
| 198 | + <artifactId>spring-boot-starter-aop</artifactId> | |
| 199 | + </dependency> | |
| 200 | + | |
| 201 | + <!-- sip协议栈 --> | |
| 202 | + <dependency> | |
| 203 | + <groupId>javax.sip</groupId> | |
| 204 | + <artifactId>jain-sip-ri</artifactId> | |
| 205 | + <version>1.3.0-91</version> | |
| 206 | + </dependency> | |
| 207 | + | |
| 208 | + <!-- 取代log4j --> | |
| 209 | + <dependency> | |
| 210 | + <groupId>org.slf4j</groupId> | |
| 211 | + <artifactId>log4j-over-slf4j</artifactId> | |
| 212 | + <version>1.7.36</version> | |
| 213 | + </dependency> | |
| 214 | + | |
| 215 | + <!-- xml解析库 --> | |
| 216 | + <dependency> | |
| 217 | + <groupId>org.dom4j</groupId> | |
| 218 | + <artifactId>dom4j</artifactId> | |
| 219 | + <version>2.1.3</version> | |
| 220 | + </dependency> | |
| 221 | + | |
| 222 | + <!-- json解析库fastjson2 --> | |
| 223 | + <dependency> | |
| 224 | + <groupId>com.alibaba.fastjson2</groupId> | |
| 225 | + <artifactId>fastjson2</artifactId> | |
| 226 | + <version>2.0.17</version> | |
| 227 | + </dependency> | |
| 228 | + <dependency> | |
| 229 | + <groupId>com.alibaba.fastjson2</groupId> | |
| 230 | + <artifactId>fastjson2-extension</artifactId> | |
| 231 | + <version>2.0.17</version> | |
| 232 | + </dependency> | |
| 233 | + | |
| 234 | + <!-- okhttp --> | |
| 235 | + <dependency> | |
| 236 | + <groupId>com.squareup.okhttp3</groupId> | |
| 237 | + <artifactId>okhttp</artifactId> | |
| 238 | + <version>4.10.0</version> | |
| 239 | + </dependency> | |
| 240 | + | |
| 241 | + <!-- okhttp 调试日志 --> | |
| 242 | + <dependency> | |
| 243 | + <groupId>com.squareup.okhttp3</groupId> | |
| 244 | + <artifactId>logging-interceptor</artifactId> | |
| 245 | + <version>4.10.0</version> | |
| 246 | + </dependency> | |
| 247 | + | |
| 248 | + <!-- okhttp-digest --> | |
| 249 | + <dependency> | |
| 250 | + <groupId>io.github.rburgst</groupId> | |
| 251 | + <artifactId>okhttp-digest</artifactId> | |
| 252 | + <version>2.7</version> | |
| 253 | + </dependency> | |
| 254 | + | |
| 255 | + <!-- https://mvnrepository.com/artifact/net.sf.kxml/kxml2 --> | |
| 256 | + <!-- <dependency>--> | |
| 257 | + <!-- <groupId>net.sf.kxml</groupId>--> | |
| 258 | + <!-- <artifactId>kxml2</artifactId>--> | |
| 259 | + <!-- <version>2.3.0</version>--> | |
| 260 | + <!-- </dependency>--> | |
| 261 | + | |
| 262 | + <!-- jwt实现 --> | |
| 263 | + <dependency> | |
| 264 | + <groupId>org.bitbucket.b_c</groupId> | |
| 265 | + <artifactId>jose4j</artifactId> | |
| 266 | + <version>0.9.3</version> | |
| 267 | + </dependency> | |
| 268 | + | |
| 269 | + <!--反向代理--> | |
| 270 | + <dependency> | |
| 271 | + <groupId>org.mitre.dsmiley.httpproxy</groupId> | |
| 272 | + <artifactId>smiley-http-proxy-servlet</artifactId> | |
| 273 | + <version>1.12.1</version> | |
| 274 | + </dependency> | |
| 275 | + | |
| 276 | + <!--excel解析库--> | |
| 277 | + <dependency> | |
| 278 | + <groupId>com.alibaba</groupId> | |
| 279 | + <artifactId>easyexcel</artifactId> | |
| 280 | + <version>3.3.2</version> | |
| 281 | + <exclusions> | |
| 282 | + <exclusion> | |
| 283 | + <groupId>org.apache.commons</groupId> | |
| 284 | + <artifactId>commons-compress</artifactId> | |
| 285 | + </exclusion> | |
| 286 | + </exclusions> | |
| 287 | + </dependency> | |
| 288 | + <dependency> | |
| 289 | + <groupId>org.apache.commons</groupId> | |
| 290 | + <artifactId>commons-compress</artifactId> | |
| 291 | + <version>1.24.0</version> | |
| 292 | + </dependency> | |
| 293 | + | |
| 294 | + <!-- 获取系统信息 --> | |
| 295 | + <dependency> | |
| 296 | + <groupId>com.github.oshi</groupId> | |
| 297 | + <artifactId>oshi-core</artifactId> | |
| 298 | + <version>6.2.2</version> | |
| 299 | + </dependency> | |
| 300 | + | |
| 301 | + <dependency> | |
| 302 | + <groupId>org.springframework.session</groupId> | |
| 303 | + <artifactId>spring-session-core</artifactId> | |
| 304 | + </dependency> | |
| 305 | + | |
| 306 | + <!-- 检测文件编码 --> | |
| 307 | + <!-- https://mvnrepository.com/artifact/cpdetector/cpdetector --> | |
| 308 | + <!--<dependency>--> | |
| 309 | + <!-- <groupId>cpdetector</groupId>--> | |
| 310 | + <!-- <artifactId>cpdetector</artifactId>--> | |
| 311 | + <!-- <version>1.0.8</version>--> | |
| 312 | + <!--</dependency>--> | |
| 313 | + | |
| 314 | + <!-- https://mvnrepository.com/artifact/com.google.guava/guava --> | |
| 315 | + <dependency> | |
| 316 | + <groupId>com.google.guava</groupId> | |
| 317 | + <artifactId>guava</artifactId> | |
| 318 | + <version>32.1.3-jre</version> | |
| 319 | + </dependency> | |
| 320 | + | |
| 321 | + <dependency> | |
| 322 | + <groupId>org.springframework.boot</groupId> | |
| 323 | + <artifactId>spring-boot-starter-test</artifactId> | |
| 324 | + <scope>test</scope> | |
| 325 | + </dependency> | |
| 326 | + </dependencies> | |
| 327 | + | |
| 328 | + <build> | |
| 329 | + <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName> | |
| 330 | + <plugins> | |
| 331 | + <plugin> | |
| 332 | + <groupId>org.springframework.boot</groupId> | |
| 333 | + <artifactId>spring-boot-maven-plugin</artifactId> | |
| 334 | + <version>2.7.2</version> | |
| 335 | + <configuration> | |
| 336 | + <includeSystemScope>true</includeSystemScope> | |
| 337 | + </configuration> | |
| 338 | + </plugin> | |
| 339 | + | |
| 340 | + <plugin> | |
| 341 | + <groupId>org.apache.maven.plugins</groupId> | |
| 342 | + <artifactId>maven-compiler-plugin</artifactId> | |
| 343 | + <version>3.8.1</version> | |
| 344 | + <configuration> | |
| 345 | + <source>1.8</source> | |
| 346 | + <target>1.8</target> | |
| 347 | + </configuration> | |
| 348 | + </plugin> | |
| 349 | + | |
| 350 | + <plugin> | |
| 351 | + <groupId>pl.project13.maven</groupId> | |
| 352 | + <artifactId>git-commit-id-plugin</artifactId> | |
| 353 | + <version>3.0.1</version> | |
| 354 | + <configuration> | |
| 355 | + <offline>true</offline> | |
| 356 | + <failOnNoGitDirectory>false</failOnNoGitDirectory> | |
| 357 | + <dateFormat>yyyyMMdd</dateFormat> | |
| 358 | + </configuration> | |
| 359 | + </plugin> | |
| 360 | + | |
| 361 | + <plugin> | |
| 362 | + <groupId>org.apache.maven.plugins</groupId> | |
| 363 | + <artifactId>maven-surefire-plugin</artifactId> | |
| 364 | + <version>2.22.2</version> | |
| 365 | + <configuration> | |
| 366 | + <skipTests>true</skipTests> | |
| 367 | + </configuration> | |
| 368 | + </plugin> | |
| 369 | + </plugins> | |
| 370 | + <resources> | |
| 371 | + <resource> | |
| 372 | + <directory>src/main/resources</directory> | |
| 373 | + </resource> | |
| 374 | + <resource> | |
| 375 | + <directory>src/main/java</directory> | |
| 376 | + <includes> | |
| 377 | + <include>**/*.xml</include> | |
| 378 | + </includes> | |
| 379 | + </resource> | |
| 380 | + </resources> | |
| 381 | + </build> | |
| 368 | 382 | </project> | ... | ... |