Skip to content

Commit baeb29f

Browse files
committed
fix(pom): normalize element order, properties structure, comments per java-component-patterns
1 parent e2c37cf commit baeb29f

1 file changed

Lines changed: 67 additions & 65 deletions

File tree

pom.xml

Lines changed: 67 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,73 @@
3838
</developer>
3939
</developers>
4040

41+
42+
43+
<!-- 版本属性定义:Java 版本、依赖版本与 Maven 插件版本统一管理 -->
44+
<properties>
45+
<!-- ═══ 第一段: 基础属性(自然排序)═══ -->
46+
<java.version>17</java.version>
47+
<maven.compiler.release>${java.version}</maven.compiler.release>
48+
<maven.version>3.9.16</maven.version>
49+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50+
<!-- Dependency versions -->
51+
<antlr4.version>4.7.1</antlr4.version>
52+
<assertj.version>3.27.3</assertj.version>
53+
<beetl.version>3.1.3.RELEASE</beetl.version>
54+
<commons-beanutils.version>1.11.0</commons-beanutils.version>
55+
<commons-io.version>2.22.0</commons-io.version>
56+
<commons-lang3.version>3.20.0</commons-lang3.version>
57+
<commons-logging.version>1.2</commons-logging.version>
58+
<docx4j-export-fo.version>11.1.8</docx4j-export-fo.version>
59+
<docx4j-importxhtml.version>8.3.15</docx4j-importxhtml.version>
60+
<docx4j-jaxb.version>${docx4j.version}</docx4j-jaxb.version>
61+
<docx4j-openxml.version>${docx4j.version}</docx4j-openxml.version>
62+
<docx4j-xhtmlrenderer.version>3.0.0</docx4j-xhtmlrenderer.version>
63+
<docx4j.version>11.1.3</docx4j.version>
64+
<freemarker.version>2.3.29</freemarker.version>
65+
<httl.version>1.0.12</httl.version>
66+
<jackson.version>2.17.2</jackson.version>
67+
<javax-activation.version>1.1.1</javax-activation.version>
68+
<javax.mail-api.version>1.6.2</javax.mail-api.version>
69+
<jaxb-api.version>2.3.1</jaxb-api.version>
70+
<jaxb-impl.version>2.3.9</jaxb-impl.version>
71+
<jetbrick.version>2.1.10</jetbrick.version>
72+
<jsoup.version>1.13.1</jsoup.version>
73+
<junit-jupiter.version>6.1.0</junit-jupiter.version>
74+
<junit.version>4.13.2</junit.version>
75+
<ognl.version>3.2.13</ognl.version>
76+
<persistence.version>2.7.6</persistence.version>
77+
<rythm.version>1.3.0</rythm.version>
78+
<servlet-api.version>3.0.1</servlet-api.version>
79+
<slf4j.version>2.0.18</slf4j.version>
80+
<thymeleaf.version>3.0.11.RELEASE</thymeleaf.version>
81+
<velocity-tools.version>2.0</velocity-tools.version>
82+
<velocity.version>2.2</velocity.version>
83+
<webit-script.version>1.5.2</webit-script.version>
84+
<!-- Maven Plugin versions -->
85+
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
86+
<maven-assembly-plugin.version>3.1.1</maven-assembly-plugin.version>
87+
<maven-clean-plugin.version>3.5.0</maven-clean-plugin.version>
88+
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
89+
<maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version>
90+
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
91+
<maven-enforcer-plugin.version>3.6.3</maven-enforcer-plugin.version>
92+
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
93+
<maven-install-plugin.version>3.1.4</maven-install-plugin.version>
94+
<maven-jar-plugin.version>3.5.0</maven-jar-plugin.version>
95+
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
96+
<maven-nexus-staging-plugin.version>1.7.0</maven-nexus-staging-plugin.version>
97+
<maven-nexus-yuicompressor-plugin.version>1.1.0</maven-nexus-yuicompressor-plugin.version>
98+
<maven-release-plugin.version>3.3.1</maven-release-plugin.version>
99+
<maven-resources-plugin.version>3.5.0</maven-resources-plugin.version>
100+
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
101+
<maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>
102+
<maven-war-plugin.version>3.2.2</maven-war-plugin.version>
103+
<jacoco-maven-plugin.version>0.8.15</jacoco-maven-plugin.version>
104+
<jaxb-namespaceprefixmapper.version>6.1.0</jaxb-namespaceprefixmapper.version>
105+
<lombok.version>1.18.46</lombok.version>
106+
</properties>
107+
41108
<!-- 制品发布仓库配置(distributionManagement) -->
42109
<distributionManagement>
43110
<repository>
@@ -502,71 +569,6 @@
502569
</profile>
503570
</profiles>
504571

505-
<!-- 版本属性定义:Java 版本、依赖版本与 Maven 插件版本统一管理 -->
506-
<properties>
507-
<!-- ═══ 第一段: 基础属性(自然排序)═══ -->
508-
<java.version>17</java.version>
509-
<maven.compiler.release>${java.version}</maven.compiler.release>
510-
<maven.version>3.9.16</maven.version>
511-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
512-
<!-- Dependency versions -->
513-
<antlr4.version>4.7.1</antlr4.version>
514-
<assertj.version>3.27.3</assertj.version>
515-
<beetl.version>3.1.3.RELEASE</beetl.version>
516-
<commons-beanutils.version>1.11.0</commons-beanutils.version>
517-
<commons-io.version>2.22.0</commons-io.version>
518-
<commons-lang3.version>3.20.0</commons-lang3.version>
519-
<commons-logging.version>1.2</commons-logging.version>
520-
<docx4j-export-fo.version>11.1.8</docx4j-export-fo.version>
521-
<docx4j-importxhtml.version>8.3.15</docx4j-importxhtml.version>
522-
<docx4j-jaxb.version>${docx4j.version}</docx4j-jaxb.version>
523-
<docx4j-openxml.version>${docx4j.version}</docx4j-openxml.version>
524-
<docx4j-xhtmlrenderer.version>3.0.0</docx4j-xhtmlrenderer.version>
525-
<docx4j.version>11.1.3</docx4j.version>
526-
<freemarker.version>2.3.29</freemarker.version>
527-
<httl.version>1.0.12</httl.version>
528-
<jackson.version>2.17.2</jackson.version>
529-
<javax-activation.version>1.1.1</javax-activation.version>
530-
<javax.mail-api.version>1.6.2</javax.mail-api.version>
531-
<jaxb-api.version>2.3.1</jaxb-api.version>
532-
<jaxb-impl.version>2.3.9</jaxb-impl.version>
533-
<jetbrick.version>2.1.10</jetbrick.version>
534-
<jsoup.version>1.13.1</jsoup.version>
535-
<junit-jupiter.version>6.1.0</junit-jupiter.version>
536-
<junit.version>4.13.2</junit.version>
537-
<ognl.version>3.2.13</ognl.version>
538-
<persistence.version>2.7.6</persistence.version>
539-
<rythm.version>1.3.0</rythm.version>
540-
<servlet-api.version>3.0.1</servlet-api.version>
541-
<slf4j.version>2.0.18</slf4j.version>
542-
<thymeleaf.version>3.0.11.RELEASE</thymeleaf.version>
543-
<velocity-tools.version>2.0</velocity-tools.version>
544-
<velocity.version>2.2</velocity.version>
545-
<webit-script.version>1.5.2</webit-script.version>
546-
<!-- Maven Plugin versions -->
547-
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
548-
<maven-assembly-plugin.version>3.1.1</maven-assembly-plugin.version>
549-
<maven-clean-plugin.version>3.5.0</maven-clean-plugin.version>
550-
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
551-
<maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version>
552-
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
553-
<maven-enforcer-plugin.version>3.6.3</maven-enforcer-plugin.version>
554-
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
555-
<maven-install-plugin.version>3.1.4</maven-install-plugin.version>
556-
<maven-jar-plugin.version>3.5.0</maven-jar-plugin.version>
557-
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
558-
<maven-nexus-staging-plugin.version>1.7.0</maven-nexus-staging-plugin.version>
559-
<maven-nexus-yuicompressor-plugin.version>1.1.0</maven-nexus-yuicompressor-plugin.version>
560-
<maven-release-plugin.version>3.3.1</maven-release-plugin.version>
561-
<maven-resources-plugin.version>3.5.0</maven-resources-plugin.version>
562-
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
563-
<maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>
564-
<maven-war-plugin.version>3.2.2</maven-war-plugin.version>
565-
<jacoco-maven-plugin.version>0.8.15</jacoco-maven-plugin.version>
566-
<jaxb-namespaceprefixmapper.version>6.1.0</jaxb-namespaceprefixmapper.version>
567-
<lombok.version>1.18.46</lombok.version>
568-
</properties>
569-
570572
<!-- 依赖版本统一管理(dependencyManagement) -->
571573
<dependencyManagement>
572574
<dependencies>

0 commit comments

Comments
 (0)