File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 2626 gpg-passphrase : ${{ secrets.GPG_PASSPHRASE }}
2727
2828 - name : Deploy with Maven
29- run : mvn deploy -X
29+ run : mvn deploy -X -Psign-artifacts -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
3030 env :
3131 MAVEN_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
3232 MAVEN_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
Original file line number Diff line number Diff line change 4242 </developers >
4343
4444 <profiles >
45+ <profile >
46+ <id >sign-artifacts</id >
47+ <build >
48+ <plugins >
49+ <plugin >
50+ <groupId >org.apache.maven.plugins</groupId >
51+ <artifactId >maven-gpg-plugin</artifactId >
52+ <version >3.0.1</version >
53+ <executions >
54+ <execution >
55+ <id >sign-artifacts</id >
56+ <phase >verify</phase >
57+ <goals >
58+ <goal >sign</goal >
59+ </goals >
60+ </execution >
61+ </executions >
62+ </plugin >
63+ </plugins >
64+ </build >
65+ </profile >
4566 <profile >
4667 <id >ossrh</id >
4768 <activation >
You can’t perform that action at this time.
0 commit comments