Hi, 

at buildtime, we deploy a generic "our-product.ear", containing a file 
"version.properties".

# Datum des Builds
build.startDate=${build.startDate}

# Buildversion 
productVersion=${productVersion}

# Productname
productName=${productName}

At delivery time we need to "patch" the version.properties in the *.ear 
and replace some tokens, depending on the product the ear goes in.


How can I patch a properties file in an existing artifact (*.ear) with 
Maven?
Any other ideas?


thanx, Torsten

Reply via email to