maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From santtarius <santtar...@gmail.com>
Subject Using filters based on environment.
Date Thu, 14 Nov 2013 15:50:34 GMT
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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message