chore: align pom metadata with runtime stack
This commit is contained in:
@@ -60,6 +60,18 @@ class MavenModuleProfileTest {
|
|||||||
.doesNotContain("车辆状态/日统计消费");
|
.doesNotContain("车辆状态/日统计消费");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void rootPomDescriptionMatchesCurrentRuntimeStack() throws Exception {
|
||||||
|
Document pom = rootPom();
|
||||||
|
String description = firstDirectChild(pom.getDocumentElement(), "description").getTextContent();
|
||||||
|
|
||||||
|
assertThat(description)
|
||||||
|
.contains("Java 25")
|
||||||
|
.contains("Spring Boot " + projectProperty(pom, "spring-boot.version"))
|
||||||
|
.contains("Netty " + projectProperty(pom, "netty.version"))
|
||||||
|
.doesNotContain("Spring Boot 3.4");
|
||||||
|
}
|
||||||
|
|
||||||
private static Document rootPom() throws Exception {
|
private static Document rootPom() throws Exception {
|
||||||
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
|
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
|
||||||
factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
|
factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -13,7 +13,7 @@
|
|||||||
<description>
|
<description>
|
||||||
羚牛车辆数据接入平台 v2。
|
羚牛车辆数据接入平台 v2。
|
||||||
模块化原子能力 + 协议解耦 + 业务/实时解耦 + 数据出 Kafka 不落业务库。
|
模块化原子能力 + 协议解耦 + 业务/实时解耦 + 数据出 Kafka 不落业务库。
|
||||||
Java 25 + Spring Boot 3.4 + Netty + Disruptor + Virtual Threads。
|
Java 25 + Spring Boot 3.5.3 + Netty 4.2.9.Final + Disruptor + Virtual Threads。
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
|
|||||||
Reference in New Issue
Block a user