File tree Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ package and push the .jar every time a commit changes a source file).
337
337
338
338
## Releasing
339
339
340
- * Make sure auth is configured for "ossrh " repository ID in your .m2/settings.xml
340
+ * Make sure auth is configured for "central " repository ID in your .m2/settings.xml
341
341
* Update the version in src/main/ruby/jruby/rack/version.rb to the release version
342
342
* mvn release: prepare
343
343
* mvn release: perform (possibly with -DuseReleaseProfile=false due to Javadoc doclint failures for now)
Original file line number Diff line number Diff line change 31
31
<url >https://github.com/jruby/jruby-rack/issues</url >
32
32
</issueManagement >
33
33
34
- <distributionManagement >
35
- <snapshotRepository >
36
- <id >ossrh</id >
37
- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
38
- </snapshotRepository >
39
- <repository >
40
- <id >ossrh</id >
41
- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
42
- </repository >
43
- </distributionManagement >
44
-
45
34
<scm >
46
35
<connection >scm:git:git://github.com/jruby/jruby-rack.git</connection >
47
36
<developerConnection >scm:git:git@github.com:jruby/jruby-rack.git</developerConnection >
284
273
</executions >
285
274
</plugin >
286
275
<plugin >
287
- <groupId >org.sonatype.plugins </groupId >
288
- <artifactId >nexus-staging -maven-plugin</artifactId >
289
- <version >1.7 .0</version >
276
+ <groupId >org.sonatype.central </groupId >
277
+ <artifactId >central-publishing -maven-plugin</artifactId >
278
+ <version >0.8 .0</version >
290
279
<extensions >true</extensions >
291
280
<configuration >
292
- <serverId >ossrh</serverId >
293
- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
294
- <autoReleaseAfterClose >false</autoReleaseAfterClose >
281
+ <publishingServerId >central</publishingServerId >
282
+ <autoPublish >true</autoPublish >
295
283
</configuration >
296
284
</plugin >
297
285
<plugin >
You can’t perform that action at this time.
0 commit comments