This is an automated email from the ASF dual-hosted git repository.
lizhimin pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new f33f626114 [ISSUE #9663] Add flatten-maven-plugin plugin (#9866)
f33f626114 is described below
commit f33f6261145883d95c4d3fb54eb5391fa0640e0c
Author: lizhimins <[email protected]>
AuthorDate: Mon Nov 24 19:28:51 2025 +0800
[ISSUE #9663] Add flatten-maven-plugin plugin (#9866)
Change-Id: Ic339c1e6622fbf8d48a0257ef532831d268325a2
---
pom.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/pom.xml b/pom.xml
index 183218739c..dfa248471b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -155,6 +155,7 @@
<rocketmq-client-java.version>5.0.5</rocketmq-client-java.version>
<!-- Build plugin dependencies -->
+ <flatten-maven-plugin.version>1.7.2</flatten-maven-plugin.version>
<versions-maven-plugin.version>2.2</versions-maven-plugin.version>
<dependency-mediator-maven-plugin.version>1.0.2</dependency-mediator-maven-plugin.version>
<clirr-maven-plugin.version>2.7</clirr-maven-plugin.version>
@@ -204,6 +205,36 @@
<build>
<plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>flatten-maven-plugin</artifactId>
+ <version>${flatten-maven-plugin.version}</version>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <id>flatten</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>flatten</goal>
+ </goals>
+ <configuration>
+ <updatePomFile>true</updatePomFile>
+ <flattenMode>oss</flattenMode>
+ <pomElements>
+
<distributionManagement>remove</distributionManagement>
+ <repositories>remove</repositories>
+ </pomElements>
+ </configuration>
+ </execution>
+ <execution>
+ <id>flatten-clean</id>
+ <phase>clean</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>