[英]mvn release plugin doesn't update included pom file
the maven release plugin doesn't update the pom files which are included: Maven发布插件不会更新包含的pom文件:
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
....
....
<configuration>
<projectsDirectory>.</projectsDirectory>
<streamLogs>true</streamLogs>
<pomIncludes>
<pomInclude>pomDisContainer.xml</pomInclude>
</pomIncludes>
how can i force the release plugin to update all my pom.xml files? 如何强制发布插件更新我所有的pom.xml文件?
regards 问候
Perhaps you are looking at this from the wrong direction. 也许您是从错误的方向看待的。 Would a better solution be to have the Maven Invoker Plugin update the invoked
pom.xml
files every time instead ? 更好的解决方案是让Maven Invoker插件每次都更新调用的
pom.xml
文件吗?
The Invoker plugin will automatically replace properties in the pom, providing they are using the alternative syntax: Invoker插件将自动替换pom中的属性,前提是它们正在使用其他语法:
@project.version@
Will be replaced by the invoking project's version. 将由调用项目的版本代替。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.