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 @@ -335,7 +335,7 @@ package and push the .jar every time a commit changes a source file).
335
335
336
336
## Releasing
337
337
338
- * Make sure auth is configured for "ossrh " repository ID in your .m2/settings.xml
338
+ * Make sure auth is configured for "central " repository ID in your .m2/settings.xml
339
339
* Update the version in src/main/ruby/jruby/rack/version.rb to the release version
340
340
* mvn release: prepare
341
341
* 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:
[email protected] :jruby/jruby-rack.git</
developerConnection >
290
279
</executions >
291
280
</plugin >
292
281
<plugin >
293
- <groupId >org.sonatype.plugins </groupId >
294
- <artifactId >nexus-staging -maven-plugin</artifactId >
295
- <version >1.7 .0</version >
282
+ <groupId >org.sonatype.central </groupId >
283
+ <artifactId >central-publishing -maven-plugin</artifactId >
284
+ <version >0.8 .0</version >
296
285
<extensions >true</extensions >
297
286
<configuration >
298
- <serverId >ossrh</serverId >
299
- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
300
- <autoReleaseAfterClose >false</autoReleaseAfterClose >
287
+ <publishingServerId >central</publishingServerId >
288
+ <autoPublish >true</autoPublish >
301
289
</configuration >
302
290
</plugin >
303
291
<plugin >
You can’t perform that action at this time.
0 commit comments