Thanks Manuel!!
-Original Message-
From: Manuel Grau [mailto:mang...@gmail.com]
Sent: Monday, January 25, 2010 2:09 PM
To: Maven Users List
Subject: Re: Resource Filter files
Yes, is possible, I did it in my work recently. But, there is a better way.
Notice what I'm doing. I have 4
You're welcome!!
2010/1/26 david.a.willi...@sungard.com
Thanks Manuel!!
-Original Message-
From: Manuel Grau [mailto:mang...@gmail.com]
Sent: Monday, January 25, 2010 2:09 PM
To: Maven Users List
Subject: Re: Resource Filter files
Yes, is possible, I did it in my work recently
Is it possible to define filters by profile? See below for example.
build
...
filters
filter [a filter property] /filter
/filters
...
/build
Thanks,
David
Yes, is possible, I did it in my work recently. But, there is a better way.
Notice what I'm doing. I have 4 profiles, activated with a var called env. So,
when I call maven I always do:
mvn -Denv=pre compile (or anything)
I have four files called ${env}.pom.properties. So, you can put this in