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.
5858 <developerConnection >scm:git:https://github.com/netplex/json-smart-v2.git</developerConnection >
5959 <url >https://github.com/netplex/json-smart-v2</url >
6060 </scm >
61- <distributionManagement >
62- <repository >
63- <id >central</id >
64- <url >https://central.sonatype.com/api/v1/publisher/upload</url >
65- </repository >
66- </distributionManagement >
6761 <!-- release with: export GPG_TTY=$(tty); mvn clean deploy -P release-sign-artifacts -->
6862 <profiles >
6963 <profile >
@@ -284,6 +278,17 @@ limitations under the License.
284278 <artifactId >maven-deploy-plugin</artifactId >
285279 <version >3.1.4</version >
286280 </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 >
287292 </plugins >
288293 </build >
289294 <dependencies >
Original file line number Diff line number Diff line change 5050 <developerConnection >scm:git:https://github.com/netplex/json-smart-v2.git</developerConnection >
5151 <url >https://github.com/netplex/json-smart-v2</url >
5252 </scm >
53- <distributionManagement >
54- <repository >
55- <id >central</id >
56- <url >https://central.sonatype.com/api/v1/publisher/upload</url >
57- </repository >
58- </distributionManagement >
5953 <!-- release with: export GPG_TTY=$(tty); mvn clean deploy -P release-sign-artifacts -->
6054 <profiles >
6155 <profile >
256250 <artifactId >maven-deploy-plugin</artifactId >
257251 <version >3.1.4</version >
258252 </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 >
259264 </plugins >
260265 </build >
261266 <dependencies >
Original file line number Diff line number Diff line change @@ -65,12 +65,6 @@ limitations under the License.
6565 <developerConnection >scm:git:https://github.com/netplex/json-smart-v2.git</developerConnection >
6666 <url >https://github.com/netplex/json-smart-v2</url >
6767 </scm >
68- <distributionManagement >
69- <repository >
70- <id >central</id >
71- <url >https://central.sonatype.com/api/v1/publisher/upload</url >
72- </repository >
73- </distributionManagement >
7468 <!-- release with: export GPG_TTY=$(tty); mvn clean deploy -P release-sign-artifacts -->
7569 <profiles >
7670 <profile >
@@ -294,6 +288,17 @@ limitations under the License.
294288 <groupId >org.apache.maven.plugins</groupId >
295289 <artifactId >maven-deploy-plugin</artifactId >
296290 <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 >
297302 </plugin >
298303 </plugins >
299304 </build >
You can’t perform that action at this time.
0 commit comments