File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 2424 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
2525
2626 - name : Publish
27- run : mvn deploy
27+ run : mvn deploy -P release
2828 env :
2929 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
3030 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
Original file line number Diff line number Diff line change 7272 </execution >
7373 </executions >
7474 </plugin >
75+ <plugin >
76+ <groupId >org.sonatype.central</groupId >
77+ <artifactId >central-publishing-maven-plugin</artifactId >
78+ <version >0.9.0</version >
79+ <extensions >true</extensions >
80+ <configuration >
81+ <publishingServerId >central</publishingServerId >
82+ <autoPublish >true</autoPublish >
83+ <waitUntil >published</waitUntil >
84+ </configuration >
85+ </plugin >
7586 </plugins >
7687 </build >
7788 </profile >
You can’t perform that action at this time.
0 commit comments