[ https://issues.apache.org/jira/browse/SCM-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570431#comment-17570431 ]
ASF GitHub Bot commented on SCM-925: ------------------------------------ michael-o commented on PR #156: URL: https://github.com/apache/maven-scm/pull/156#issuecomment-1193270072 For me it fails from master: ``` [ERROR] Failures: [ERROR] HgDiffCommandTckTest.testDiffCommand:94->ScmTckTestCase.addToWorkingTree:241 Expected 1 file in the added files list [] expected:<1> but was:<0> [ERROR] HgStatusCommandTckTest>StatusCommandTckTest.testStatusCommand:107->ScmTckTestCase.addToWorkingTree:241 Expected 1 file in the added files list [] expected:<1> but was:<0> [ERROR] HgUpdateCommandTckTest>UpdateCommandTckTest.testUpdateCommand:119->ScmTckTestCase.addToWorkingTree:241 Expected 1 file in the added files list [] expected:<1> but was:<0> [INFO] [ERROR] Tests run: 18, Failures: 3, Errors: 0, Skipped: 0 ``` on ``´ mosipov@bsd1srv:/usr/home/mosipov/var/Projekte/maven-scm (master =) $ mvn -v Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /usr/local/apache-maven-3.6.3 Java version: 1.8.0_332, vendor: OpenJDK BSD Porting Team, runtime: /usr/local/openjdk8/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "freebsd", version: "12.3-stable", arch: "amd64", family: "unix" mosipov@bsd1srv:/usr/home/mosipov/var/Projekte/maven-scm (master =) $ hg --version Mercurial Distributed SCM (version 6.1.4) (see https://mercurial-scm.org for more information) Copyright (C) 2005-2022 Olivia Mackall and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ``` > Implement RemoveCommand in maven-scm-provider-jgit > -------------------------------------------------- > > Key: SCM-925 > URL: https://issues.apache.org/jira/browse/SCM-925 > Project: Maven SCM > Issue Type: Improvement > Components: maven-scm-provider-jgit > Affects Versions: 1.11.2 > Reporter: Georg Tsakumagos > Assignee: Michael Osipov > Priority: Major > Fix For: 2.0.0-M3 > > Attachments: maven-scm-provider-jgit.log > > Time Spent: 10m > Remaining Estimate: 0h > > The git scm plugins differs in support for the scm command _remove_. This > breaks the goal _prepare-with-pom_ of the _maven-release-plugin_ using the > _maven-scm-provider-jgit_. The method is not fully implemented and throws an > UnsupportedOperationException. > Referring to the ["Maven SCM Providers > Matrix"|https://maven.apache.org/scm/matrix.html] this feature is documented > as supported and should be implemented in the _jgit_ provider like in > maven-scm-provider-gitexe. > > ||Variant||remove supported||Source|| > |maven-scm-provider-gitexe|(/)|[Github - GitExeScmProvider.java - > getRemoveCommand()|https://github.com/apache/maven-scm/blob/a1f7e9857076940c878a370ff599b394df768d33/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/GitExeScmProvider.java#L97]| > |maven-scm-provider-jgit|(x)|[Github - JGitScmProvider.java - > getRemoveCommand()|https://github.com/apache/maven-scm/blob/a1f7e9857076940c878a370ff599b394df768d33/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/src/main/java/org/apache/maven/scm/provider/git/jgit/JGitScmProvider.java#L113]| > -- This message was sent by Atlassian Jira (v8.20.10#820010)