无法在项目ABC上执行目标com.ABCgroup:multi-module-maven-release-plugin:1.2.0:next(default-cli):发行插件只能从Git存储库的根文件夹中运行
我确实有一个具有以下结构的多模块git repo。
ABCCOdeBaseRepo
.git
ABCProject
-submodule1
-submodule2
-submodule3
-submodule4
-submodule5
-aggregator pom.xml
现在,当我运行在文件夹内移动的命令时
cd / ABCProject
com.ABCgroup:multi-module-maven-release-plugin:1.2.0:next
要执行空运行,我从插件中得到一个错误,即只能从根文件夹运行该发行版。
如何处理。这是一个包含100多个模块的多模块pom。
与此处http://maven.40175.n5.nabble.com/Release-plugin-when-POM-is-not-in-root-directory-td4956364.html中提到的错误相同,但是在此问题中,使用了maven版本插件,在我的情况下是多模块maven插件。