File tree Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Original file line number Diff line number Diff line change 62
62
63
63
<distributionManagement >
64
64
<snapshotRepository >
65
- <id >ossrh </id >
66
- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
65
+ <id >central </id >
66
+ <url >https://central .sonatype.com/repository/maven- snapshots/ </url >
67
67
</snapshotRepository >
68
68
</distributionManagement >
69
69
70
+ <repositories >
71
+ <repository >
72
+ <name >Central Portal Snapshots</name >
73
+ <id >central-portal-snapshots</id >
74
+ <url >https://central.sonatype.com/repository/maven-snapshots/</url >
75
+ <releases >
76
+ <enabled >false</enabled >
77
+ </releases >
78
+ <snapshots >
79
+ <enabled >true</enabled >
80
+ </snapshots >
81
+ </repository >
82
+ </repositories >
83
+
70
84
<properties >
71
85
<revision >2.6.1</revision >
72
86
<maven .compiler.source>8</maven .compiler.source>
191
205
</extensions >
192
206
<plugins >
193
207
<plugin >
194
- <groupId >org.sonatype.plugins </groupId >
195
- <artifactId >nexus-staging -maven-plugin</artifactId >
196
- <version >1.6.8 </version >
208
+ <groupId >org.sonatype.central </groupId >
209
+ <artifactId >central-publishing -maven-plugin</artifactId >
210
+ <version >0.8.0 </version >
197
211
<extensions >true</extensions >
198
212
<configuration >
199
- <serverId >ossrh</serverId >
200
- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
201
- <autoReleaseAfterClose >true</autoReleaseAfterClose >
213
+ <publishingServerId >central</publishingServerId >
214
+ <autoPublish >true</autoPublish >
202
215
</configuration >
203
216
</plugin >
204
217
<plugin >
You can’t perform that action at this time.
0 commit comments