Skip to content

Commit

Permalink
Modifying plugins and configurations for version release
Browse files Browse the repository at this point in the history
Signed-off-by: hanbingleixue <[email protected]>
  • Loading branch information
hanbingleixue committed Jul 1, 2024
1 parent 08d5255 commit f823db0
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_maven_central_warehouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
32 changes: 12 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.sermant</groupId>
<artifactId>sermant</artifactId>
Expand All @@ -22,9 +22,10 @@
</scm>
<developers>
<developer>
<name>luanwenfei</name>
<id>luanwenfei-venus</id>
<email>[email protected]</email>
<name>sermant</name>
<id>sermant</id>
<email>[email protected]</email>
<url>https://github.com/sermant-io/Sermant</url>
<roles>
<role>Developer</role>
</roles>
Expand Down Expand Up @@ -81,6 +82,7 @@
<gpg.plugin.version>3.0.1</gpg.plugin.version>
<javadoc.plugin.version>3.3.2</javadoc.plugin.version>
<nexus.staging.plugin.version>1.6.7</nexus.staging.plugin.version>
<central.publishing.maven.plugin.version>0.5.0</central.publishing.maven.plugin.version>
<frontend.plugin.version>1.12.1</frontend.plugin.version>

<sermant.name>sermant-agent</sermant.name>
Expand Down Expand Up @@ -436,14 +438,14 @@
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus.staging.plugin.version}</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central.publishing.maven.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
<publishingServerId>sermant</publishingServerId>
<autoPublish>false</autoPublish>
<tokenAuth>true</tokenAuth>
</configuration>
</plugin>
</plugins>
Expand All @@ -456,16 +458,6 @@
</plugins>
</pluginManagement>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
<build>
Expand Down
29 changes: 10 additions & 19 deletions sermant-agentcore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@
</scm>
<developers>
<developer>
<name>luanwenfei</name>
<id>luanwenfei-venus</id>
<email>luanwenfei@outlook.com</email>
<name>sermant</name>
<id>sermant</id>
<email>zhanghaopeng4@huawei.com</email>
<roles>
<role>Project Manager</role>
<role>Developer</role>
</roles>
<timezone>+8</timezone>
Expand Down Expand Up @@ -106,28 +107,18 @@
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus.staging.plugin.version}</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central.publishing.maven.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
<publishingServerId>sermant</publishingServerId>
<autoPublish>false</autoPublish>
<tokenAuth>true</tokenAuth>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>
7 changes: 4 additions & 3 deletions sermant-agentcore/sermant-agentcore-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
</scm>
<developers>
<developer>
<name>luanwenfei</name>
<id>luanwenfei-venus</id>
<email>luanwenfei@outlook.com</email>
<name>sermant</name>
<id>sermant</id>
<email>zhanghaopeng4@huawei.com</email>
<roles>
<role>Project Manager</role>
<role>Developer</role>
</roles>
<timezone>+8</timezone>
Expand Down
27 changes: 27 additions & 0 deletions sermant-agentcore/sermant-agentcore-god/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,33 @@

<artifactId>sermant-agentcore-god</artifactId>

<description>The core interface package of Sermant.</description>
<url>https://github.com/sermant-io/Sermant</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/sermant-io/Sermant</url>
<connection>scm:git:git://github.com/sermant-io/Sermant.git</connection>
<developerConnection>scm:git:ssh://github.com:sermant-io/Sermant.git</developerConnection>
</scm>
<developers>
<developer>
<name>sermant</name>
<id>sermant</id>
<email>[email protected]</email>
<roles>
<role>Project Manager</role>
<role>Developer</role>
</roles>
<timezone>+8</timezone>
</developer>
</developers>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
Expand Down
27 changes: 27 additions & 0 deletions sermant-agentcore/sermant-agentcore-implement/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,33 @@

<artifactId>sermant-agentcore-implement</artifactId>

<description>The specific implementation of Sermant's core competencies and agent framework.</description>
<url>https://github.com/sermant-io/Sermant</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/sermant-io/Sermant</url>
<connection>scm:git:git://github.com/sermant-io/Sermant.git</connection>
<developerConnection>scm:git:ssh://github.com:sermant-io/Sermant.git</developerConnection>
</scm>
<developers>
<developer>
<name>sermant</name>
<id>sermant</id>
<email>[email protected]</email>
<roles>
<role>Project Manager</role>
<role>Developer</role>
</roles>
<timezone>+8</timezone>
</developer>
</developers>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
Expand Down
8 changes: 5 additions & 3 deletions sermant-agentcore/sermant-agentcore-premain/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
</scm>
<developers>
<developer>
<name>luanwenfei</name>
<id>luanwenfei-venus</id>
<email>luanwenfei@outlook.com</email>
<name>sermant</name>
<id>sermant</id>
<email>zhanghaopeng4@huawei.com</email>
<roles>
<role>Project Manager</role>
<role>Developer</role>
</roles>
<timezone>+8</timezone>
Expand Down Expand Up @@ -58,6 +59,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit f823db0

Please sign in to comment.