Skip to content

Commit 982bf4b

Browse files
committed
fix(pom): normalize formatting with xmllint (4-space indent)
1 parent 4effc9a commit 982bf4b

1 file changed

Lines changed: 7 additions & 48 deletions

File tree

pom.xml

Lines changed: 7 additions & 48 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,15 +34,12 @@
3734
<timezone>+8</timezone>
3835
</developer>
3936
</developers>
40-
4137
<properties>
4238
<!-- ═══ 第一段: 基础属性(自然排序)═══ -->
4339
<java.version>17</java.version>
4440
<maven.compiler.release>${java.version}</maven.compiler.release>
4541
<maven.version>4.0.0-rc-5</maven.version>
4642
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47-
48-
4943
<!-- Dependency versions -->
5044
<commons-exec.version>1.4.0</commons-exec.version>
5145
<commons-lang.version>2.6</commons-lang.version>
@@ -72,9 +66,7 @@
7266
<maven-resources-plugin.version>3.5.0</maven-resources-plugin.version>
7367
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
7468
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
75-
7669
</properties>
77-
7870
<dependencyManagement>
7971
<dependencies>
8072
<!-- For Jackson BOM -->
@@ -126,24 +118,23 @@
126118
<dependency>
127119
<groupId>com.squareup.okhttp3</groupId>
128120
<artifactId>okhttp</artifactId>
129-
<version>${okhttp.version}</version>
121+
<version>${okhttp.version}</version>
130122
</dependency>
131123
<!-- For OkHttp -->
132124
<dependency>
133125
<groupId>com.squareup.okhttp3</groupId>
134126
<artifactId>okhttp-sse</artifactId>
135-
<version>${okhttp.version}</version>
127+
<version>${okhttp.version}</version>
136128
</dependency>
137129
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/mockwebserver -->
138130
<dependency>
139131
<groupId>com.squareup.okhttp3</groupId>
140132
<artifactId>mockwebserver</artifactId>
141133
<scope>test</scope>
142-
<version>${okhttp.version}</version>
134+
<version>${okhttp.version}</version>
143135
</dependency>
144136
</dependencies>
145137
</dependencyManagement>
146-
147138
<dependencies>
148139
<dependency>
149140
<groupId>io.github.easy4j</groupId>
@@ -193,7 +184,6 @@
193184
<scope>test</scope>
194185
</dependency>
195186
</dependencies>
196-
197187
<distributionManagement>
198188
<repository>
199189
<id>2624322-release-6F6h6R</id>
@@ -204,19 +194,16 @@
204194
<url>https://packages.aliyun.com/6927b116e6c3e0425dbdf60d/maven/2624322-snapshot-3eoov3</url>
205195
</snapshotRepository>
206196
</distributionManagement>
207-
208197
<build>
209198
<pluginManagement>
210199
<plugins>
211-
212200
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-clean-plugin -->
213201
<plugin>
214202
<!-- 清理插件:清理构建输出目录 -->
215203
<groupId>org.apache.maven.plugins</groupId>
216204
<artifactId>maven-clean-plugin</artifactId>
217205
<version>${maven-clean-plugin.version}</version>
218206
</plugin>
219-
220207
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
221208
<plugin>
222209
<!-- 编译插件:编译主代码至主输出目录 -->
@@ -238,15 +225,13 @@
238225
</annotationProcessorPaths>
239226
</configuration>
240227
</plugin>
241-
242228
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-deploy-plugin -->
243229
<plugin>
244230
<!-- 发布插件:将项目输出构件部署到远程仓库 -->
245231
<groupId>org.apache.maven.plugins</groupId>
246232
<artifactId>maven-deploy-plugin</artifactId>
247233
<version>${maven-deploy-plugin.version}</version>
248234
</plugin>
249-
250235
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin -->
251236
<plugin>
252237
<!-- 环境检查插件:代码编译前的环境监察 -->
@@ -264,22 +249,21 @@
264249
<rules>
265250
<requireMavenVersion>
266251
<message>
267-
You are running an older version of Maven. This application requires at least Maven ${maven.version}.
268-
</message>
252+
You are running an older version of Maven. This application requires at least Maven ${maven.version}.
253+
</message>
269254
<version>[4.0.0,)</version>
270255
</requireMavenVersion>
271256
<requireJavaVersion>
272257
<message>
273-
You are running an older version of Java. This application requires at least JDK ${java.version}.
274-
</message>
258+
You are running an older version of Java. This application requires at least JDK ${java.version}.
259+
</message>
275260
<version>[${java.version}.0,)</version>
276261
</requireJavaVersion>
277262
</rules>
278263
</configuration>
279264
</execution>
280265
</executions>
281266
</plugin>
282-
283267
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin -->
284268
<plugin>
285269
<!-- 签名插件:对制品进行 PGP 签名 -->
@@ -296,15 +280,13 @@
296280
</execution>
297281
</executions>
298282
</plugin>
299-
300283
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-install-plugin -->
301284
<plugin>
302285
<!-- 安装插件:将项目输出构件安装到本地仓库 -->
303286
<groupId>org.apache.maven.plugins</groupId>
304287
<artifactId>maven-install-plugin</artifactId>
305288
<version>${maven-install-plugin.version}</version>
306289
</plugin>
307-
308290
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin -->
309291
<plugin>
310292
<!-- 资源插件:复制主资源文件至主输出目录 -->
@@ -315,7 +297,6 @@
315297
<encoding>${project.build.sourceEncoding}</encoding>
316298
</configuration>
317299
</plugin>
318-
319300
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
320301
<plugin>
321302
<!-- 发布管理插件:版本发布与标签管理 -->
@@ -330,7 +311,6 @@
330311
<goals>deploy</goals>
331312
</configuration>
332313
</plugin>
333-
334314
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
335315
<plugin>
336316
<!-- 源码插件:发布时自动将源码同时发布 -->
@@ -349,7 +329,6 @@
349329
</execution>
350330
</executions>
351331
</plugin>
352-
353332
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
354333
<plugin>
355334
<!-- 单元测试插件:执行测试用例 -->
@@ -371,7 +350,6 @@
371350
</excludes>
372351
</configuration>
373352
</plugin>
374-
375353
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
376354
<plugin>
377355
<!-- jar 包生成插件:创建项目 jar 包 -->
@@ -388,7 +366,6 @@
388366
</archive>
389367
</configuration>
390368
</plugin>
391-
392369
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
393370
<plugin>
394371
<!-- 文档插件:发布时自动生成 Javadoc 并发布 -->
@@ -411,7 +388,6 @@
411388
</execution>
412389
</executions>
413390
</plugin>
414-
415391
<!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin -->
416392
<plugin>
417393
<!-- 发布插件:将制品发布到 Maven Central Portal -->
@@ -428,7 +404,6 @@
428404
</plugins>
429405
</pluginManagement>
430406
<plugins>
431-
432407
<!-- https://mvnrepository.com/artifact/org.jacoco/jacoco-maven-plugin -->
433408
<plugin>
434409
<!-- 覆盖率插件:生成覆盖率报告并校验测试覆盖率(目标 90%) -->
@@ -473,7 +448,6 @@
473448
</execution>
474449
</executions>
475450
</plugin>
476-
477451
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
478452
<plugin>
479453
<!-- 编译插件:编译主代码至主输出目录 -->
@@ -496,7 +470,6 @@
496470
</plugin>
497471
</plugins>
498472
</build>
499-
500473
<profiles>
501474
<profile>
502475
<id>disable-javadoc-doclint</id>
@@ -505,89 +478,76 @@
505478
</activation>
506479
</profile>
507480
<!-- 发布到 Maven Central Portal:mvn -Prelease deploy(GPG 签名 + 源码 + Javadoc + Central 发布插件) -->
508-
509481
<profile>
510482
<id>release</id>
511483
<build>
512484
<plugins>
513-
514485
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin -->
515486
<plugin>
516487
<!-- 环境检查插件:代码编译前的环境监察 -->
517488
<groupId>org.apache.maven.plugins</groupId>
518489
<artifactId>maven-enforcer-plugin</artifactId>
519490
</plugin>
520-
521491
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
522492
<plugin>
523493
<!-- 编译插件:编译主代码至主输出目录 -->
524494
<groupId>org.apache.maven.plugins</groupId>
525495
<artifactId>maven-compiler-plugin</artifactId>
526496
</plugin>
527-
528497
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin -->
529498
<plugin>
530499
<!-- 资源插件:复制主资源文件至主输出目录 -->
531500
<groupId>org.apache.maven.plugins</groupId>
532501
<artifactId>maven-resources-plugin</artifactId>
533502
</plugin>
534-
535503
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
536504
<plugin>
537505
<!-- 单元测试插件:执行测试用例 -->
538506
<groupId>org.apache.maven.plugins</groupId>
539507
<artifactId>maven-surefire-plugin</artifactId>
540508
</plugin>
541-
542509
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
543510
<plugin>
544511
<!-- jar 包生成插件:创建项目 jar 包 -->
545512
<groupId>org.apache.maven.plugins</groupId>
546513
<artifactId>maven-jar-plugin</artifactId>
547514
</plugin>
548-
549515
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
550516
<plugin>
551517
<!-- 源码插件:发布时自动将源码同时发布 -->
552518
<groupId>org.apache.maven.plugins</groupId>
553519
<artifactId>maven-source-plugin</artifactId>
554520
</plugin>
555-
556521
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
557522
<plugin>
558523
<!-- 文档插件:发布时自动生成 Javadoc 并发布 -->
559524
<groupId>org.apache.maven.plugins</groupId>
560525
<artifactId>maven-javadoc-plugin</artifactId>
561526
</plugin>
562-
563527
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-install-plugin -->
564528
<plugin>
565529
<!-- 安装插件:将项目输出构件安装到本地仓库 -->
566530
<groupId>org.apache.maven.plugins</groupId>
567531
<artifactId>maven-install-plugin</artifactId>
568532
</plugin>
569-
570533
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin -->
571534
<plugin>
572535
<!-- 签名插件:对制品进行 PGP 签名 -->
573536
<groupId>org.apache.maven.plugins</groupId>
574537
<artifactId>maven-gpg-plugin</artifactId>
575538
</plugin>
576-
577539
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-deploy-plugin -->
578540
<plugin>
579541
<!-- 发布插件:将项目输出构件部署到远程仓库 -->
580542
<groupId>org.apache.maven.plugins</groupId>
581543
<artifactId>maven-deploy-plugin</artifactId>
582544
</plugin>
583-
584545
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
585546
<plugin>
586547
<!-- 发布管理插件:版本发布与标签管理 -->
587548
<groupId>org.apache.maven.plugins</groupId>
588549
<artifactId>maven-release-plugin</artifactId>
589550
</plugin>
590-
591551
<!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin -->
592552
<plugin>
593553
<!-- 发布插件:将制品发布到 Maven Central Portal -->
@@ -598,5 +558,4 @@
598558
</build>
599559
</profile>
600560
</profiles>
601-
602561
</project>

0 commit comments

Comments
 (0)