前言 参考: maven 打包时动态替换properties,xml资源文件中的配置值 maven 根据P参数值打包动态修改properties文件中值或一定properties 简单 maven工程 spring注入 占位符 替换打包 maven-resource-plugin的使用 https://blog.csdn.net/u014515854/article/details/79486461 properties-maven-plugin是个什么鬼