Move Maven Central publishing configuration to correct POM
diff --git a/api/pom.xml b/api/pom.xml index 42fe1f3..97873ec 100644 --- a/api/pom.xml +++ b/api/pom.xml
@@ -289,6 +289,16 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.sonatype.central</groupId> + <artifactId>central-publishing-maven-plugin</artifactId> + <configuration> + <publishingServerId>central</publishingServerId> + <autoPublish>true</autoPublish> + <waitUntil>published</waitUntil> + <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> + </configuration> + </plugin> </plugins> </build>
diff --git a/pom.xml b/pom.xml index 6f0d3a7..dbb10ac 100644 --- a/pom.xml +++ b/pom.xml
@@ -65,16 +65,6 @@ </execution> </executions> </plugin> - <plugin> - <groupId>org.sonatype.central</groupId> - <artifactId>central-publishing-maven-plugin</artifactId> - <configuration> - <publishingServerId>central</publishingServerId> - <autoPublish>true</autoPublish> - <waitUntil>published</waitUntil> - <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> - </configuration> - </plugin> </plugins> </build> </project>