File tree Expand file tree Collapse file tree 2 files changed +28
-10
lines changed
Expand file tree Collapse file tree 2 files changed +28
-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+ <excludeArtifact > <!-- very large for central -->
278+ <groupId >org.openidentityplatform.openam</groupId >
279+ <artifactId >openam-distribution-kit</artifactId >
280+ </excludeArtifact >
281+ </excludeArtifacts >
282+ </configuration >
277283 </plugin >
278284 </plugins >
279285 </build >
402408 </snapshots >
403409 </pluginRepository >
404410 </pluginRepositories >
411+ <distributionManagement >
412+ <repository >
413+ <id >ossrh</id >
414+ <name >Central Portal Staging</name >
415+ <url >https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2</url >
416+ </repository >
417+ <snapshotRepository >
418+ <id >ossrh</id >
419+ <name >Central Portal Snapshots</name >
420+ <url >https://central.sonatype.com/repository/maven-snapshots/</url >
421+ </snapshotRepository >
422+ </distributionManagement >
405423 <!-- Source Control -->
406424 <scm >
407425 <connection >scm:git:https://github.com/OpenIdentityPlatform/OpenAM.git</connection >
You can’t perform that action at this time.
0 commit comments