Skip to content

Commit 15dd60d

Browse files
committed
chore: add new maven central publishing plugin as described in https://central.sonatype.org/publish/publish-portal-maven/ and mandatory project name
1 parent 65d4162 commit 15dd60d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pom.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<version>7.4.3125.1-SNAPSHOT</version>
1212
<groupId>com.ableneo.liferay</groupId>
1313
<artifactId>com.ableneo.liferay.db.setup.core</artifactId>
14+
<name>${project.groupId}:${project.artifactId}</name>
1415
<description>Creates Liferay Portal data (permissions, roles, sites, pages etc.) from XML declaration.</description>
1516
<inceptionYear>2016</inceptionYear>
1617

@@ -308,7 +309,15 @@
308309
<compilerArgs>--enable-preview</compilerArgs>
309310
</configuration>
310311
</plugin>
311-
312+
<plugin>
313+
<groupId>org.sonatype.central</groupId>
314+
<artifactId>central-publishing-maven-plugin</artifactId>
315+
<version>0.8.0</version>
316+
<extensions>true</extensions>
317+
<configuration>
318+
<publishingServerId>central</publishingServerId>
319+
</configuration>
320+
</plugin>
312321
</plugins>
313322
</build>
314323

0 commit comments

Comments
 (0)