reading a property file taking the key and searching key another property file replace the value of key using maven
propertyfile1.properties
key1=someValueforkey1
propertyfile2.properties
key1=defaultvalue
while building it should replace the key1 value defaultvalue in propertyfile2.properties should be replaced with someValueforkey1 of propertyfile1.properties.
..Can any one help me out to solve this