Skip to content

Commit 424454f

Browse files
committed
fix(pom): restore 4-space indentation formatting with xmllint
1 parent 8b2dff3 commit 424454f

1 file changed

Lines changed: 20 additions & 33 deletions

File tree

pom.xml

Lines changed: 20 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,20 @@
88
<version>2.0.x.20260630-SNAPSHOT</version>
99
<packaging>jar</packaging>
1010
<description>SocketIO extensions and utilities</description>
11-
1211
<!-- 开源协议采用 Apache 2.0 协议 -->
1312
<licenses>
1413
<license>
1514
<name>The Apache Software License, Version 2.0</name>
1615
<url>http://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,30 +34,28 @@
3734
<timezone>+8</timezone>
3835
</developer>
3936
</developers>
40-
4137
<!-- 版本属性定义:Java 版本、依赖版本与 Maven 插件版本统一管理 -->
4238
<properties>
43-
<!-- ═══ 第一段: 基础属性(自然排序)═══ -->
44-
<java.version>17</java.version>
45-
<maven.compiler.release>${java.version}</maven.compiler.release>
46-
<maven.version>3.9.16</maven.version>
47-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48-
<!-- Dependency versions -->
49-
<junit-jupiter.version>6.1.0</junit-jupiter.version>
50-
<lombok.version>1.18.46</lombok.version>
51-
<redisson.version>3.36.0</redisson.version>
52-
<slf4j.version>2.0.18</slf4j.version>
53-
<socketio.version>2.0.11</socketio.version>
54-
<spring-framework.version>5.3.39</spring-framework.version>
55-
<!-- Maven Plugin versions -->
56-
<maven-central-publishing-plugin.version>0.11.0</maven-central-publishing-plugin.version>
57-
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
58-
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
59-
<maven-jacoco-plugin.version>0.8.15</maven-jacoco-plugin.version>
60-
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
61-
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
39+
<!-- ═══ 第一段: 基础属性(自然排序)═══ -->
40+
<java.version>17</java.version>
41+
<maven.compiler.release>${java.version}</maven.compiler.release>
42+
<maven.version>3.9.16</maven.version>
43+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44+
<!-- Dependency versions -->
45+
<junit-jupiter.version>6.1.0</junit-jupiter.version>
46+
<lombok.version>1.18.46</lombok.version>
47+
<redisson.version>3.36.0</redisson.version>
48+
<slf4j.version>2.0.18</slf4j.version>
49+
<socketio.version>2.0.11</socketio.version>
50+
<spring-framework.version>5.3.39</spring-framework.version>
51+
<!-- Maven Plugin versions -->
52+
<maven-central-publishing-plugin.version>0.11.0</maven-central-publishing-plugin.version>
53+
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
54+
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
55+
<maven-jacoco-plugin.version>0.8.15</maven-jacoco-plugin.version>
56+
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
57+
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
6258
</properties>
63-
6459
<!-- 依赖版本统一管理(dependencyManagement) -->
6560
<dependencyManagement>
6661
<dependencies>
@@ -97,7 +92,6 @@
9792
</dependency>
9893
</dependencies>
9994
</dependencyManagement>
100-
10195
<!-- 项目依赖(dependencies) -->
10296
<dependencies>
10397
<!-- For Lombok -->
@@ -141,11 +135,9 @@
141135
<scope>test</scope>
142136
</dependency>
143137
</dependencies>
144-
145138
<!-- 构建 Profile 配置 -->
146139
<profiles>
147140
<!-- 发布到 Maven Central Portal:mvn -Pcentral deploy(GPG 签名 + 源码 + Javadoc + Central 发布插件) -->
148-
149141
<profile>
150142
<id>central</id>
151143
</profile>
@@ -165,20 +157,18 @@
165157
<build>
166158
<pluginManagement>
167159
<plugins>
168-
169160
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
170161
<plugin>
171162
<!-- 编译插件:编译主代码至主输出目录 -->
172163
<groupId>org.apache.maven.plugins</groupId>
173164
<artifactId>maven-compiler-plugin</artifactId>
174165
<version>${maven-compiler-plugin.version}</version>
175166
<configuration>
176-
</configuration>
167+
</configuration>
177168
</plugin>
178169
</plugins>
179170
</pluginManagement>
180171
<plugins>
181-
182172
<!-- https://mvnrepository.com/artifact/org.jacoco/jacoco-maven-plugin -->
183173
<plugin>
184174
<!-- 覆盖率插件:生成覆盖率报告并校验测试覆盖率(目标 90%) -->
@@ -223,7 +213,6 @@
223213
</execution>
224214
</executions>
225215
</plugin>
226-
227216
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
228217
<plugin>
229218
<!-- 编译插件:编译主代码至主输出目录 -->
@@ -246,7 +235,6 @@
246235
</annotationProcessorPaths>
247236
</configuration>
248237
</plugin>
249-
250238
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
251239
<plugin>
252240
<!-- 文档插件:发布时自动生成 Javadoc 并发布 -->
@@ -266,7 +254,6 @@
266254
</execution>
267255
</executions>
268256
</plugin>
269-
270257
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
271258
<plugin>
272259
<!-- 源码插件:发布时自动将源码同时发布 -->

0 commit comments

Comments
 (0)