Skip to content

Use GitHub HTTP URL as Maven scm url#1887

Open
Marcono1234 wants to merge 1 commit intoraphw:masterfrom
Marcono1234:maven-scm-url
Open

Use GitHub HTTP URL as Maven scm url#1887
Marcono1234 wants to merge 1 commit intoraphw:masterfrom
Marcono1234:maven-scm-url

Conversation

@Marcono1234
Copy link
Contributor

According to https://maven.apache.org/pom.html#SCM the url should be "a publicly browsable repository", and the example also uses an HTTP URL.

For example on https://central.sonatype.com/artifact/net.bytebuddy/byte-buddy the previous value lead to a malformed "Source Control" link.

Note that the scm url is also affected by #718 though.

According to https://maven.apache.org/pom.html#SCM the `url` should be
"a publicly browsable repository", and the example also uses an HTTP URL.
@M-PRANAY
Copy link

M-PRANAY commented Mar 6, 2026

Shouldn't the url direct to https://bytebuddy.net/#/ instead of github project?

@Marcono1234
Copy link
Contributor Author

This PR is specifically about the scm (source code management) url, so using the GitHub URL seems appropriate.

The top-level url already points to the website:

<url>https://bytebuddy.net</url>

@M-PRANAY
Copy link

M-PRANAY commented Mar 6, 2026

the byte-buddy should refer to https://bytebuddy.net from https://central.sonatype.com/artifact/net.bytebuddy/byte-buddy, but it redirects to a broken https://bytebuddy.net/byte-buddy;

@Marcono1234
Copy link
Contributor Author

That is #718, as mentioned above. This PR here does not try to fix that.

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