Skip to content

Commit a872347

Browse files
committed
feat: update central plugin and add extra param deploymentName
Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
1 parent 63e4b6f commit a872347

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

github-actions/central-portal.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ Add the plugin to your `pom.xml`:
5353
<plugin>
5454
<groupId>org.sonatype.central</groupId>
5555
<artifactId>central-publishing-maven-plugin</artifactId>
56-
<version>0.7.0</version>
56+
<version>0.9.0</version>
5757
<extensions>true</extensions>
5858
<configuration>
59+
<deploymentName>Eclipse XXX ${project.version}</deploymentName>
5960
<publishingServerId>central</publishingServerId>
6061
<autoPublish>true</autoPublish>
6162
<waitUntil>published</waitUntil>
@@ -66,6 +67,8 @@ Add the plugin to your `pom.xml`:
6667
</build>
6768
```
6869

70+
Specify a unique `deploymentName` to clearly distinguish multiple build publications and avoid any confusion in the central portal.
71+
6972
### GPG Signing in GitHub Actions
7073

7174
1. Add the Maven GPG plugin to your `pom.xml`:
@@ -76,7 +79,7 @@ Add the plugin to your `pom.xml`:
7679
<plugin>
7780
<groupId>org.apache.maven.plugins</groupId>
7881
<artifactId>maven-gpg-plugin</artifactId>
79-
<version>3.2.7</version>
82+
<version>3.2.8</version>
8083
<executions>
8184
<execution>
8285
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)