Есть репо https://gitlab.com/anton_patsev/maven-release-example3


В последнем шаге вызываю


#!/bin/bash

mvn --quiet build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} -DgenerateBackupPoms=false -DprocessAllModules versions:commit
mvn --quiet scm:add -Dmessage="maven-scm" -Dincludes=\${base.dir}/pom.xml -DpushChanges=false
mvn --quiet scm:checkin -Dmessage="[maven-scm] prepare release"


Появляется ошибка:


$ ./mvn_build_helper.sh
9253 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-scm-plugin:1.11.2:add (default-cli) on project maven-release-example3: Cannot run add command : : Exception while executing SCM command. You must provide at least one file/directory to add -> [Help 1]
9283 [ERROR]
9284 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
9284 [ERROR] Re-run Maven using the -X switch to enable full debug logging.


Вот лог
https://gitlab.com/anton_patsev/maven-release-example3/-/jobs/316396805


Что это может быть? Как исправить?









 






URL записи