我正在尝试使用本地git仓库测试mvn发布插件。但是,我遇到了错误未提供SCM URL以执行发布,即使父POM有以下详细信息。
<scm>
<url>scm:git:file://localhost/d/Research/Research.git</url>
<connection>scm:git:file://localhost/d/Research/Research.git</connection>
<developerConnection>scm:git:file://localhost/d/Research/Research.git</developerConnection>
</scm>
这是在mvn中定义本地repo的正确方式吗?