release:prepare truncates Git URL when pushing the tag
- Dominant language
- Java
- Stars
- 128
- Forks
- 145
- Avg merge
- 7h 7m
- Merged PRs (30d)
- 3
Description
### Affected version
3.3.1
### Bug description
If the project to be released has an inner module that is accessed via `../child`, the Git URL is truncated.
If the Git structure looks like this
Repo-Root
| ---- parent
| ---- child
and "parent" has "child" as an inner module and has "scm.developerConnection=scm:git:https://github.com/foobar/repo.git", then an mvn release:prepare in "parent" will attempt to push the tag to "https://github.com/foobar/", which will of course fail.
See for example https://github.com/dbusche/test-mvn-release.git
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the linked nested-module example and an mvn release:prepare run. Trace how the scm.developerConnection Git URL is handled when the parent module pushes the tag; done means the complete repository URL is used instead of the truncated https://github.com/foobar/ path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, java
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100