Skip to content

Commit 2b1adb0

Browse files
committed
chore: add new maven central publishing plugin as described in https://central.sonatype.org/publish/publish-portal-maven/
1 parent 65d4162 commit 2b1adb0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,15 @@
308308
<compilerArgs>--enable-preview</compilerArgs>
309309
</configuration>
310310
</plugin>
311-
311+
<plugin>
312+
<groupId>org.sonatype.central</groupId>
313+
<artifactId>central-publishing-maven-plugin</artifactId>
314+
<version>0.8.0</version>
315+
<extensions>true</extensions>
316+
<configuration>
317+
<publishingServerId>central</publishingServerId>
318+
</configuration>
319+
</plugin>
312320
</plugins>
313321
</build>
314322

0 commit comments

Comments
 (0)