Skip to content

Conversation

@cj848
Copy link
Collaborator

@cj848 cj848 commented Jan 11, 2026

Motivation

[English]
The spring-data-jpa-boot4-support module failed to publish because the closeAndReleaseStagingRepository task was missing.
Initially, I thought this was due to a lack of publish permissions, but upon further investigation, I discovered that the nexus-publish plugin and its configuration were missing in the module's build script.
Additionally, the module lacked its own Gradle wrapper, which caused inconvenience when opening it as a standalone project in an IDE.
This PR fixes the configuration to enable proper publishing and improves IDE compatibility.

[Korean]
spring-data-jpa-boot4-support 모듈 배포 시 closeAndReleaseStagingRepository 태스크를 찾을 수 없어 실패하는 문제가 있었습니다.
처음에는 publish 권한이 없어서 발생한 문제인 줄 알았으나, 확인해 보니 해당 모듈의 빌드 스크립트에 nexus-publish 플러그인과 관련 설정이 누락된 것이 원인이었습니다.
또한, 해당 모듈에 Gradle wrapper가 포함되어 있지 않아 IDE에서 독립적인 프로젝트로 열 때 불편함이 있었습니다.
이에 정상적인 배포가 가능하도록 설정을 수정하고, IDE 호환성을 개선하였습니다.

Modifications

[English]

  • Applied the nexus-publish plugin to support/spring-data-jpa-boot4/build.gradle.kts.
  • Configured the nexusPublishing block in support/spring-data-jpa-boot4/build.gradle.kts to support Sonatype staging repositories.
  • Added Gradle Wrapper files (gradlew, gradle-wrapper.jar, etc.) to support/spring-data-jpa-boot4/ for better IDE support and standalone build capability.
  • Added JUnit 6 dependencies to libs.versions.toml.

[Korean]

  • support/spring-data-jpa-boot4/build.gradle.ktsnexus-publish 플러그인을 적용했습니다.
  • support/spring-data-jpa-boot4/build.gradle.kts에 Sonatype 스테이징 리포지토리 지원을 위한 nexusPublishing 설정을 추가했습니다.
  • IDE 지원 및 독립적인 빌드 수행을 위해 support/spring-data-jpa-boot4/ 경로에 Gradle Wrapper 파일들(gradlew, gradle-wrapper.jar 등)을 추가했습니다.
  • libs.versions.toml에 JUnit 6 의존성을 추가했습니다.

Result

[English]
The closeAndReleaseStagingRepository task is now correctly recognized.
Also, the project can be correctly recognized by the IDE.
I have attached the execution result of the Gradle task in the screenshot below.

[Korean]
이제 closeAndReleaseStagingRepository 태스크가 정상적으로 인식되는 것을 확인했습니다.
또한, IDE에서도 프로젝트가 정상적으로 인식됩니다.
Gradle task 수행 결과는 아래 스크린샷으로 첨부합니다.

image

@cj848
Copy link
Collaborator Author

cj848 commented Jan 11, 2026

@shouwn This 3.7.0 release appears to be flawed. It appears a fresh update to 3.7.1 is needed. Alternatively, if only the boot 4 module is released separately, it could be redistributed as 3.7.0.

--- korean
이번 3.7.0 배포는 잘못된것으로 보입니다 3.7.1로 한번 다시 업데이트가 필요해 보입니다. 혹은 boot 4 모듈만 별도로 배포하게 되면 3.7.0으로 재배포가 가능하지 않을까 생각됩니다.

@cj848 cj848 merged commit 849dbd0 into line:develop Jan 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants