@@ -163,12 +163,12 @@ limitations under the License.
163
163
</ciManagement >
164
164
<distributionManagement >
165
165
<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 >
168
168
</repository >
169
169
<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 >
172
172
</snapshotRepository >
173
173
<!-- Dummy - this will NOT actually be used, but is required for mvn site:stage -->
174
174
<!-- Use scm-publish plugin for site deployment on GitHub pages -->
@@ -194,6 +194,7 @@ limitations under the License.
194
194
<antrun-plugin .version>3.1.0</antrun-plugin .version>
195
195
<archetype-plugin .version>3.3.1</archetype-plugin .version>
196
196
<assembly-plugin .version>3.7.1</assembly-plugin .version>
197
+ <central-publish-plugin .version>0.7.0</central-publish-plugin .version>
197
198
<checkstyle-plugin .version>3.6.0</checkstyle-plugin .version>
198
199
<clean-plugin .version>3.4.0</clean-plugin .version>
199
200
<compiler-plugin .version>3.13.0</compiler-plugin .version>
@@ -585,6 +586,11 @@ limitations under the License.
585
586
<artifactId >maven-dependency-plugin</artifactId >
586
587
<version >${dependency-plugin.version} </version >
587
588
</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 >
588
594
<plugin >
589
595
<groupId >org.apache.maven.plugins</groupId >
590
596
<artifactId >maven-deploy-plugin</artifactId >
@@ -1100,6 +1106,15 @@ limitations under the License.
1100
1106
<id >release</id >
1101
1107
<build >
1102
1108
<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 >
1103
1118
<plugin >
1104
1119
<groupId >org.apache.maven.plugins</groupId >
1105
1120
<artifactId >maven-gpg-plugin</artifactId >
0 commit comments