Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "stubs/.+\\.json|^.secrets.baseline$",
"lines": null
},
"generated_at": "2024-01-26T01:10:32Z",
"generated_at": "2025-06-23T08:40:58Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -77,16 +77,6 @@
}
],
"results": {
"Jenkinsfile": [
{
"hashed_secret": "dd7c0356e7bfc571546237209d7fa15319e25cfa",
"is_secret": false,
"is_verified": false,
"line_number": 33,
"type": "Secret Keyword",
"verified_result": null
}
],
"README.md": [
{
"hashed_secret": "32e8612d8ca77c7ea8374aa7918db8e5df9252ed",
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ void publishStaging() {
}

void publishPublic() {
withCredentials([usernamePassword(credentialsId: 'ossrh', passwordVariable: 'OSSRH_PSW', usernameVariable: 'OSSRH_USR')]) {
withCredentials([usernamePassword(credentialsId: 'central-portal', passwordVariable: 'CP_PSW', usernameVariable: 'CP_USR')]) {
publishMaven('-P public')
}
}
Expand Down
6 changes: 3 additions & 3 deletions build/jenkins.settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</profiles>
<servers>
<server>
<id>ossrh</id>
<username>${env.OSSRH_USR}</username>
<password>${env.OSSRH_PSW}</password>
<id>central</id>
<username>${env.CP_USR}</username>
<password>${env.CP_PSW}</password>
</server>
<server>
<id>artifactory</id>
Expand Down
27 changes: 13 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<jacoco-plugin-version>0.8.13</jacoco-plugin-version>
<maven-deploy-plugin-version>3.1.4</maven-deploy-plugin-version>
<maven-source-plugin-version>3.3.1</maven-source-plugin-version>
<nexus-staging-plugin-version>1.7.0</nexus-staging-plugin-version>
<central-publish-plugin-version>0.8.0</central-publish-plugin-version>
<maven-gpg-plugin-version>3.2.7</maven-gpg-plugin-version>
<maven-source-plugin-version>3.3.1</maven-source-plugin-version>
<maven-jar-plugin-version>3.4.2</maven-jar-plugin-version>
Expand Down Expand Up @@ -95,9 +95,9 @@
<!-- We don't deploy snapshot releases -->
</snapshotRepository>
<repository>
<!-- This is where the nexus staging plugin will publish artifacts -->
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<!-- Config needed by default deploy plugin (unused) -->
<id>central</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</repository>
</distributionManagement>
<build>
Expand All @@ -110,16 +110,15 @@
<skip>true</skip>
</configuration>
</plugin>
<!-- Enable alternate nexus-staging-maven-plugin -->
<!-- Enable alternate central-publishing-maven-plugin -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -249,9 +248,9 @@
<version>${maven-deploy-plugin-version}</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-plugin-version}</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publish-plugin-version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down