From 45327f7b47011e848fae0ea6844284b4ea9366b4 Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Thu, 20 Jul 2023 10:03:58 +0200 Subject: [PATCH] [MRELEASE-1134] Pass interactive flag to SCM provider --- .../shared/release/scm/DefaultScmRepositoryConfigurator.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/maven-release-manager/src/main/java/org/apache/maven/shared/release/scm/DefaultScmRepositoryConfigurator.java b/maven-release-manager/src/main/java/org/apache/maven/shared/release/scm/DefaultScmRepositoryConfigurator.java index 0f42cade..90f31fb4 100644 --- a/maven-release-manager/src/main/java/org/apache/maven/shared/release/scm/DefaultScmRepositoryConfigurator.java +++ b/maven-release-manager/src/main/java/org/apache/maven/shared/release/scm/DefaultScmRepositoryConfigurator.java @@ -164,7 +164,9 @@ public ScmRepository getConfiguredRepository(String url, ReleaseDescriptor relea svnRepo.setBranchBase(branchBase); } } - + if (!releaseDescriptor.isInteractive()) { + scmManager.get().getProviderByRepository(repository).setInteractive(releaseDescriptor.isInteractive()); + } return repository; }