【发布时间】:2021-04-08 12:42:53
【问题描述】:
当我尝试在 pom.xml 中使用 maven-release-plugin 时,我收到以下警告:
Overriding managed version 2.5.3 for maven-release-plugin
我没有父 pom。我的 pom.xml 是创建独立的 jar 文件。为什么会产生上述警告? maven 2.5.3 版本在哪里获取?
这是我在 pom.xml 中的插件信息
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<goals>pre-integration-test</goals>
<preparationGoals>package</preparationGoals>
<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
<tagNameFormat>@{project.version}</tagNameFormat>
<remoteTagging>false</remoteTagging>
</configuration>
</plugin>
谢谢
【问题讨论】:
-
请发布完整的 pom 文件,否则很难检查...
标签: maven pom.xml maven-plugin