@@ -163,12 +163,12 @@ limitations under the License.
163163 </ciManagement >
164164 <distributionManagement >
165165 <repository >
166- <id >ossrh </id >
167- <url >https://oss .sonatype.org/service/local/staging/deploy/maven2/ </url >
166+ <id >sonatype </id >
167+ <url >https://central .sonatype.com </url >
168168 </repository >
169169 <snapshotRepository >
170- <id >ossrh </id >
171- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
170+ <id >sonatype </id >
171+ <url >https://central .sonatype.com/repository/maven- snapshots/ </url >
172172 </snapshotRepository >
173173 <!-- Dummy - this will NOT actually be used, but is required for mvn site:stage -->
174174 <!-- Use scm-publish plugin for site deployment on GitHub pages -->
@@ -194,6 +194,7 @@ limitations under the License.
194194 <antrun-plugin .version>3.1.0</antrun-plugin .version>
195195 <archetype-plugin .version>3.3.1</archetype-plugin .version>
196196 <assembly-plugin .version>3.7.1</assembly-plugin .version>
197+ <central-publish-plugin .version>0.7.0</central-publish-plugin .version>
197198 <checkstyle-plugin .version>3.6.0</checkstyle-plugin .version>
198199 <clean-plugin .version>3.4.0</clean-plugin .version>
199200 <compiler-plugin .version>3.13.0</compiler-plugin .version>
@@ -585,6 +586,11 @@ limitations under the License.
585586 <artifactId >maven-dependency-plugin</artifactId >
586587 <version >${dependency-plugin.version} </version >
587588 </plugin >
589+ <plugin >
590+ <groupId >org.sonatype.central</groupId >
591+ <artifactId >central-publishing-maven-plugin</artifactId >
592+ <version >${central-publish-plugin.version} </version >
593+ </plugin >
588594 <plugin >
589595 <groupId >org.apache.maven.plugins</groupId >
590596 <artifactId >maven-deploy-plugin</artifactId >
@@ -1100,6 +1106,15 @@ limitations under the License.
11001106 <id >release</id >
11011107 <build >
11021108 <plugins >
1109+ <plugin >
1110+ <groupId >org.sonatype.central</groupId >
1111+ <artifactId >central-publishing-maven-plugin</artifactId >
1112+ <extensions >true</extensions >
1113+ <configuration >
1114+ <deploymentName >AutomataLib ${project.version} </deploymentName >
1115+ <publishingServerId >sonatype</publishingServerId >
1116+ </configuration >
1117+ </plugin >
11031118 <plugin >
11041119 <groupId >org.apache.maven.plugins</groupId >
11051120 <artifactId >maven-gpg-plugin</artifactId >
0 commit comments