Skip to content

Commit a08cc95

Browse files
committed
fix(pom): normalize formatting with xmllint (4-space indent)
1 parent 77b7b18 commit a08cc95

1 file changed

Lines changed: 11 additions & 52 deletions

File tree

pom.xml

Lines changed: 11 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,20 @@
88
<description>OpenCode Java SDK - JDK 17 line</description>
99
<version>2.0.x.20260730-SNAPSHOT</version>
1010
<packaging>jar</packaging>
11-
1211
<!-- 开源协议采用 Apache 2.0 协议 -->
1312
<licenses>
1413
<license>
1514
<name>The Apache Software License, Version 2.0</name>
1615
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
1716
</license>
1817
</licenses>
19-
2018
<!-- 源码仓库(SCM)信息 -->
2119
<scm>
2220
<connection>scm:git:https://github.com/easy-4-java/${project.artifactId}.git</connection>
2321
<developerConnection>scm:git:https://github.com/easy-4-java/${project.artifactId}.git</developerConnection>
2422
<url>https://github.com/easy-4-java/${project.artifactId}</url>
2523
<tag>${project.artifactId}</tag>
2624
</scm>
27-
2825
<!-- 开发者信息 -->
2926
<developers>
3027
<developer>
@@ -37,7 +34,6 @@
3734
<timezone>+8</timezone>
3835
</developer>
3936
</developers>
40-
4137
<!-- 制品发布仓库配置(distributionManagement) -->
4238
<distributionManagement>
4339
<repository>
@@ -49,7 +45,6 @@
4945
<url>https://packages.aliyun.com/6927b116e6c3e0425dbdf60d/maven/2624322-snapshot-3eoov3</url>
5046
</snapshotRepository>
5147
</distributionManagement>
52-
5348
<!-- 版本属性定义:Java 版本、依赖版本与 Maven 插件版本统一管理 -->
5449
<properties>
5550
<!-- ═══ 第一段: 基础属性(自然排序)═══ -->
@@ -83,10 +78,7 @@
8378
<maven-resources-plugin.version>3.5.0</maven-resources-plugin.version>
8479
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
8580
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
86-
8781
</properties>
88-
89-
9082
<!-- 依赖版本统一管理(dependencyManagement) -->
9183
<dependencyManagement>
9284
<dependencies>
@@ -139,24 +131,23 @@
139131
<dependency>
140132
<groupId>com.squareup.okhttp3</groupId>
141133
<artifactId>okhttp</artifactId>
142-
<version>${okhttp.version}</version>
134+
<version>${okhttp.version}</version>
143135
</dependency>
144136
<!-- For OkHttp -->
145137
<dependency>
146138
<groupId>com.squareup.okhttp3</groupId>
147139
<artifactId>okhttp-sse</artifactId>
148-
<version>${okhttp.version}</version>
140+
<version>${okhttp.version}</version>
149141
</dependency>
150142
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/mockwebserver -->
151143
<dependency>
152144
<groupId>com.squareup.okhttp3</groupId>
153145
<artifactId>mockwebserver</artifactId>
154146
<scope>test</scope>
155-
<version>${okhttp.version}</version>
147+
<version>${okhttp.version}</version>
156148
</dependency>
157149
</dependencies>
158150
</dependencyManagement>
159-
160151
<!-- 项目依赖(dependencies) -->
161152
<dependencies>
162153
<dependency>
@@ -207,20 +198,17 @@
207198
<scope>test</scope>
208199
</dependency>
209200
</dependencies>
210-
211201
<!-- 构建配置(Build) -->
212202
<build>
213203
<pluginManagement>
214204
<plugins>
215-
216205
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-clean-plugin -->
217206
<plugin>
218207
<!-- 清理插件:清理构建输出目录 -->
219208
<groupId>org.apache.maven.plugins</groupId>
220209
<artifactId>maven-clean-plugin</artifactId>
221210
<version>${maven-clean-plugin.version}</version>
222211
</plugin>
223-
224212
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
225213
<plugin>
226214
<!-- 编译插件:编译主代码至主输出目录 -->
@@ -242,15 +230,13 @@
242230
</annotationProcessorPaths>
243231
</configuration>
244232
</plugin>
245-
246233
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-deploy-plugin -->
247234
<plugin>
248235
<!-- 发布插件:将项目输出构件部署到远程仓库 -->
249236
<groupId>org.apache.maven.plugins</groupId>
250237
<artifactId>maven-deploy-plugin</artifactId>
251238
<version>${maven-deploy-plugin.version}</version>
252239
</plugin>
253-
254240
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin -->
255241
<plugin>
256242
<!-- 环境检查插件:代码编译前的环境监察 -->
@@ -268,22 +254,21 @@
268254
<rules>
269255
<requireMavenVersion>
270256
<message>
271-
You are running an older version of Maven. This application requires at least Maven ${maven.version}.
272-
</message>
257+
You are running an older version of Maven. This application requires at least Maven ${maven.version}.
258+
</message>
273259
<version>[${maven.version}.0,)</version>
274260
</requireMavenVersion>
275261
<requireJavaVersion>
276262
<message>
277-
You are running an older version of Java. This application requires at least JDK ${java.version}.
278-
</message>
263+
You are running an older version of Java. This application requires at least JDK ${java.version}.
264+
</message>
279265
<version>[${java.version}.0,)</version>
280266
</requireJavaVersion>
281267
</rules>
282268
</configuration>
283269
</execution>
284270
</executions>
285271
</plugin>
286-
287272
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin -->
288273
<plugin>
289274
<!-- 签名插件:对制品进行 PGP 签名 -->
@@ -300,15 +285,13 @@
300285
</execution>
301286
</executions>
302287
</plugin>
303-
304288
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-install-plugin -->
305289
<plugin>
306290
<!-- 安装插件:将项目输出构件安装到本地仓库 -->
307291
<groupId>org.apache.maven.plugins</groupId>
308292
<artifactId>maven-install-plugin</artifactId>
309293
<version>${maven-install-plugin.version}</version>
310294
</plugin>
311-
312295
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin -->
313296
<plugin>
314297
<!-- 资源插件:复制主资源文件至主输出目录 -->
@@ -319,7 +302,6 @@
319302
<encoding>${project.build.sourceEncoding}</encoding>
320303
</configuration>
321304
</plugin>
322-
323305
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
324306
<plugin>
325307
<!-- 发布管理插件:版本发布与标签管理 -->
@@ -334,7 +316,6 @@
334316
<goals>deploy</goals>
335317
</configuration>
336318
</plugin>
337-
338319
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
339320
<plugin>
340321
<!-- 源码插件:发布时自动将源码同时发布 -->
@@ -353,7 +334,6 @@
353334
</execution>
354335
</executions>
355336
</plugin>
356-
357337
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
358338
<plugin>
359339
<!-- 单元测试插件:执行测试用例 -->
@@ -375,7 +355,6 @@
375355
</excludes>
376356
</configuration>
377357
</plugin>
378-
379358
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
380359
<plugin>
381360
<!-- jar 包生成插件:创建项目 jar 包 -->
@@ -392,7 +371,6 @@
392371
</archive>
393372
</configuration>
394373
</plugin>
395-
396374
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
397375
<plugin>
398376
<!-- 文档插件:发布时自动生成 Javadoc 并发布 -->
@@ -415,7 +393,6 @@
415393
</execution>
416394
</executions>
417395
</plugin>
418-
419396
<!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin -->
420397
<plugin>
421398
<!-- 发布插件:将制品发布到 Maven Central Portal -->
@@ -432,7 +409,6 @@
432409
</plugins>
433410
</pluginManagement>
434411
<plugins>
435-
436412
<!-- https://mvnrepository.com/artifact/org.jacoco/jacoco-maven-plugin -->
437413
<plugin>
438414
<!-- 覆盖率插件:生成覆盖率报告并校验测试覆盖率(目标 90%) -->
@@ -477,7 +453,6 @@
477453
</execution>
478454
</executions>
479455
</plugin>
480-
481456
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
482457
<plugin>
483458
<!-- 编译插件:编译主代码至主输出目录 -->
@@ -500,105 +475,89 @@
500475
</plugin>
501476
</plugins>
502477
</build>
503-
504478
<!-- 构建 Profile 配置 -->
505479
<profiles>
506480
<profile>
507481
<id>disable-javadoc-doclint</id>
508482
<activation>
509483
<jdk>[1.8,)</jdk>
510484
</activation>
511-
<properties>
512-
<!-- Dependency versions -->
513-
<additionalparam>-Xdoclint:none -Xlint:unchecked</additionalparam>
514-
515-
</properties>
516-
485+
<properties>
486+
<!-- Dependency versions -->
487+
<additionalparam>-Xdoclint:none -Xlint:unchecked</additionalparam>
488+
</properties>
517489
</profile>
518490
<!-- 发布到 Maven Central Portal:mvn -Prelease deploy(GPG 签名 + 源码 + Javadoc + Central 发布插件) -->
519-
520491
<profile>
521492
<id>release</id>
522493
<build>
523494
<plugins>
524-
525495
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin -->
526496
<plugin>
527497
<!-- 环境检查插件:代码编译前的环境监察 -->
528498
<groupId>org.apache.maven.plugins</groupId>
529499
<artifactId>maven-enforcer-plugin</artifactId>
530500
</plugin>
531-
532501
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
533502
<plugin>
534503
<!-- 编译插件:编译主代码至主输出目录 -->
535504
<groupId>org.apache.maven.plugins</groupId>
536505
<artifactId>maven-compiler-plugin</artifactId>
537506
</plugin>
538-
539507
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin -->
540508
<plugin>
541509
<!-- 资源插件:复制主资源文件至主输出目录 -->
542510
<groupId>org.apache.maven.plugins</groupId>
543511
<artifactId>maven-resources-plugin</artifactId>
544512
</plugin>
545-
546513
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
547514
<plugin>
548515
<!-- 单元测试插件:执行测试用例 -->
549516
<groupId>org.apache.maven.plugins</groupId>
550517
<artifactId>maven-surefire-plugin</artifactId>
551518
</plugin>
552-
553519
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
554520
<plugin>
555521
<!-- jar 包生成插件:创建项目 jar 包 -->
556522
<groupId>org.apache.maven.plugins</groupId>
557523
<artifactId>maven-jar-plugin</artifactId>
558524
</plugin>
559-
560525
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
561526
<plugin>
562527
<!-- 源码插件:发布时自动将源码同时发布 -->
563528
<groupId>org.apache.maven.plugins</groupId>
564529
<artifactId>maven-source-plugin</artifactId>
565530
</plugin>
566-
567531
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
568532
<plugin>
569533
<!-- 文档插件:发布时自动生成 Javadoc 并发布 -->
570534
<groupId>org.apache.maven.plugins</groupId>
571535
<artifactId>maven-javadoc-plugin</artifactId>
572536
</plugin>
573-
574537
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-install-plugin -->
575538
<plugin>
576539
<!-- 安装插件:将项目输出构件安装到本地仓库 -->
577540
<groupId>org.apache.maven.plugins</groupId>
578541
<artifactId>maven-install-plugin</artifactId>
579542
</plugin>
580-
581543
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin -->
582544
<plugin>
583545
<!-- 签名插件:对制品进行 PGP 签名 -->
584546
<groupId>org.apache.maven.plugins</groupId>
585547
<artifactId>maven-gpg-plugin</artifactId>
586548
</plugin>
587-
588549
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-deploy-plugin -->
589550
<plugin>
590551
<!-- 发布插件:将项目输出构件部署到远程仓库 -->
591552
<groupId>org.apache.maven.plugins</groupId>
592553
<artifactId>maven-deploy-plugin</artifactId>
593554
</plugin>
594-
595555
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
596556
<plugin>
597557
<!-- 发布管理插件:版本发布与标签管理 -->
598558
<groupId>org.apache.maven.plugins</groupId>
599559
<artifactId>maven-release-plugin</artifactId>
600560
</plugin>
601-
602561
<!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin -->
603562
<plugin>
604563
<!-- 发布插件:将制品发布到 Maven Central Portal -->

0 commit comments

Comments
 (0)