Repository navigation
[global] Maven Central 배포 전환 (3.0.1) - #17
Merged
Merged
Conversation
ZaMan0806
marked this pull request as ready for review
October 26, 2026 12:03
|
|
hongjm0912
approved these changes
Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
SDK 배포처를 GitHub Packages에서 Maven Central로 전환하고 버전을
3.0.1로 올립니다.GitHub Packages는 공개 패키지도 내려받을 때 토큰이 필요해서, 사용자가 PAT를 발급하고 SDK·
datagsm-server두 저장소를 등록해야 했습니다. 같은 이유로 JitPack 빌드도datagsm-shared를 받지 못해 401로 실패했습니다. 이제mavenCentral()만 있으면 SDK와 shared를 함께 받을 수 있습니다.shared는 themoment-team/datagsm-server#464 배포로 Maven Central에 공개된
20261026-53을 사용합니다.Changes
team.themoment.datagsm.sdk:openapi→io.github.themoment-team:datagsm-openapi-sdk-java:3.0.1. Java 패키지(import)는 그대로입니다.build.gradle.kts)maven-publish수동 설정을com.vanniktech.maven.publish0.37.0으로 교체하고, Central 필수 요건(sources·javadoc jar, pom 정보, 서명)을 맞췄습니다.gpr.user/gpr.token인증 설정을 모두 제거했습니다.io.github.themoment-team:datagsm-shared:20261026-53으로 변경했습니다. 생성된 타입은 기존20261017-50과 동일하고,kotlinx-datetime이compile범위로 노출됩니다.signingInMemoryKey가 있을 때만 합니다. 키 없이도publishToMavenLocal로 로컬 검증이 가능하고, 서명 없이 Central에 올리면 Portal 검증에서 거부됩니다.CD.yml)publishToMavenCentral로 업로드합니다. 공개는 Central Portal에서 직접 누릅니다.build.gradle.kts의version이 다르면 배포 전에 실패하도록 검사를 추가했습니다.MAVEN_CENTRAL_USERNAME,MAVEN_CENTRAL_PASSWORD,SIGNING_KEY,SIGNING_KEY_PASSWORD)를 사용하고,packages: write권한을 제거했습니다.CI.yml): 더 이상 필요 없는GITHUB_ACTOR/GITHUB_TOKEN환경 변수를 제거했습니다.mavenCentral()기준(Gradle Kotlin/Groovy, Maven)으로 다시 쓰고, 3.0.0 → 3.0.1 마이그레이션 안내를 추가했습니다.Type of Change
Breaking change는 의존성 좌표 변경입니다. 코드 API는 바뀌지 않았습니다.
Checklist
검증
20261026-53으로 캐시 없이 다시 빌드했고, 기존 테스트 50개가 모두 통과했습니다.publishToMavenLocal로 jar, sources jar, javadoc jar, pom, module이 생성되고, 서명 키가 있을 때 5개 파일 모두 서명이 검증되는 것을 확인했습니다. 키가 없을 때는 서명 없이 정상 배포됩니다.Related Issues