File tree Expand file tree Collapse file tree 2 files changed +26
-10
lines changed
Expand file tree Collapse file tree 2 files changed +26
-10
lines changed Original file line number Diff line number Diff line change 5555 GITHUB_TOKEN : ${{ github.token }}
5656 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
5757 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
58- MAVEN_OPTS : -Dhttps.protocols=TLSv1.2 -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.retryHandler.count=10
58+ MAVEN_OPTS : -Xmx4g - Dhttps.protocols=TLSv1.2 -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.retryHandler.count=10
5959 if : ${{ env.MAVEN_USERNAME!='' && env.MAVEN_PASSWORD!='' }}
6060 run : mvn --batch-mode -Darguments="-Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}" -DsignTag=true -DtagNameFormat="${{ github.event.inputs.releaseVersion }}" -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} release:prepare release:perform --file pom.xml
6161 - name : Release on GitHub
Original file line number Diff line number Diff line change 265265 </executions >
266266 </plugin >
267267 <plugin >
268- <groupId >org.sonatype.central</groupId >
269- <artifactId >central-publishing-maven-plugin</artifactId >
270- <version >0.8.0</version >
271- <extensions >true</extensions >
272- <configuration >
273- <publishingServerId >ossrh</publishingServerId >
274- <autoPublish >true</autoPublish >
275- <waitMaxTime >5400</waitMaxTime >
276- </configuration >
268+ <groupId >org.sonatype.central</groupId >
269+ <artifactId >central-publishing-maven-plugin</artifactId >
270+ <version >0.8.0</version >
271+ <extensions >true</extensions >
272+ <configuration >
273+ <publishingServerId >ossrh</publishingServerId >
274+ <autoPublish >true</autoPublish >
275+ <waitMaxTime >5400</waitMaxTime >
276+ <excludeArtifacts >
277+ <!-- very large for central may cause broken pipe error-->
278+ <excludeArtifact >openam-distribution-kit</excludeArtifact >
279+ </excludeArtifacts >
280+ </configuration >
277281 </plugin >
278282 </plugins >
279283 </build >
402406 </snapshots >
403407 </pluginRepository >
404408 </pluginRepositories >
409+ <distributionManagement >
410+ <repository >
411+ <id >ossrh</id >
412+ <name >Central Portal Staging</name >
413+ <url >https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2</url >
414+ </repository >
415+ <snapshotRepository >
416+ <id >ossrh</id >
417+ <name >Central Portal Snapshots</name >
418+ <url >https://central.sonatype.com/repository/maven-snapshots/</url >
419+ </snapshotRepository >
420+ </distributionManagement >
405421 <!-- Source Control -->
406422 <scm >
407423 <connection >scm:git:https://github.com/OpenIdentityPlatform/OpenAM.git</connection >
You can’t perform that action at this time.
0 commit comments