File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 2929 gpg-passphrase : GPG_SECRET_KEY_PASSPHRASE
3030 cache : maven
3131 - name : Build with Maven
32- run : mvn -B -Pdeploy,ossrh -U deploy
32+ run : mvn -B -Pdeploy,central -U deploy
3333 env :
3434 CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
3535 CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
Original file line number Diff line number Diff line change 3030 email : ' git@mmprogrami.nl'
3131 token : ' ${{ secrets.GITHUB_TOKEN }}'
3232 - name : Release
33- run : mvn -Pdeploy,ossrh --batch-mode -Darguments=-DskipTests release:prepare release:perform
33+ run : mvn -Pdeploy,central --batch-mode -Darguments=-DskipTests release:prepare release:perform
3434 env :
3535 CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
3636 CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
Original file line number Diff line number Diff line change 8585 </repositories >
8686 <profiles >
8787 <profile >
88- <id >deploy </id >
88+ <id >central </id >
8989 <build >
9090 <plugins >
9191 <plugin >
92- <groupId >org.sonatype.plugins </groupId >
93- <artifactId >nexus-staging -maven-plugin</artifactId >
94- <version >1.7 .0</version >
92+ <groupId >org.sonatype.central </groupId >
93+ <artifactId >central-publishing -maven-plugin</artifactId >
94+ <version >0.8 .0</version >
9595 <extensions >true</extensions >
9696 <configuration >
97- <serverId >vpro-ossrh</serverId >
98- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
99- <autoReleaseAfterClose >true</autoReleaseAfterClose >
97+ <publishingServerId >central</publishingServerId >
98+ <autoPublish >true</autoPublish >
10099 </configuration >
101100 </plugin >
102101 <plugin >
You can’t perform that action at this time.
0 commit comments