Hi,

 In our project we have dev,qa and prod environment and we have filter
(property) file for each of these environments.I do understand that based on
the maven profile (for each of the environment ) we can apply/inject the
respective filter values into any configuration file.

Our problem is that,we have two different data centres in production.We use
same build (profile) for deploying in these two data centres.But we need
different configuration values for these two data centres within the
production environment. How can i use filter to achieve the same,or is there
any other way.

I created separate maven build profiles for these two data centres and
placed the respective filter inside this profile (in pom.xml) .But maven
throws a error when we place filter inside profile.Can some one please guide
me to acheive the same.


Regards
Santhosh kumar N



--
View this message in context: 
http://maven.40175.n5.nabble.com/Using-filters-based-on-environment-tp5775412.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to