File tree Expand file tree Collapse file tree 2 files changed +5
-16
lines changed
Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 7777 -DskipTests=true \
7878 -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} \
7979 -Dgpg.pinentry-mode=loopback \
80+ -DaltDeploymentRepository="ossrh::default::https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/" \
8081 clean deploy
8182 env :
8283 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change 178178 </executions >
179179 </plugin >
180180
181+ <!-- central-publishing-maven-plugin 暂时移除,使用 maven-deploy-plugin 直传 -->
182+ <!--
181183 <plugin>
182184 <groupId>org.sonatype.central</groupId>
183185 <artifactId>central-publishing-maven-plugin</artifactId>
189191 <autoPublish>true</autoPublish>
190192 </configuration>
191193 </plugin>
194+ -->
192195
193- <!-- maven-deploy-plugin 按“PUT 上传”即可,端点在 distributionManagement 中已切换 -->
194196 <plugin >
195197 <groupId >org.apache.maven.plugins</groupId >
196198 <artifactId >maven-deploy-plugin</artifactId >
197199 <version >3.1.2</version >
198- <executions >
199- <execution >
200- <id >default-deploy</id >
201- <phase >deploy</phase >
202- <goals >
203- <goal >deploy</goal >
204- </goals >
205- <configuration >
206- <skip >true</skip >
207- </configuration >
208- </execution >
209- </executions >
210- <configuration >
211- <skip >true</skip >
212- </configuration >
200+ <!-- 恢复默认配置 -->
213201 </plugin >
214202 </plugins >
215203 </build >
You can’t perform that action at this time.
0 commit comments