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
10 changes: 10 additions & 0 deletions .changesets/1793046459-276bb2d1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
id: 1793046459-276bb2d1
features:
- core
targets:
- javav2
type: fix
bump: patch
description: write the Maven POM scm url with https://
author: 2ynn
date: "2026-10-26"
8 changes: 4 additions & 4 deletions pkg/generate/java_publishing_links_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,25 @@ func TestJavaPublishingLinksNormalizeGithubURL(t *testing.T) {
"canonical": {
githubURL: "github.com/acme/acme-java",
pomURL: "https://github.com/acme/acme-java",
scmURL: "github.com/acme/acme-java",
scmURL: "https://github.com/acme/acme-java",
scmConnection: "scm:git:ssh://git@github.com/acme/acme-java.git",
},
"scheme, www, .git and trailing slash": {
githubURL: "https://www.github.com/acme/acme-java.git/",
pomURL: "https://github.com/acme/acme-java",
scmURL: "github.com/acme/acme-java",
scmURL: "https://github.com/acme/acme-java",
scmConnection: "scm:git:ssh://git@github.com/acme/acme-java.git",
},
"uppercase scheme, www and .git": {
githubURL: "HTTPS://WWW.github.com/acme/acme-java.GIT",
pomURL: "https://github.com/acme/acme-java",
scmURL: "github.com/acme/acme-java",
scmURL: "https://github.com/acme/acme-java",
scmConnection: "scm:git:ssh://git@github.com/acme/acme-java.git",
},
"non-string value": {
githubURL: "123",
pomURL: "https://123",
scmURL: "123",
scmURL: "https://123",
scmConnection: "scm:git:ssh://git@123.git",
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ afterEvaluate {
description = config.description
url = 'https://{{.LocalComputed.GithubURL}}'
scm {
url = '{{.LocalComputed.GithubURL}}'
url = 'https://{{.LocalComputed.GithubURL}}'
connection = 'scm:git:ssh://git@{{.LocalComputed.GithubURL}}.git'
}
licenses {
Expand Down
2 changes: 1 addition & 1 deletion zSDKs/sdk-javav2/.speakeasy/gen.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion zSDKs/sdk-javav2/publishing.gradle

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading