|
8 | 8 | <version>1.0.x.20260630-SNAPSHOT</version> |
9 | 9 | <packaging>jar</packaging> |
10 | 10 | <description>OpenCLI multi-adapter CLI integration SDK — 1.0.x line (JDK 8; for Boot 2.x starters)</description> |
11 | | - |
12 | 11 | <!-- 开源协议采用 Apache 2.0 协议 --> |
13 | 12 | <licenses> |
14 | 13 | <license> |
15 | 14 | <name>The Apache Software License, Version 2.0</name> |
16 | 15 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
17 | 16 | </license> |
18 | 17 | </licenses> |
19 | | - |
20 | 18 | <!-- 源码仓库(SCM)信息 --> |
21 | 19 | <scm> |
22 | 20 | <connection>scm:git:https://github.com/easy-4-java/${project.artifactId}.git</connection> |
23 | 21 | <developerConnection>scm:git:https://github.com/easy-4-java/${project.artifactId}.git</developerConnection> |
24 | 22 | <url>https://github.com/easy-4-java/${project.artifactId}</url> |
25 | 23 | <tag>${project.artifactId}</tag> |
26 | 24 | </scm> |
27 | | - |
28 | 25 | <!-- 开发者信息 --> |
29 | 26 | <developers> |
30 | 27 | <developer> |
|
37 | 34 | <timezone>+8</timezone> |
38 | 35 | </developer> |
39 | 36 | </developers> |
40 | | - |
41 | 37 | <!-- 制品发布仓库配置(distributionManagement) --> |
42 | 38 | <distributionManagement> |
43 | 39 | <repository> |
|
49 | 45 | <url>https://packages.aliyun.com/6927b116e6c3e0425dbdf60d/maven/2624322-snapshot-3eoov3</url> |
50 | 46 | </snapshotRepository> |
51 | 47 | </distributionManagement> |
52 | | - |
53 | 48 | <!-- 版本属性定义:Java 版本、依赖版本与 Maven 插件版本统一管理 --> |
54 | 49 | <properties> |
55 | 50 | <!-- ═══ 第一段: 基础属性(自然排序)═══ --> |
|
84 | 79 | <maven-resources-plugin.version>3.5.0</maven-resources-plugin.version> |
85 | 80 | <maven-source-plugin.version>3.4.0</maven-source-plugin.version> |
86 | 81 | <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> |
87 | | - |
88 | 82 | </properties> |
89 | | - |
90 | | - |
91 | 83 | <!-- 依赖版本统一管理(dependencyManagement) --> |
92 | 84 | <dependencyManagement> |
93 | 85 | <dependencies> |
|
143 | 135 | </dependency> |
144 | 136 | </dependencies> |
145 | 137 | </dependencyManagement> |
146 | | - |
147 | 138 | <!-- 项目依赖(dependencies) --> |
148 | 139 | <dependencies> |
149 | 140 | <!-- For Jackson --> |
|
184 | 175 | <scope>test</scope> |
185 | 176 | </dependency> |
186 | 177 | </dependencies> |
187 | | - |
188 | 178 | <!-- 构建配置(Build) --> |
189 | 179 | <build> |
190 | 180 | <pluginManagement> |
191 | 181 | <plugins> |
192 | | - |
193 | 182 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-clean-plugin --> |
194 | 183 | <plugin> |
195 | 184 | <!-- 清理插件:清理构建输出目录 --> |
196 | 185 | <groupId>org.apache.maven.plugins</groupId> |
197 | 186 | <artifactId>maven-clean-plugin</artifactId> |
198 | 187 | <version>${maven-clean-plugin.version}</version> |
199 | 188 | </plugin> |
200 | | - |
201 | 189 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin --> |
202 | 190 | <plugin> |
203 | 191 | <!-- 编译插件:编译主代码至主输出目录 --> |
|
218 | 206 | </annotationProcessorPaths> |
219 | 207 | </configuration> |
220 | 208 | </plugin> |
221 | | - |
222 | 209 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-deploy-plugin --> |
223 | 210 | <plugin> |
224 | 211 | <!-- 发布插件:将项目输出构件部署到远程仓库 --> |
225 | 212 | <groupId>org.apache.maven.plugins</groupId> |
226 | 213 | <artifactId>maven-deploy-plugin</artifactId> |
227 | 214 | <version>${maven-deploy-plugin.version}</version> |
228 | 215 | </plugin> |
229 | | - |
230 | 216 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin --> |
231 | 217 | <plugin> |
232 | 218 | <!-- 环境检查插件:代码编译前的环境监察 --> |
|
255 | 241 | </execution> |
256 | 242 | </executions> |
257 | 243 | </plugin> |
258 | | - |
259 | 244 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin --> |
260 | 245 | <plugin> |
261 | 246 | <!-- 签名插件:对制品进行 PGP 签名 --> |
|
272 | 257 | </execution> |
273 | 258 | </executions> |
274 | 259 | </plugin> |
275 | | - |
276 | 260 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-install-plugin --> |
277 | 261 | <plugin> |
278 | 262 | <!-- 安装插件:将项目输出构件安装到本地仓库 --> |
279 | 263 | <groupId>org.apache.maven.plugins</groupId> |
280 | 264 | <artifactId>maven-install-plugin</artifactId> |
281 | 265 | <version>${maven-install-plugin.version}</version> |
282 | 266 | </plugin> |
283 | | - |
284 | 267 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin --> |
285 | 268 | <plugin> |
286 | 269 | <!-- 资源插件:复制主资源文件至主输出目录 --> |
|
291 | 274 | <encoding>${project.build.sourceEncoding}</encoding> |
292 | 275 | </configuration> |
293 | 276 | </plugin> |
294 | | - |
295 | 277 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin --> |
296 | 278 | <plugin> |
297 | 279 | <!-- 发布管理插件:版本发布与标签管理 --> |
|
306 | 288 | <goals>deploy</goals> |
307 | 289 | </configuration> |
308 | 290 | </plugin> |
309 | | - |
310 | 291 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin --> |
311 | 292 | <plugin> |
312 | 293 | <!-- 源码插件:发布时自动将源码同时发布 --> |
|
325 | 306 | </execution> |
326 | 307 | </executions> |
327 | 308 | </plugin> |
328 | | - |
329 | 309 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin --> |
330 | 310 | <plugin> |
331 | 311 | <!-- 单元测试插件:执行测试用例 --> |
|
347 | 327 | </excludes> |
348 | 328 | </configuration> |
349 | 329 | </plugin> |
350 | | - |
351 | 330 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin --> |
352 | 331 | <plugin> |
353 | 332 | <!-- jar 包生成插件:创建项目 jar 包 --> |
|
364 | 343 | </archive> |
365 | 344 | </configuration> |
366 | 345 | </plugin> |
367 | | - |
368 | 346 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin --> |
369 | 347 | <plugin> |
370 | 348 | <!-- 文档插件:发布时自动生成 Javadoc 并发布 --> |
|
387 | 365 | </execution> |
388 | 366 | </executions> |
389 | 367 | </plugin> |
390 | | - |
391 | 368 | <!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin --> |
392 | 369 | <plugin> |
393 | 370 | <!-- 发布插件:将制品发布到 Maven Central Portal --> |
|
404 | 381 | </plugins> |
405 | 382 | </pluginManagement> |
406 | 383 | <plugins> |
407 | | - |
408 | 384 | <!-- https://mvnrepository.com/artifact/org.jacoco/jacoco-maven-plugin --> |
409 | 385 | <plugin> |
410 | 386 | <!-- 覆盖率插件:生成覆盖率报告并校验测试覆盖率(目标 90%) --> |
|
449 | 425 | </execution> |
450 | 426 | </executions> |
451 | 427 | </plugin> |
452 | | - |
453 | 428 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin --> |
454 | 429 | <plugin> |
455 | 430 | <!-- 编译插件:编译主代码至主输出目录 --> |
|
472 | 447 | </plugin> |
473 | 448 | </plugins> |
474 | 449 | </build> |
475 | | - |
476 | 450 | <!-- 构建 Profile 配置 --> |
477 | 451 | <profiles> |
478 | 452 | <profile> |
479 | 453 | <id>disable-javadoc-doclint</id> |
480 | 454 | <activation> |
481 | 455 | <jdk>[1.8,)</jdk> |
482 | 456 | </activation> |
483 | | - <properties> |
484 | | - <!-- Dependency versions --> |
485 | | - <additionalparam>-Xdoclint:none -Xlint:unchecked</additionalparam> |
486 | | - |
487 | | - </properties> |
488 | | - |
| 457 | + <properties> |
| 458 | + <!-- Dependency versions --> |
| 459 | + <additionalparam>-Xdoclint:none -Xlint:unchecked</additionalparam> |
| 460 | + </properties> |
489 | 461 | </profile> |
490 | 462 | <!-- 发布到 Maven Central Portal:mvn -Prelease deploy(GPG 签名 + 源码 + Javadoc + Central 发布插件) --> |
491 | | - |
492 | 463 | <profile> |
493 | 464 | <id>release</id> |
494 | 465 | <build> |
495 | 466 | <plugins> |
496 | | - |
497 | 467 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin --> |
498 | 468 | <plugin> |
499 | 469 | <!-- 环境检查插件:代码编译前的环境监察 --> |
500 | 470 | <groupId>org.apache.maven.plugins</groupId> |
501 | 471 | <artifactId>maven-enforcer-plugin</artifactId> |
502 | 472 | </plugin> |
503 | | - |
504 | 473 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin --> |
505 | 474 | <plugin> |
506 | 475 | <!-- 编译插件:编译主代码至主输出目录 --> |
507 | 476 | <groupId>org.apache.maven.plugins</groupId> |
508 | 477 | <artifactId>maven-compiler-plugin</artifactId> |
509 | 478 | </plugin> |
510 | | - |
511 | 479 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin --> |
512 | 480 | <plugin> |
513 | 481 | <!-- 资源插件:复制主资源文件至主输出目录 --> |
514 | 482 | <groupId>org.apache.maven.plugins</groupId> |
515 | 483 | <artifactId>maven-resources-plugin</artifactId> |
516 | 484 | </plugin> |
517 | | - |
518 | 485 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin --> |
519 | 486 | <plugin> |
520 | 487 | <!-- 单元测试插件:执行测试用例 --> |
521 | 488 | <groupId>org.apache.maven.plugins</groupId> |
522 | 489 | <artifactId>maven-surefire-plugin</artifactId> |
523 | 490 | </plugin> |
524 | | - |
525 | 491 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin --> |
526 | 492 | <plugin> |
527 | 493 | <!-- jar 包生成插件:创建项目 jar 包 --> |
528 | 494 | <groupId>org.apache.maven.plugins</groupId> |
529 | 495 | <artifactId>maven-jar-plugin</artifactId> |
530 | 496 | </plugin> |
531 | | - |
532 | 497 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin --> |
533 | 498 | <plugin> |
534 | 499 | <!-- 源码插件:发布时自动将源码同时发布 --> |
535 | 500 | <groupId>org.apache.maven.plugins</groupId> |
536 | 501 | <artifactId>maven-source-plugin</artifactId> |
537 | 502 | </plugin> |
538 | | - |
539 | 503 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin --> |
540 | 504 | <plugin> |
541 | 505 | <!-- 文档插件:发布时自动生成 Javadoc 并发布 --> |
542 | 506 | <groupId>org.apache.maven.plugins</groupId> |
543 | 507 | <artifactId>maven-javadoc-plugin</artifactId> |
544 | 508 | </plugin> |
545 | | - |
546 | 509 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-install-plugin --> |
547 | 510 | <plugin> |
548 | 511 | <!-- 安装插件:将项目输出构件安装到本地仓库 --> |
549 | 512 | <groupId>org.apache.maven.plugins</groupId> |
550 | 513 | <artifactId>maven-install-plugin</artifactId> |
551 | 514 | </plugin> |
552 | | - |
553 | 515 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin --> |
554 | 516 | <plugin> |
555 | 517 | <!-- 签名插件:对制品进行 PGP 签名 --> |
556 | 518 | <groupId>org.apache.maven.plugins</groupId> |
557 | 519 | <artifactId>maven-gpg-plugin</artifactId> |
558 | 520 | </plugin> |
559 | | - |
560 | 521 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-deploy-plugin --> |
561 | 522 | <plugin> |
562 | 523 | <!-- 发布插件:将项目输出构件部署到远程仓库 --> |
563 | 524 | <groupId>org.apache.maven.plugins</groupId> |
564 | 525 | <artifactId>maven-deploy-plugin</artifactId> |
565 | 526 | </plugin> |
566 | | - |
567 | 527 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin --> |
568 | 528 | <plugin> |
569 | 529 | <!-- 发布管理插件:版本发布与标签管理 --> |
570 | 530 | <groupId>org.apache.maven.plugins</groupId> |
571 | 531 | <artifactId>maven-release-plugin</artifactId> |
572 | 532 | </plugin> |
573 | | - |
574 | 533 | <!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin --> |
575 | 534 | <plugin> |
576 | 535 | <!-- 发布插件:将制品发布到 Maven Central Portal --> |
|
0 commit comments