Skip to content

Commit a88caf9

Browse files
committed
fix: Maven Central publishing after OSSRH migration
The new Central Portal has stricter artifact validation than the old OSSRH. This fixes the deploy step that runs when release:prepare pushes the release commit back to main: - Add <name> to child POMs (now required by Central Portal) - Change test module to pom packaging so it no longer produces an empty JAR that fails Central validation - Remove skipNexusStagingDeployMojo from test module (was preventing deploy-at-end from triggering since test is the last reactor module) Signed-off-by: Gal Ovadia <ggalovadia@gmail.com>
1 parent 8530d89 commit a88caf9

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

api/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</parent>
1010

1111
<artifactId>api</artifactId>
12+
<name>api</name>
1213

1314
<properties>
1415
<checkstyle.skip>true</checkstyle.skip>

cache/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</parent>
1010

1111
<artifactId>cache</artifactId>
12+
<name>cache</name>
1213

1314
<dependencies>
1415
<dependency>

server/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</parent>
1010

1111
<artifactId>server</artifactId>
12+
<name>server</name>
1213

1314
<dependencies>
1415
<dependency>

test/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
</parent>
1010

1111
<artifactId>test</artifactId>
12+
<name>test</name>
13+
<packaging>pom</packaging>
1214

1315
<properties>
1416
<maven.deploy.skip>true</maven.deploy.skip>
15-
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
1617
</properties>
1718

1819
<dependencies>

0 commit comments

Comments
 (0)