You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by ji...@apache.org on 2024/05/11 09:34:34 UTC

(incubator-seata) branch 2.x updated: optimize: optimize release maven plugin (#6529)

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

jimin 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 e0466587f9 optimize: optimize release maven plugin (#6529)
e0466587f9 is described below

commit e0466587f9186d582a45ac5731758015ab690550
Author: jimin <sl...@163.com>
AuthorDate: Sat May 11 17:34:29 2024 +0800

    optimize: optimize release maven plugin (#6529)
---
 build/pom.xml        | 39 +++++----------------------------------
 changes/en-us/2.x.md |  1 +
 changes/zh-cn/2.x.md |  1 +
 3 files changed, 7 insertions(+), 34 deletions(-)

diff --git a/build/pom.xml b/build/pom.xml
index 4503b6ff30..59b4273396 100644
--- a/build/pom.xml
+++ b/build/pom.xml
@@ -20,8 +20,12 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>19</version>
+    </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <groupId>org.apache.seata</groupId>
     <artifactId>seata-build</artifactId>
     <packaging>pom</packaging>
@@ -133,9 +137,6 @@
         <maven.git-commit-id.skip>false</maven.git-commit-id.skip>
         <maven.surefire.argLine></maven.surefire.argLine>
         <maven.surefire.excludes></maven.surefire.excludes>
-        <gpg.keyname>37F181C60AACE24BD5C1D3925583F79497E8E293</gpg.keyname>
-        <gpg.arg1/>
-        <gpg.arg2/>
 
         <!-- For docker image-->
         <image.publish.skip>true</image.publish.skip>
@@ -372,18 +373,6 @@
                             </execution>
                         </executions>
                     </plugin>
-                    <!-- Staging -->
-                    <plugin>
-                        <groupId>org.sonatype.plugins</groupId>
-                        <artifactId>nexus-staging-maven-plugin</artifactId>
-                        <version>${nexus-staging-maven-plugin.version}</version>
-                        <extensions>true</extensions>
-                        <configuration>
-                            <serverId>oss_seata</serverId>
-                            <nexusUrl>https://oss.sonatype.org/</nexusUrl>
-                            <autoReleaseAfterClose>false</autoReleaseAfterClose>
-                        </configuration>
-                    </plugin>
                     <!-- GPG -->
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
@@ -396,29 +385,11 @@
                                 <goals>
                                     <goal>sign</goal>
                                 </goals>
-                                <configuration>
-                                    <keyname>${gpg.keyname}</keyname>
-                                    <gpgArguments>
-                                        <arg>${gpg.arg1}</arg>
-                                        <arg>${gpg.arg2}</arg>
-                                    </gpgArguments>
-                                </configuration>
                             </execution>
                         </executions>
                     </plugin>
                 </plugins>
             </build>
-            <!-- distribution management -->
-            <distributionManagement>
-                <repository>
-                    <id>oss_seata</id>
-                    <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
-                </repository>
-                <snapshotRepository>
-                    <id>oss_seata</id>
-                    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
-                </snapshotRepository>
-            </distributionManagement>
         </profile>
 
         <!-- profile: release-by-github-actions -->
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 016345f015..6ec543e765 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -130,6 +130,7 @@ Add changes here for all PR submitted to the 2.x branch.
 - [[#6518](https://github.com/apache/incubator-seata/pull/6518)] optimize ConfigurationCache proxy method
 - [[#6458](https://github.com/apache/incubator-seata/pull/6458)] add null value check for MAC address
 - [[#6516](https://github.com/apache/incubator-seata/pull/6516)] optimize code format
+- [[#6529](https://github.com/apache/incubator-seata/pull/6529)] optimize release maven plugin
 
 ### security:
 - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index 0fedc6f2e7..8a1c3fe372 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -129,6 +129,7 @@
 - [[#6405](https://github.com/apache/incubator-seata/pull/6405)] 修复 kotlin 编译失败
 - [[#6412](https://github.com/apache/incubator-seata/pull/6412)] 优化 core 兼容模块
 - [[#6518](https://github.com/apache/incubator-seata/pull/6518)] 优化 ConfigurationCache 代理方法
+- [[#6529](https://github.com/apache/incubator-seata/pull/6529)] 优化发布插件
 
 ### security:
 - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org