File tree Expand file tree Collapse file tree 3 files changed +18
-28
lines changed
Expand file tree Collapse file tree 3 files changed +18
-28
lines changed Original file line number Diff line number Diff line change 4646 <maven .surefire.version>3.1.2</maven .surefire.version>
4747 <junit .version>4.13.2</junit .version>
4848 <maven .jar.plugin.version>3.3.0</maven .jar.plugin.version>
49- <nexus .staging .plugin.version>1.6.13</ nexus .staging .plugin.version>
49+ <sonatype .central .plugin.version>0.9.0</ sonatype .central .plugin.version>
5050 <maven .gpg.plugin.version>3.1.0</maven .gpg.plugin.version>
5151 <maven .source.plugin.version>3.3.0</maven .source.plugin.version>
5252 <maven .javadoc.plugin.version>3.5.0</maven .javadoc.plugin.version>
200200 </configuration >
201201 </plugin >
202202 <plugin >
203- <groupId >org.sonatype.plugins </groupId >
204- <artifactId >nexus-staging -maven-plugin</artifactId >
205- <version >${nexus.staging .plugin.version} </version >
203+ <groupId >org.sonatype.central </groupId >
204+ <artifactId >central-publishing -maven-plugin</artifactId >
205+ <version >${sonatype.central .plugin.version} </version >
206206 <extensions >true</extensions >
207207 <configuration >
208- <serverId >ossrh</serverId >
209- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
210- <autoReleaseAfterClose >true</autoReleaseAfterClose >
208+ <publishingServerId >central</publishingServerId >
209+ <autoPublish >true</autoPublish >
211210 </configuration >
212211 </plugin >
213212 <plugin >
Original file line number Diff line number Diff line change 3131 <
developerConnection >scm:git:
[email protected] :astonbitecode/j4rs.git</
developerConnection >
3232 </scm >
3333
34- <!-- <repositories>-->
35- <!-- <repository>-->
36- <!-- <id>thenewmotion</id>-->
37- <!-- <name>The New Motion Repository</name>-->
38- <!-- <url>http://nexus.thenewmotion.com/content/repositories/releases-public</url>-->
39- <!-- </repository>-->
40- <!-- </repositories>-->
41-
4234 <distributionManagement >
4335 <snapshotRepository >
4436 <id >ossrh</id >
5547 <junit .version>4.13.2</junit .version>
5648 <maven .jar.plugin.version>3.3.0</maven .jar.plugin.version>
5749 <nexus .staging.plugin.version>1.6.13</nexus .staging.plugin.version>
50+ <sonatype .central.plugin.version>0.9.0</sonatype .central.plugin.version>
5851 <maven .gpg.plugin.version>3.1.0</maven .gpg.plugin.version>
5952 <maven .source.plugin.version>3.3.0</maven .source.plugin.version>
6053 <maven .javadoc.plugin.version>3.5.0</maven .javadoc.plugin.version>
205198 </configuration >
206199 </plugin >
207200 <plugin >
208- <groupId >org.sonatype.plugins </groupId >
209- <artifactId >nexus-staging -maven-plugin</artifactId >
210- <version >${nexus.staging .plugin.version} </version >
201+ <groupId >org.sonatype.central </groupId >
202+ <artifactId >central-publishing -maven-plugin</artifactId >
203+ <version >${sonatype.central .plugin.version} </version >
211204 <extensions >true</extensions >
212205 <configuration >
213- <serverId >ossrh</serverId >
214- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
215- <autoReleaseAfterClose >true</autoReleaseAfterClose >
206+ <publishingServerId >central</publishingServerId >
207+ <autoPublish >true</autoPublish >
216208 </configuration >
217209 </plugin >
218210 <plugin >
Original file line number Diff line number Diff line change 4646 <maven .surefire.version>3.1.2</maven .surefire.version>
4747 <junit .version>4.13.2</junit .version>
4848 <maven .jar.plugin.version>3.3.0</maven .jar.plugin.version>
49- <nexus .staging .plugin.version>1.6.13</ nexus .staging .plugin.version>
49+ <sonatype .central .plugin.version>0.9.0</ sonatype .central .plugin.version>
5050 <maven .gpg.plugin.version>3.1.0</maven .gpg.plugin.version>
5151 <maven .source.plugin.version>3.3.0</maven .source.plugin.version>
5252 <maven .javadoc.plugin.version>3.5.0</maven .javadoc.plugin.version>
148148 </configuration >
149149 </plugin >
150150 <plugin >
151- <groupId >org.sonatype.plugins </groupId >
152- <artifactId >nexus-staging -maven-plugin</artifactId >
153- <version >${nexus.staging .plugin.version} </version >
151+ <groupId >org.sonatype.central </groupId >
152+ <artifactId >central-publishing -maven-plugin</artifactId >
153+ <version >${sonatype.central .plugin.version} </version >
154154 <extensions >true</extensions >
155155 <configuration >
156- <serverId >ossrh</serverId >
157- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
158- <autoReleaseAfterClose >true</autoReleaseAfterClose >
156+ <publishingServerId >central</publishingServerId >
157+ <autoPublish >true</autoPublish >
159158 </configuration >
160159 </plugin >
161160 <plugin >
You can’t perform that action at this time.
0 commit comments