|
8 | 8 | <description>OpenClaw external integration SDK (HTTP Gateway + local CLI)</description> |
9 | 9 | <version>1.0.x.20260730-SNAPSHOT</version> |
10 | 10 | <packaging>jar</packaging> |
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>https://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 | <!-- 版本属性定义:Java 版本、依赖版本与 Maven 插件版本统一管理 --> |
42 | 38 | <properties> |
43 | 39 | <!-- ═══ 第一段: 基础属性(自然排序)═══ --> |
|
73 | 69 | <maven-resources-plugin.version>3.5.0</maven-resources-plugin.version> |
74 | 70 | <maven-source-plugin.version>3.4.0</maven-source-plugin.version> |
75 | 71 | <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> |
76 | | - |
77 | 72 | </properties> |
78 | | - |
79 | 73 | <!-- 依赖版本统一管理(dependencyManagement) --> |
80 | 74 | <dependencyManagement> |
81 | 75 | <dependencies> |
|
143 | 137 | </dependency> |
144 | 138 | </dependencies> |
145 | 139 | </dependencyManagement> |
146 | | - |
147 | 140 | <!-- 项目依赖(dependencies) --> |
148 | 141 | <dependencies> |
149 | 142 | <dependency> |
|
198 | 191 | <scope>test</scope> |
199 | 192 | </dependency> |
200 | 193 | </dependencies> |
201 | | - |
202 | 194 | <!-- 制品发布仓库配置(distributionManagement) --> |
203 | 195 | <distributionManagement> |
204 | 196 | <repository> |
|
210 | 202 | <url>https://packages.aliyun.com/6927b116e6c3e0425dbdf60d/maven/2624322-snapshot-3eoov3</url> |
211 | 203 | </snapshotRepository> |
212 | 204 | </distributionManagement> |
213 | | - |
214 | 205 | <!-- 构建配置(Build) --> |
215 | 206 | <build> |
216 | 207 | <pluginManagement> |
217 | 208 | <plugins> |
218 | | - |
219 | 209 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin --> |
220 | 210 | <plugin> |
221 | 211 | <!-- 编译插件:编译主代码至主输出目录 --> |
|
230 | 220 | <maxmem>512M</maxmem> |
231 | 221 | </configuration> |
232 | 222 | </plugin> |
233 | | - |
234 | 223 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-deploy-plugin --> |
235 | 224 | <plugin> |
236 | 225 | <!-- 发布插件:将项目输出构件部署到远程仓库 --> |
237 | 226 | <groupId>org.apache.maven.plugins</groupId> |
238 | 227 | <artifactId>maven-deploy-plugin</artifactId> |
239 | 228 | <version>${maven-deploy-plugin.version}</version> |
240 | 229 | </plugin> |
241 | | - |
242 | 230 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin --> |
243 | 231 | <plugin> |
244 | 232 | <!-- 环境检查插件:代码编译前的环境监察 --> |
|
271 | 259 | </execution> |
272 | 260 | </executions> |
273 | 261 | </plugin> |
274 | | - |
275 | 262 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin --> |
276 | 263 | <plugin> |
277 | 264 | <!-- 签名插件:对制品进行 PGP 签名 --> |
|
288 | 275 | </execution> |
289 | 276 | </executions> |
290 | 277 | </plugin> |
291 | | - |
292 | 278 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-install-plugin --> |
293 | 279 | <plugin> |
294 | 280 | <!-- 安装插件:将项目输出构件安装到本地仓库 --> |
295 | 281 | <groupId>org.apache.maven.plugins</groupId> |
296 | 282 | <artifactId>maven-install-plugin</artifactId> |
297 | 283 | <version>${maven-install-plugin.version}</version> |
298 | 284 | </plugin> |
299 | | - |
300 | 285 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin --> |
301 | 286 | <plugin> |
302 | 287 | <!-- 资源插件:复制主资源文件至主输出目录 --> |
|
307 | 292 | <encoding>${project.build.sourceEncoding}</encoding> |
308 | 293 | </configuration> |
309 | 294 | </plugin> |
310 | | - |
311 | 295 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin --> |
312 | 296 | <plugin> |
313 | 297 | <!-- 发布管理插件:版本发布与标签管理 --> |
|
322 | 306 | <goals>deploy</goals> |
323 | 307 | </configuration> |
324 | 308 | </plugin> |
325 | | - |
326 | 309 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin --> |
327 | 310 | <plugin> |
328 | 311 | <!-- 源码插件:发布时自动将源码同时发布 --> |
|
338 | 321 | </execution> |
339 | 322 | </executions> |
340 | 323 | </plugin> |
341 | | - |
342 | 324 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin --> |
343 | 325 | <plugin> |
344 | 326 | <!-- 单元测试插件:执行测试用例 --> |
|
360 | 342 | </excludes> |
361 | 343 | </configuration> |
362 | 344 | </plugin> |
363 | | - |
364 | 345 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin --> |
365 | 346 | <plugin> |
366 | 347 | <!-- jar 包生成插件:创建项目 jar 包 --> |
|
377 | 358 | </archive> |
378 | 359 | </configuration> |
379 | 360 | </plugin> |
380 | | - |
381 | 361 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin --> |
382 | 362 | <plugin> |
383 | 363 | <!-- 文档插件:发布时自动生成 Javadoc 并发布 --> |
|
400 | 380 | </execution> |
401 | 381 | </executions> |
402 | 382 | </plugin> |
403 | | - |
404 | 383 | <!-- https://mvnrepository.com/artifact/org.sonatype.plugins/nexus-staging-maven-plugin --> |
405 | 384 | <plugin> |
406 | 385 | <groupId>org.sonatype.plugins</groupId> |
|
416 | 395 | <detectBuildFailures>true</detectBuildFailures> |
417 | 396 | </configuration> |
418 | 397 | </plugin> |
419 | | - |
420 | 398 | <!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin --> |
421 | 399 | <plugin> |
422 | 400 | <!-- 发布插件:将制品发布到 Maven Central Portal --> |
|
433 | 411 | </plugins> |
434 | 412 | </pluginManagement> |
435 | 413 | <plugins> |
436 | | - |
437 | 414 | <!-- https://mvnrepository.com/artifact/org.jacoco/jacoco-maven-plugin --> |
438 | 415 | <plugin> |
439 | 416 | <!-- 覆盖率插件:生成覆盖率报告并校验测试覆盖率(目标 90%) --> |
|
478 | 455 | </execution> |
479 | 456 | </executions> |
480 | 457 | </plugin> |
481 | | - |
482 | 458 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin --> |
483 | 459 | <plugin> |
484 | 460 | <!-- 编译插件:编译主代码至主输出目录 --> |
|
501 | 477 | </plugin> |
502 | 478 | </plugins> |
503 | 479 | </build> |
504 | | - |
505 | 480 | <!-- 构建 Profile 配置 --> |
506 | 481 | <profiles> |
507 | 482 | <profile> |
|
512 | 487 | <properties> |
513 | 488 | <maven-central-publishing-plugin.version>0.11.0</maven-central-publishing-plugin.version> |
514 | 489 | <additionalparam>-Xdoclint:none -Xlint:unchecked</additionalparam> |
515 | | - |
516 | | - <junit.version>4.13.2</junit.version> |
517 | | - <slf4j.version>2.0.18</slf4j.version> |
518 | | - <lombok.version>1.18.46</lombok.version> |
519 | | - <jackson.version>2.18.9</jackson.version> |
520 | | - <commons-lang.version>2.6</commons-lang.version> |
521 | | - |
522 | | - </properties> |
| 490 | + <junit.version>4.13.2</junit.version> |
| 491 | + <slf4j.version>2.0.18</slf4j.version> |
| 492 | + <lombok.version>1.18.46</lombok.version> |
| 493 | + <jackson.version>2.18.9</jackson.version> |
| 494 | + <commons-lang.version>2.6</commons-lang.version> |
| 495 | + </properties> |
523 | 496 | </profile> |
524 | 497 | <!-- 发布到 Maven Central Portal:mvn -Prelease deploy(GPG 签名 + 源码 + Javadoc + Central 发布插件) --> |
525 | | - |
526 | 498 | <profile> |
527 | 499 | <id>release</id> |
528 | 500 | <build> |
529 | 501 | <plugins> |
530 | | - |
531 | 502 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin --> |
532 | 503 | <plugin> |
533 | 504 | <!-- 环境检查插件:代码编译前的环境监察 --> |
534 | 505 | <groupId>org.apache.maven.plugins</groupId> |
535 | 506 | <artifactId>maven-enforcer-plugin</artifactId> |
536 | 507 | </plugin> |
537 | | - |
538 | 508 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin --> |
539 | 509 | <plugin> |
540 | 510 | <!-- 编译插件:编译主代码至主输出目录 --> |
541 | 511 | <groupId>org.apache.maven.plugins</groupId> |
542 | 512 | <artifactId>maven-compiler-plugin</artifactId> |
543 | 513 | </plugin> |
544 | | - |
545 | 514 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin --> |
546 | 515 | <plugin> |
547 | 516 | <!-- 资源插件:复制主资源文件至主输出目录 --> |
548 | 517 | <groupId>org.apache.maven.plugins</groupId> |
549 | 518 | <artifactId>maven-resources-plugin</artifactId> |
550 | 519 | </plugin> |
551 | | - |
552 | 520 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin --> |
553 | 521 | <plugin> |
554 | 522 | <!-- 单元测试插件:执行测试用例 --> |
555 | 523 | <groupId>org.apache.maven.plugins</groupId> |
556 | 524 | <artifactId>maven-surefire-plugin</artifactId> |
557 | 525 | </plugin> |
558 | | - |
559 | 526 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin --> |
560 | 527 | <plugin> |
561 | 528 | <!-- jar 包生成插件:创建项目 jar 包 --> |
562 | 529 | <groupId>org.apache.maven.plugins</groupId> |
563 | 530 | <artifactId>maven-jar-plugin</artifactId> |
564 | 531 | </plugin> |
565 | | - |
566 | 532 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin --> |
567 | 533 | <plugin> |
568 | 534 | <!-- 源码插件:发布时自动将源码同时发布 --> |
569 | 535 | <groupId>org.apache.maven.plugins</groupId> |
570 | 536 | <artifactId>maven-source-plugin</artifactId> |
571 | 537 | </plugin> |
572 | | - |
573 | 538 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin --> |
574 | 539 | <plugin> |
575 | 540 | <!-- 文档插件:发布时自动生成 Javadoc 并发布 --> |
576 | 541 | <groupId>org.apache.maven.plugins</groupId> |
577 | 542 | <artifactId>maven-javadoc-plugin</artifactId> |
578 | 543 | </plugin> |
579 | | - |
580 | 544 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-install-plugin --> |
581 | 545 | <plugin> |
582 | 546 | <!-- 安装插件:将项目输出构件安装到本地仓库 --> |
583 | 547 | <groupId>org.apache.maven.plugins</groupId> |
584 | 548 | <artifactId>maven-install-plugin</artifactId> |
585 | 549 | </plugin> |
586 | | - |
587 | 550 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin --> |
588 | 551 | <plugin> |
589 | 552 | <!-- 签名插件:对制品进行 PGP 签名 --> |
590 | 553 | <groupId>org.apache.maven.plugins</groupId> |
591 | 554 | <artifactId>maven-gpg-plugin</artifactId> |
592 | 555 | </plugin> |
593 | | - |
594 | 556 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-deploy-plugin --> |
595 | 557 | <plugin> |
596 | 558 | <!-- 发布插件:将项目输出构件部署到远程仓库 --> |
597 | 559 | <groupId>org.apache.maven.plugins</groupId> |
598 | 560 | <artifactId>maven-deploy-plugin</artifactId> |
599 | 561 | </plugin> |
600 | | - |
601 | 562 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin --> |
602 | 563 | <plugin> |
603 | 564 | <!-- 发布管理插件:版本发布与标签管理 --> |
604 | 565 | <groupId>org.apache.maven.plugins</groupId> |
605 | 566 | <artifactId>maven-release-plugin</artifactId> |
606 | 567 | </plugin> |
607 | | - |
608 | 568 | <!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin --> |
609 | 569 | <plugin> |
610 | 570 | <groupId>org.sonatype.central</groupId> |
|
0 commit comments