【发布时间】:2021-08-19 10:12:49
【问题描述】:
根据http://maven.apache.org/settings.html我们有一个例子和所有元素的解释。
但我想,例如,为所有项目自定义一些构建设置,而不是在每个项目中推送 pom.xml。
其他人也在寻找这个,但仍然没有解决方案。
Maven ignoring build segment in settings.xml?
但是,令人惊讶的是,build 标签在 settings.xml 中不可用。
有没有办法注入构建参数,例如使用配置文件等将目标目录注入到 settings.xml 中?
【问题讨论】:
标签: maven build directory settings profile