File tree Expand file tree Collapse file tree 3 files changed +33
-18
lines changed Expand file tree Collapse file tree 3 files changed +33
-18
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,6 @@ limitations under the License.
58
58
<developerConnection >scm:git:https://github.com/netplex/json-smart-v2.git</developerConnection >
59
59
<url >https://github.com/netplex/json-smart-v2</url >
60
60
</scm >
61
- <distributionManagement >
62
- <repository >
63
- <id >central</id >
64
- <url >https://central.sonatype.com/api/v1/publisher/upload</url >
65
- </repository >
66
- </distributionManagement >
67
61
<!-- release with: export GPG_TTY=$(tty); mvn clean deploy -P release-sign-artifacts -->
68
62
<profiles >
69
63
<profile >
@@ -284,6 +278,17 @@ limitations under the License.
284
278
<artifactId >maven-deploy-plugin</artifactId >
285
279
<version >3.1.4</version >
286
280
</plugin >
281
+ <plugin >
282
+ <groupId >org.sonatype.central</groupId >
283
+ <artifactId >central-publishing-maven-plugin</artifactId >
284
+ <version >0.8.0</version >
285
+ <extensions >true</extensions >
286
+ <configuration >
287
+ <publishingServerId >central</publishingServerId >
288
+ <autoPublish >true</autoPublish >
289
+ <waitUntil >published</waitUntil >
290
+ </configuration >
291
+ </plugin >
287
292
</plugins >
288
293
</build >
289
294
<dependencies >
Original file line number Diff line number Diff line change 50
50
<developerConnection >scm:git:https://github.com/netplex/json-smart-v2.git</developerConnection >
51
51
<url >https://github.com/netplex/json-smart-v2</url >
52
52
</scm >
53
- <distributionManagement >
54
- <repository >
55
- <id >central</id >
56
- <url >https://central.sonatype.com/api/v1/publisher/upload</url >
57
- </repository >
58
- </distributionManagement >
59
53
<!-- release with: export GPG_TTY=$(tty); mvn clean deploy -P release-sign-artifacts -->
60
54
<profiles >
61
55
<profile >
256
250
<artifactId >maven-deploy-plugin</artifactId >
257
251
<version >3.1.4</version >
258
252
</plugin >
253
+ <plugin >
254
+ <groupId >org.sonatype.central</groupId >
255
+ <artifactId >central-publishing-maven-plugin</artifactId >
256
+ <version >0.8.0</version >
257
+ <extensions >true</extensions >
258
+ <configuration >
259
+ <publishingServerId >central</publishingServerId >
260
+ <autoPublish >true</autoPublish >
261
+ <waitUntil >published</waitUntil >
262
+ </configuration >
263
+ </plugin >
259
264
</plugins >
260
265
</build >
261
266
<dependencies >
Original file line number Diff line number Diff line change @@ -65,12 +65,6 @@ limitations under the License.
65
65
<developerConnection >scm:git:https://github.com/netplex/json-smart-v2.git</developerConnection >
66
66
<url >https://github.com/netplex/json-smart-v2</url >
67
67
</scm >
68
- <distributionManagement >
69
- <repository >
70
- <id >central</id >
71
- <url >https://central.sonatype.com/api/v1/publisher/upload</url >
72
- </repository >
73
- </distributionManagement >
74
68
<!-- release with: export GPG_TTY=$(tty); mvn clean deploy -P release-sign-artifacts -->
75
69
<profiles >
76
70
<profile >
@@ -294,6 +288,17 @@ limitations under the License.
294
288
<groupId >org.apache.maven.plugins</groupId >
295
289
<artifactId >maven-deploy-plugin</artifactId >
296
290
<version >3.1.4</version >
291
+ </plugin >
292
+ <plugin >
293
+ <groupId >org.sonatype.central</groupId >
294
+ <artifactId >central-publishing-maven-plugin</artifactId >
295
+ <version >0.8.0</version >
296
+ <extensions >true</extensions >
297
+ <configuration >
298
+ <publishingServerId >central</publishingServerId >
299
+ <autoPublish >true</autoPublish >
300
+ <waitUntil >published</waitUntil >
301
+ </configuration >
297
302
</plugin >
298
303
</plugins >
299
304
</build >
You can’t perform that action at this time.
0 commit comments