You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/07 18:00:00 UTC

[jira] [Commented] (SCM-807) JGit impl check-in fails unless the Maven project is in the working copy root

    [ https://issues.apache.org/jira/browse/SCM-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563911#comment-17563911 ] 

ASF GitHub Bot commented on SCM-807:
------------------------------------

kwin commented on PR #152:
URL: https://github.com/apache/maven-scm/pull/152#issuecomment-1178010241

   @michael-o Please have a look, I am not sure whether it is correct that add and checkin should both return paths which are relative to the basedir of the passed FileSet. I had to disable the provider `local` as that one is also not returning correct relative path names.




> JGit impl check-in fails unless the Maven project is in the working copy root
> -----------------------------------------------------------------------------
>
>                 Key: SCM-807
>                 URL: https://issues.apache.org/jira/browse/SCM-807
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-gitexe
>    Affects Versions: 1.9.4
>            Reporter: Richard DiCroce
>            Priority: Major
>         Attachments: scm-807.txt
>
>
> Another problem exposed by maven-release-plugin: the JGit SCM implementation's check-in fails unless the Maven project is in the working copy root because it confuses the working copy's location with the Maven project's location.
> The attached patch resolves the issue. Combined with the patch attached to SCM-806, release:prepare now mostly succeeds with the JGit implementation. There is still a problem with the POM not being transformed correctly, but that's a problem in maven-release-plugin.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)