假定我的Project是如下结构:
MyProject
-subProject_1
-subProject_2
-subProject_3
myFilter-dev.properties
pom.xml
---------------
上面的3个subject中,每个都各自含有自己的subProject-dev.properties and pom.xml.
myFilter-dev.properties里边的数据例子是
clientName="peter"
subProject-dev.properties里边的数据例子是
client=${clientName}
我已经在parent pom.xml中定义了profile - myFilter-dev.properties. 我的问题是:
哪位知道怎样把myFilter-dev.properties里边的值(“peter")赋值给subProject-dev.properties里边的client?
Thanks so much.