Skip to content

release:prepare truncates Git URL when pushing the tag #1457

@dbusche

Description

@dbusche

Affected version

3.3.1

Bug description

If the project to be released has an inner module that is accessed via <module>../child</module>, 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions