This is an automated email from the ASF dual-hosted git repository.

jianbin pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git


The following commit(s) were added to refs/heads/2.x by this push:
     new 49f0bc29f5 optimize: optimize source release (#7689)
49f0bc29f5 is described below

commit 49f0bc29f57a26108fa0298e72e5768281c89d7d
Author: jimin <[email protected]>
AuthorDate: Mon Oct 20 10:09:42 2025 +0800

    optimize: optimize source release (#7689)
---
 changes/en-us/2.x.md                              |  1 +
 changes/zh-cn/2.x.md                              |  1 +
 distribution/pom.xml                              |  1 +
 {src/assembly => distribution}/source-release.xml |  2 +-
 pom.xml                                           | 42 +----------------------
 5 files changed, 5 insertions(+), 42 deletions(-)

diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 4670599c2d..a6c050aa15 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -64,6 +64,7 @@ Add changes here for all PR submitted to the 2.x branch.
 - [[#7443](https://github.com/seata/seata/pull/7443)] Replace @LocalTCC with 
@SagaTransactional in the saga annotation pattern
 - [[#7645](https://github.com/seata/seata/pull/7645)] simplifying the relevant 
transport.* configuration types
 - [[#7673](https://github.com/apache/incubator-seata/pull/7673)] bump 
@babel/runtime from ^7.26.10 to ^7.27.0
+- [[#7689](https://github.com/apache/incubator-seata/pull/7689)] optimize 
source release
 
 
 ### security:
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index 8fb0e909a8..d802d79203 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -63,6 +63,7 @@
 - [[#7443](https://github.com/seata/seata/pull/7443)] 
将saga注释模式中的@LocalTCC替换为@SagaTransactional
 - [[#7645](https://github.com/seata/seata/pull/7645)] 简化相关的 transport.* 配置项类型
 - [[#7673](https://github.com/apache/incubator-seata/pull/7673)] 升级 
@babel/runtime ^7.26.10 到 ^7.27.0
+- [[#7689](https://github.com/apache/incubator-seata/pull/7689)] 优化 source 
release
 
 
 ### security:
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 5520c8ce09..ba54056bb8 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -64,6 +64,7 @@
                         <configuration>
                             <descriptors>
                                 <descriptor>release-seata.xml</descriptor>
+                                <descriptor>source-release.xml</descriptor>
                             </descriptors>
                         </configuration>
                         <executions>
diff --git a/src/assembly/source-release.xml b/distribution/source-release.xml
similarity index 99%
rename from src/assembly/source-release.xml
rename to distribution/source-release.xml
index 121248f6c8..a6520b59ac 100644
--- a/src/assembly/source-release.xml
+++ b/distribution/source-release.xml
@@ -49,4 +49,4 @@
       </excludes>
     </fileSet>
   </fileSets>
-</assembly>
+</assembly>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 53df9f80ae..7cd23e6e1a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -289,46 +289,6 @@
         <!-- profile: source-release -->
         <profile>
             <id>source-release</id>
-            <modules>
-                <module>build</module>
-                <module>all</module>
-                <module>bom</module>
-                <module>common</module>
-                <module>config</module>
-                <module>console</module>
-                <module>core</module>
-                <module>compatible</module>
-                <module>dependencies</module>
-                <module>discovery</module>
-                <module>integration/rpc-core</module>
-                <module>integration/dubbo</module>
-                <module>integration/dubbo-alibaba</module>
-                <module>integration/sofa-rpc</module>
-                <module>integration/motan</module>
-                <module>integration/grpc</module>
-                <module>integration/http</module>
-                <module>integration/http-jakarta</module>
-                <module>integration/hsf</module>
-                <module>integration/brpc</module>
-                <module>rm</module>
-                <module>rm-datasource</module>
-                <module>rocketmq</module>
-                <module>spring</module>
-                <module>tcc</module>
-                <module>mock-server</module>
-                <module>tm</module>
-                <module>metrics</module>
-                <module>serializer</module>
-                <module>seata-spring-boot-starter</module>
-                <module>seata-spring-autoconfigure</module>
-                <module>compressor</module>
-                <module>saga</module>
-                <module>sqlparser</module>
-                <module>server</module>
-                <module>ext/apm-seata-skywalking-plugin</module>
-                <module>integration-tx-api</module>
-                <module>namingserver</module>
-            </modules>
             <build>
                 <plugins>
                     <plugin>
@@ -336,7 +296,7 @@
                         <artifactId>maven-assembly-plugin</artifactId>
                         <configuration>
                             <descriptors>
-                                
<descriptor>src/assembly/source-release.xml</descriptor>
+                                
<descriptor>distribution/source-release.xml</descriptor>
                             </descriptors>
                             
<finalName>apache-seata-${project.version}-incubating-src</finalName>
                         </configuration>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to