File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ jobs:
1515 with :
1616 java-version : ' 17'
1717 distribution : ' temurin'
18- server-id : ossrh
18+ server-id : central
1919 server-username : MAVEN_USERNAME
2020 server-password : MAVEN_PASSWORD
2121 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
2222 gpg-passphrase : GPG_PASSPHRASE
2323
2424 - name : Deploy to Maven Central
25- run : mvn -f PgBulkInsert/pom.xml -s .github/workflows/maven-settings.xml - B deploy -DskipTests
25+ run : mvn -f PgBulkInsert/pom.xml -B deploy -DskipTests
2626 env :
2727 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
2828 MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
Original file line number Diff line number Diff line change 8282 <distributionManagement >
8383 <repository >
8484 <id >central</id >
85- <url >https://central.sonatype.com/api/v1/publisher/upload</url >
85+ <url >https://central.sonatype.com</url >
86+ <releases >
87+ <enabled >true</enabled >
88+ </releases >
89+ <snapshots >
90+ <enabled >false</enabled >
91+ </snapshots >
8692 </repository >
8793 </distributionManagement >
8894 <properties >
116122 <extensions >true</extensions >
117123 <configuration >
118124 <publishingServerId >central</publishingServerId >
125+ <autoPublish >true</autoPublish >
126+ <waitUntil >published</waitUntil >
119127 </configuration >
120128 </plugin >
121129 </plugins >
You can’t perform that action at this time.
0 commit comments