Skip to content

Conversation

ThomasVitale
Copy link
Contributor

Fixes gh-1967

Context

Add normalization for the Nexus3 URL to ensure the repository trailing slash is included when performing the deploy operation.

Checklist

@ThomasVitale ThomasVitale requested a review from aalmiray as a code owner August 18, 2025 13:40
@CLAassistant
Copy link

CLAassistant commented Aug 18, 2025

CLA assistant check
All committers have signed the CLA.

@@ -20,6 +20,7 @@
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.jreleaser.model.Active;
import org.jreleaser.model.Http;
import org.jreleaser.model.internal.validation.deploy.maven.MavenDeployersValidator;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this import was added because of the javadoc comment. Could it be removed and use the FQN classname in the comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I can change that

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Add normalization for the Nexus3 URL to ensure the repository trailing slash is included when performing the deploy operation.

Fixes jreleasergh-1967

Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
@aalmiray aalmiray merged commit 642206d into jreleaser:main Aug 18, 2025
9 checks passed
@aalmiray
Copy link
Member

Thank you 😄

@aalmiray aalmiray added the bug Something isn't working label Aug 18, 2025
@aalmiray aalmiray added this to the v1.20.0 milestone Aug 18, 2025
ThomasVitale added a commit to ThomasVitale/jreleaser that referenced this pull request Aug 19, 2025
This reverts the change done in jreleaser#1968, which was not correct for Nexus3.
ThomasVitale added a commit to ThomasVitale/jreleaser that referenced this pull request Aug 19, 2025
This reverts the change done in jreleaser#1968, which was not correct for Nexus3.

Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
@ThomasVitale ThomasVitale deleted the gh-1967 branch August 19, 2025 07:32
aalmiray pushed a commit that referenced this pull request Aug 19, 2025
This reverts the change done in #1968, which was not correct for Nexus3.

Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
@aalmiray aalmiray added the released Issue has been released label Aug 31, 2025
@aalmiray
Copy link
Member

🎉 This issue has been resolved in v1.20.0 (Release Notes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Issue has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[nexus3] JReleaser removes trailing slash from URL, leading to 400 error
3 participants