File tree Expand file tree Collapse file tree 2 files changed +26
-4
lines changed Expand file tree Collapse file tree 2 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 11<settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" >
22 <servers >
3- <server >
3+ <!-- < server>
44 <id>ossrh</id>
55 <username>${env.SERVER_OSSRH_USERNAME}</username>
66 <password>${env.SERVER_OSSRH_PASSWORD}</password>
7+ </server> -->
8+ <server >
9+ <id >central</id >
10+ <username >${env.MAVEN_CENTRAL_USERNAME}</username >
11+ <password >${env.MAVEN_CENTRAL_PASSWORD}</password >
712 </server >
813 </servers >
914
Original file line number Diff line number Diff line change 1010 <url >https://www.riskified.com</url >
1111
1212 <distributionManagement >
13- <snapshotRepository >
13+ <!-- < snapshotRepository>
1414 <id>ossrh</id>
1515 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
16+ </snapshotRepository> -->
17+ <snapshotRepository >
18+ <id >central</id >
19+ <url >https://central.sonatype.com/api/v1/publisher/deployments/</url >
1620 </snapshotRepository >
21+ <repository >
22+ <id >central</id >
23+ <url >https://central.sonatype.com/api/v1/publisher/deployments/</url >
24+ </repository >
1725 </distributionManagement >
1826
1927 <build >
2836 </configuration >
2937 </plugin >
3038
31- <plugin >
39+ <!-- < plugin>
3240 <groupId>org.sonatype.plugins</groupId>
3341 <artifactId>nexus-staging-maven-plugin</artifactId>
3442 <version>1.6.3</version>
3846 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
3947 <autoReleaseAfterClose>true</autoReleaseAfterClose>
4048 </configuration>
41- </plugin >
49+ </plugin> -->
50+ <plugin >
51+ <groupId >org.sonatype.central</groupId >
52+ <artifactId >central-publishing-maven-plugin</artifactId >
53+ <version >0.8.0</version >
54+ <extensions >true</extensions >
55+ <configuration >
56+ <publishingServerId >central</publishingServerId >
57+ </configuration >
58+ </plugin >
4259
4360 <plugin >
4461 <groupId >org.apache.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments