Skip to content

Commit 0f94605

Browse files
authored
ADR/publishing prep for renamespacing and release updates (#10212)
* ADR for renamespacing and release updates * ADR for renamespacing and release updates * use new secrets for publishing * use new secrets for publishing * remove old distribution management * remove try catch for cuda build * update string functionality for cuda * update string functionality for cuda * update string functionality for cuda * update string functionality for cuda * update string functionality for cuda * update string functionality for cuda * remove old distribution management * remove more ossrh references * update environment variables * update lombok version * clean up test dependencies errant linker flags * get rid of dup flags
1 parent 722592d commit 0f94605

File tree

98 files changed

+10941
-1108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+10941
-1108
lines changed

.github/workflows/build-deploy-android-arm64.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
serverId:
3030
description: 'Server id to publish to'
3131
required: false
32-
default: ossrh
32+
default: central
3333

3434
mvnFlags:
3535
description: "Extra maven flags (must escape input yourself if used)"
@@ -125,7 +125,10 @@ jobs:
125125
with:
126126
java-version: 11
127127
distribution: 'temurin'
128-
128+
server-id: 'central'
129+
server-username: ${{ secrets.SONATYPE_USER_1 }}
130+
server-password: ${{ secrets.SONATYPE_USER1_PASS }}
131+
129132

130133

131134
- uses: nttld/setup-ndk@v1
@@ -222,11 +225,11 @@ jobs:
222225
DEPLOY: 1
223226
BUILD_USING_MAVEN: 1
224227
TARGET_OS: android
225-
PUBLISH_TO: ossrh
228+
PUBLISH_TO: central
226229
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }}
227230
MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }}
228231
MAVEN_GPG_PASSPHRASE: ${{ secrets.PACKAGES_GPG_PASS }}
229-
DEPLOY_TO: ossrh
232+
DEPLOY_TO: central
230233
PERFORM_RELEASE: ${{ github.event.inputs.deployToReleaseStaging }}
231234
RELEASE_VERSION: ${{ github.event.inputs.releaseVersion }}
232235
SNAPSHOT_VERSION: ${{ github.event.inputs.snapshotVersion }}

.github/workflows/build-deploy-android-x86_64.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ on:
3131
serverId:
3232
description: 'Server id to publish to'
3333
required: false
34-
default: ossrh
34+
default: central
3535

3636
mvnFlags:
3737
description: "Extra maven flags (must escape input yourself if used)"
@@ -132,6 +132,9 @@ jobs:
132132
with:
133133
java-version: 11
134134
distribution: 'temurin'
135+
server-id: 'central'
136+
server-username: ${{ secrets.SONATYPE_USER_1 }}
137+
server-password: ${{ secrets.SONATYPE_USER1_PASS }}
135138

136139

137140

@@ -275,8 +278,8 @@ jobs:
275278
DEPLOY: 1
276279
BUILD_USING_MAVEN: 1
277280
TARGET_OS: android
278-
PUBLISH_TO: ossrh
279-
DEPLOY_TO: ossrh
281+
PUBLISH_TO: central
282+
DEPLOY_TO: central
280283
MAVEN_OPTS: -Xmx2g
281284
run: |
282285
echo "--- Environment for Build Step ---"

.github/workflows/build-deploy-cross-platform.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
serverId:
3030
description: 'Server id to publish to'
3131
required: false
32-
default: ossrh
32+
default: central
3333

3434
runsOn:
3535
description: 'System to run on'
@@ -74,6 +74,9 @@ jobs:
7474
with:
7575
java-version: 11
7676
distribution: 'temurin'
77+
server-id: 'central'
78+
server-username: ${{ secrets.SONATYPE_USER_1 }}
79+
server-password: ${{ secrets.SONATYPE_USER1_PASS }}
7780

7881

7982

@@ -84,7 +87,7 @@ jobs:
8487
MAVEN_GPG_KEY: ${{ secrets.SONATYPE_GPG_KEY }}
8588
DEBIAN_FRONTEND: noninteractive
8689
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87-
PUBLISH_TO: ossrh
90+
PUBLISH_TO: central
8891
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }}
8992
MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }}
9093
MAVEN_GPG_PASSPHRASE: ${{ secrets.PACKAGES_GPG_PASS }}

.github/workflows/build-deploy-linux-arm64.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
serverId:
2020
description: 'Server id to publish to'
2121
required: false
22-
default: ossrh
22+
default: central
2323

2424
snapshotVersion:
2525
description: 'Snapshot version target'
@@ -149,6 +149,9 @@ jobs:
149149
with:
150150
java-version: 11
151151
distribution: 'temurin'
152+
server-id: 'central'
153+
server-username: ${{ secrets.SONATYPE_USER_1 }}
154+
server-password: ${{ secrets.SONATYPE_USER1_PASS }}
152155

153156
- name: Setup path
154157
shell: bash
@@ -305,8 +308,8 @@ jobs:
305308
MAVEN_GPG_KEY: ${{ secrets.SONATYPE_GPG_KEY }}
306309
DEBIAN_FRONTEND: noninteractive
307310
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
308-
PUBLISH_TO: ossrh
309-
DEPLOY_TO: ossrh
311+
PUBLISH_TO: central
312+
DEPLOY_TO: central
310313
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }}
311314
MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }}
312315
MAVEN_GPG_PASSPHRASE: ${{ secrets.PACKAGES_GPG_PASS }}

.github/workflows/build-deploy-linux-cuda-12.3.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
serverId:
3030
description: 'Server id to publish to'
3131
required: false
32-
default: ossrh
32+
default: central
3333

3434

3535
mvnFlags:
@@ -242,7 +242,7 @@ jobs:
242242
MAVEN_GPG_KEY: ${{ secrets.SONATYPE_GPG_KEY }}
243243
DEBIAN_FRONTEND: noninteractive
244244
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
245-
PUBLISH_TO: ossrh
245+
PUBLISH_TO: central
246246
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }}
247247
MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }}
248248
MAVEN_GPG_PASSPHRASE: ${{ secrets.PACKAGES_GPG_PASS }}

.github/workflows/build-deploy-linux-cuda-12.6.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
serverId:
3030
description: 'Server id to publish to'
3131
required: false
32-
default: ossrh
32+
default: central
3333

3434

3535
mvnFlags:
@@ -200,7 +200,7 @@ jobs:
200200
MAVEN_GPG_KEY: ${{ secrets.SONATYPE_GPG_KEY }}
201201
DEBIAN_FRONTEND: noninteractive
202202
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
203-
PUBLISH_TO: ossrh
203+
PUBLISH_TO: central
204204
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }}
205205
MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }}
206206
MAVEN_GPG_PASSPHRASE: ${{ secrets.PACKAGES_GPG_PASS }}

.github/workflows/build-deploy-linux-x86_64-compat.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
serverId:
3030
description: 'Server id to publish to'
3131
required: false
32-
default: ossrh
32+
default: central
3333

3434
mvnFlags:
3535
description: "Extra maven flags (must escape input yourself if used)"
@@ -154,7 +154,7 @@ jobs:
154154
MAVEN_GPG_KEY: ${{ secrets.SONATYPE_GPG_KEY }}
155155
DEBIAN_FRONTEND: noninteractive
156156
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
157-
PUBLISH_TO: ossrh
157+
PUBLISH_TO: central
158158
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }}
159159
MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }}
160160
MAVEN_GPG_PASSPHRASE: ${{ secrets.PACKAGES_GPG_PASS }}
@@ -191,7 +191,7 @@ jobs:
191191
MAVEN_GPG_KEY: ${{ secrets.SONATYPE_GPG_KEY }}
192192
DEBIAN_FRONTEND: noninteractive
193193
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
194-
PUBLISH_TO: ossrh
194+
PUBLISH_TO: central
195195
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }}
196196
MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }}
197197
MAVEN_GPG_PASSPHRASE: ${{ secrets.PACKAGES_GPG_PASS }}

.github/workflows/build-deploy-linux-x86_64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
serverId:
3030
description: 'Server id to publish to'
3131
required: false
32-
default: ossrh
32+
default: central
3333

3434
mvnFlags:
3535
description: "Extra maven flags (must escape input yourself if used)"
@@ -199,7 +199,7 @@ jobs:
199199
MAVEN_GPG_KEY: ${{ secrets.SONATYPE_GPG_KEY }}
200200
DEBIAN_FRONTEND: noninteractive
201201
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
202-
PUBLISH_TO: ossrh
202+
PUBLISH_TO: central
203203
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }}
204204
MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }}
205205
MAVEN_GPG_PASSPHRASE: ${{ secrets.PACKAGES_GPG_PASS }}

.github/workflows/build-deploy-mac-arm64.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ on:
3030
serverId:
3131
description: 'Server id to publish to'
3232
required: false
33-
default: ossrh
33+
default: central
3434

3535
runsOn:
3636
description: 'System to run on'
3737
required: false
38-
default: macos-14-large
38+
default: macos-14
3939

4040
mvnFlags:
4141
description: "Extra maven flags (must escape input yourself if used)"
@@ -146,6 +146,9 @@ jobs:
146146
with:
147147
java-version: 11
148148
distribution: 'temurin'
149+
server-id: 'central'
150+
server-username: ${{ secrets.SONATYPE_USER_1 }}
151+
server-password: ${{ secrets.SONATYPE_USER1_PASS }}
149152

150153

151154

@@ -172,12 +175,6 @@ jobs:
172175
- name: Build and install
173176
shell: bash
174177
env:
175-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
176-
PUBLISH_TO: ossrh
177-
MAVEN_GPG_KEY: ${{ secrets.SONATYPE_GPG_KEY }}
178-
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }}
179-
MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }}
180-
MAVEN_GPG_PASSPHRASE: ${{ secrets.PACKAGES_GPG_PASS }}
181178
PERFORM_RELEASE: ${{ matrix.deploy_to_release_staging }}
182179
RELEASE_VERSION: ${{ matrix.release_version }}
183180
SNAPSHOT_VERSION: ${{ matrix.snapshot_version }}

.github/workflows/build-deploy-mac.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ on:
3030
serverId:
3131
description: 'Server id to publish to'
3232
required: false
33-
default: ossrh
33+
default: central
3434

3535
runsOn:
3636
description: 'System to run on'
@@ -152,6 +152,9 @@ jobs:
152152
with:
153153
java-version: 11
154154
distribution: 'temurin'
155+
server-id: 'central'
156+
server-username: ${{ secrets.SONATYPE_USER_1 }}
157+
server-password: ${{ secrets.SONATYPE_USER1_PASS }}
155158

156159

157160

@@ -179,7 +182,7 @@ jobs:
179182
shell: bash
180183
env:
181184
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
182-
PUBLISH_TO: ossrh
185+
PUBLISH_TO: central
183186
MAVEN_GPG_KEY: ${{ secrets.SONATYPE_GPG_KEY }}
184187
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }}
185188
MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }}

0 commit comments

Comments
 (0)