File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 5353 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
5454 OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
5555 MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
56- run : mvn -B -DskipTests clean deploy
56+ run : mvn -B -DskipTests -Pdeploy-to-central clean deploy
Original file line number Diff line number Diff line change 3636 <maven .compiler.target>21</maven .compiler.target>
3737 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
3838 <spring-boot .version>3.5.8</spring-boot .version>
39+ <skipSignArtifacts >true</skipSignArtifacts >
40+ <skipPublishing >true</skipPublishing >
3941 </properties >
4042
4143 <dependencyManagement >
9799 <goals ><goal >sign</goal ></goals >
98100 </execution >
99101 </executions >
102+ <configuration >
103+ <skip >${skipSignArtifacts} </skip >
104+ </configuration >
100105 </plugin >
101106
102107 <plugin >
105110 <version >0.9.0</version >
106111 <extensions >true</extensions >
107112 <configuration >
113+ <skipPublishing >${skipPublishing} </skipPublishing >
108114 <publishingServerId >central</publishingServerId >
109115 </configuration >
110116 </plugin >
111117 </plugins >
112118 </build >
113119
120+ <profiles >
121+ <profile >
122+ <id >deploy-to-central</id >
123+ <properties >
124+ <skipSignArtifacts >false</skipSignArtifacts >
125+ <skipPublishing >false</skipPublishing >
126+ </properties >
127+ </profile >
128+ </profiles >
129+
114130 <licenses >
115131 <license >
116132 <name >MIT License</name >
You can’t perform that action at this time.
0 commit comments