File tree Expand file tree Collapse file tree 2 files changed +36
-7
lines changed
.github/actions/deploy-release Expand file tree Collapse file tree 2 files changed +36
-7
lines changed Original file line number Diff line number Diff line change 6262 -Dmaven.test.skip=true
6363 -Dgpg.passphrase="$GPG_PASSPHRASE"
6464 -Dgpg.keyname="$GPG_PUB_KEY"
65- clean deploy
65+ clean deploy -P deploy-release
6666 shell : bash
6767 env :
6868 MAVEN_CENTRAL_USER : ${{ inputs.user }}
Original file line number Diff line number Diff line change 182182 </plugin >
183183 <plugin >
184184 <artifactId >maven-gpg-plugin</artifactId >
185- <version >3.2.7 </version >
186- <executions >
185+ <version >3.2.8 </version >
186+ <!-- < executions>
187187 <execution>
188188 <id>sign-artifacts</id>
189189 <phase>deploy</phase>
190190 <goals>
191191 <goal>sign</goal>
192192 </goals>
193193 </execution>
194- </executions >
194+ </executions> -->
195195 </plugin >
196196 <plugin >
197197 <groupId >org.sonatype.central</groupId >
198198 <artifactId >central-publishing-maven-plugin</artifactId >
199- <version >0.7 .0</version >
199+ <version >0.8 .0</version >
200200 <extensions >true</extensions >
201- <configuration >
201+ <!-- < configuration>
202202 <publishingServerId>central</publishingServerId>
203- </configuration >
203+ </configuration> -->
204204 </plugin >
205205 </plugins >
206206
272272 </pluginManagement >
273273 </build >
274274
275+ <profiles >
276+ <profile >
277+ <id >deploy-release</id >
278+ <build >
279+ <plugins >
280+ <plugin >
281+ <artifactId >maven-gpg-plugin</artifactId >
282+ <executions >
283+ <execution >
284+ <id >sign-artifacts</id >
285+ <phase >deploy</phase >
286+ <goals >
287+ <goal >sign</goal >
288+ </goals >
289+ </execution >
290+ </executions >
291+ </plugin >
292+ <plugin >
293+ <groupId >org.sonatype.central</groupId >
294+ <artifactId >central-publishing-maven-plugin</artifactId >
295+ <configuration >
296+ <publishingServerId >central</publishingServerId >
297+ </configuration >
298+ </plugin >
299+ </plugins >
300+ </build >
301+ </profile >
302+ </profiles >
303+
275304 <distributionManagement >
276305 <snapshotRepository >
277306 <id >artifactory</id >
You can’t perform that action at this time.
0 commit comments