From f823db097cf478eebc0965996daeb5aa3e41e281 Mon Sep 17 00:00:00 2001 From: hanbingleixue Date: Mon, 1 Jul 2024 10:06:19 +0800 Subject: [PATCH] Modifying plugins and configurations for version release Signed-off-by: hanbingleixue --- .../publish_maven_central_warehouse.yml | 2 +- pom.xml | 32 +++++++------------ sermant-agentcore/pom.xml | 29 ++++++----------- .../sermant-agentcore-core/pom.xml | 7 ++-- .../sermant-agentcore-god/pom.xml | 27 ++++++++++++++++ .../sermant-agentcore-implement/pom.xml | 27 ++++++++++++++++ .../sermant-agentcore-premain/pom.xml | 8 +++-- 7 files changed, 86 insertions(+), 46 deletions(-) diff --git a/.github/workflows/publish_maven_central_warehouse.yml b/.github/workflows/publish_maven_central_warehouse.yml index ae2668570f..415c214a49 100644 --- a/.github/workflows/publish_maven_central_warehouse.yml +++ b/.github/workflows/publish_maven_central_warehouse.yml @@ -23,7 +23,7 @@ jobs: java-version: '8' distribution: 'adopt' cache: maven - server-id: ossrh + server-id: sermant server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - name: set version diff --git a/pom.xml b/pom.xml index 6c05b99f53..3152d52983 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,5 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 io.sermant sermant @@ -22,9 +22,10 @@ - luanwenfei - luanwenfei-venus - luanwenfei@outlook.com + sermant + sermant + zhanghaopeng4@huawei.com + https://github.com/sermant-io/Sermant Developer @@ -81,6 +82,7 @@ 3.0.1 3.3.2 1.6.7 + 0.5.0 1.12.1 sermant-agent @@ -436,14 +438,14 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.staging.plugin.version} + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} true - ossrh - https://oss.sonatype.org/ - false + sermant + false + true @@ -456,16 +458,6 @@ - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - diff --git a/sermant-agentcore/pom.xml b/sermant-agentcore/pom.xml index dabdf9e785..8669d2fcc5 100644 --- a/sermant-agentcore/pom.xml +++ b/sermant-agentcore/pom.xml @@ -29,10 +29,11 @@ - luanwenfei - luanwenfei-venus - luanwenfei@outlook.com + sermant + sermant + zhanghaopeng4@huawei.com + Project Manager Developer +8 @@ -106,28 +107,18 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.staging.plugin.version} + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} true - ossrh - https://oss.sonatype.org/ - false + sermant + false + true - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - \ No newline at end of file diff --git a/sermant-agentcore/sermant-agentcore-core/pom.xml b/sermant-agentcore/sermant-agentcore-core/pom.xml index fcc824af1d..815f6d138c 100644 --- a/sermant-agentcore/sermant-agentcore-core/pom.xml +++ b/sermant-agentcore/sermant-agentcore-core/pom.xml @@ -26,10 +26,11 @@ - luanwenfei - luanwenfei-venus - luanwenfei@outlook.com + sermant + sermant + zhanghaopeng4@huawei.com + Project Manager Developer +8 diff --git a/sermant-agentcore/sermant-agentcore-god/pom.xml b/sermant-agentcore/sermant-agentcore-god/pom.xml index 9f33f9a752..66583af560 100644 --- a/sermant-agentcore/sermant-agentcore-god/pom.xml +++ b/sermant-agentcore/sermant-agentcore-god/pom.xml @@ -11,6 +11,33 @@ sermant-agentcore-god + The core interface package of Sermant. + https://github.com/sermant-io/Sermant + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.html + repo + + + + https://github.com/sermant-io/Sermant + scm:git:git://github.com/sermant-io/Sermant.git + scm:git:ssh://github.com:sermant-io/Sermant.git + + + + sermant + sermant + zhanghaopeng4@huawei.com + + Project Manager + Developer + + +8 + + + 8 8 diff --git a/sermant-agentcore/sermant-agentcore-implement/pom.xml b/sermant-agentcore/sermant-agentcore-implement/pom.xml index 9717eea432..cf156171ef 100644 --- a/sermant-agentcore/sermant-agentcore-implement/pom.xml +++ b/sermant-agentcore/sermant-agentcore-implement/pom.xml @@ -11,6 +11,33 @@ sermant-agentcore-implement + The specific implementation of Sermant's core competencies and agent framework. + https://github.com/sermant-io/Sermant + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.html + repo + + + + https://github.com/sermant-io/Sermant + scm:git:git://github.com/sermant-io/Sermant.git + scm:git:ssh://github.com:sermant-io/Sermant.git + + + + sermant + sermant + zhanghaopeng4@huawei.com + + Project Manager + Developer + + +8 + + + 8 8 diff --git a/sermant-agentcore/sermant-agentcore-premain/pom.xml b/sermant-agentcore/sermant-agentcore-premain/pom.xml index 17e4a74596..e5edfb3f9f 100644 --- a/sermant-agentcore/sermant-agentcore-premain/pom.xml +++ b/sermant-agentcore/sermant-agentcore-premain/pom.xml @@ -26,10 +26,11 @@ - luanwenfei - luanwenfei-venus - luanwenfei@outlook.com + sermant + sermant + zhanghaopeng4@huawei.com + Project Manager Developer +8 @@ -58,6 +59,7 @@ junit junit + ${junit.version} test