Maven - How to replace value in any file in other location?

断了今生、忘了曾经 提交于 2021-01-29 10:12:58

问题


I have to replace value in file: test.xml This file location is: src/main/app .

It is possible ?


回答1:


Properties could be changed based on the ${app.name}. There is no need to change flow to change property file.

<configuration-properties doc:name="Configuration properties" file="/var/mule/${MULE_ENV}/${app.name}/global.yaml" />

https://simpleflatservice.com/mule4/Properties.html



来源:https://stackoverflow.com/questions/61912352/maven-how-to-replace-value-in-any-file-in-other-location

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!