Hi,

I am a relatively new user of maven and I want to be injecting
properties into the pom from an external properties file. For eg, I will
have a property "outDir=C:/Output" defined in an external properties
file and I want to be using this in my pom.xml file. Something like
<outputDir>${outDir}</outputDir>. 

Can anyone let me know how this can be done? I tried adding the
properties file as a filter and somehow it does not seem to work. 

 

Thanks for any help,

Ravi.

"Tough times never last, but tough men do..."

 

Reply via email to