Skip to content

[MRELEASE-930] Improve support for JGit SCM provider #1091

@jira-importer

Description

@jira-importer

Richard DiCroce opened MRELEASE-930 and commented

maven-release-plugin does not support the JGit SCM provider out of the box. It can be adapted to support JGit using the providerImplementations option, but only if the POM's SCM URL starts with "scm:git" and not "scm:jgit". It would be nice to support the JGit URL as well. This patch adds said support and also fixes a broken unit test for the Git ScmTranslator.

For anyone else interested in using the JGit SCM with maven-release-plugin, note that the JGit SCM itself has several bugs that can cause a release to fail. See SCM-806 and SCM-807. Also you will need to add the JGit SCM as a dependency to maven-release-plugin in your POM, since maven-scm-providers-standard currently does not include the JGit provider. SCM-808 would add it.


Affects: 2.5.3

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    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