Load environment-specific properties for use with PropertyPlaceholderConfigurer?

后端 未结 8 1214
夕颜
夕颜 2020-12-23 17:24

This seems like a pretty common problem, but I haven\'t found any sort of consensus on the best method, so I\'m posing the question here.

I\'m working on a command-l

8条回答
  •  自闭症患者
    2020-12-23 17:39

    For build time substitution I use Maven build properties for variable substitution. You can determine what properties to load in your Maven settings.xml file and the file could be specific to the environment. For production properties using PPC see this blog

提交回复
热议问题