You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "kwin (via GitHub)" <gi...@apache.org> on 2025/11/06 17:16:29 UTC

[PR] Describe SCM URL format without protocol prefix [maven-scm]

kwin opened a new pull request, #1334:
URL: https://github.com/apache/maven-scm/pull/1334

   This is proposed by GitHub UI for SSH access in Clone -> Local -> SSH This is supported by both git CLI
   (https://git-scm.com/docs/git-clone#_git_urls) and JGit
   
   Following this checklist to help us incorporate your
   contribution quickly and easily:
   
   - [ ] Your pull request should address just one issue, without pulling in other changes.
   - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
   - [ ] Each commit in the pull request should have a meaningful subject line and body.
     Note that commits might be squashed by a maintainer on merge.
   - [ ] Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied.
     This may not always be possible but is a best-practice.
   - [ ] Run `mvn verify` to make sure basic checks pass.
     A more thorough check will be performed on your pull request automatically.
   - [ ] You have run the integration tests successfully (`mvn -Prun-its verify`).
   
   If your pull request is about ~20 lines of code you don't need to sign an
   [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf) if you are unsure
   please ask on the developers list.
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   you have to acknowledge this by using the following check-box.
   
   - [ ] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   - [ ] In any other case, please file an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Describe SCM URL format without protocol prefix [maven-scm]

Posted by "kwin (via GitHub)" <gi...@apache.org>.
kwin merged PR #1334:
URL: https://github.com/apache/maven-scm/pull/1334


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Describe SCM URL format without protocol prefix [maven-scm]

Posted by "kwin (via GitHub)" <gi...@apache.org>.
kwin commented on PR #1334:
URL: https://github.com/apache/maven-scm/pull/1334#issuecomment-3501848167

   There may be issues down the road with https://github.com/apache/maven-doxia-sitetools/blob/bd43d3b1cc36d9e3f30723f6b9d91fd763d079f2/doxia-site-model/src/main/java/org/apache/maven/doxia/site/inheritance/URIPathDescriptor.java#L62 converting a string to a URI, e.g. in https://github.com/apache/maven-site-plugin/blob/aa16b7d1120bc6780185cab185f85fbc37579407/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java#L526 (compare with https://github.com/apache/maven-site-plugin/issues/1159) however I think this needs to be fixed there.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Describe SCM URL format without protocol prefix [maven-scm]

Posted by "michael-o (via GitHub)" <gi...@apache.org>.
michael-o commented on PR #1334:
URL: https://github.com/apache/maven-scm/pull/1334#issuecomment-3498467849

   I remember that there were reports with SCM regarding the GitHub format not being a URL. I asked GH to reconsider, no change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Describe SCM URL format without protocol prefix [maven-scm]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #1334:
URL: https://github.com/apache/maven-scm/pull/1334#issuecomment-3554745082

   @kwin Please assign appropriate label to PR according to the type of change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Describe SCM URL format without protocol prefix [maven-scm]

Posted by "kwin (via GitHub)" <gi...@apache.org>.
kwin commented on PR #1334:
URL: https://github.com/apache/maven-scm/pull/1334#issuecomment-3498521238

   I think it becomes a valid URI with the SCM prefix `scm:git:` (https://www.rfc-editor.org/rfc/rfc3986#section-3), though an [opaque one](https://docs.oracle.com/javase/8/docs/api/java/net/URI.html#isOpaque--). In fact SCM supports this fully and it is often used in POMs. Have you faced any concrete issues with that SCM URL format?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org