Building two different versions a given war with maven profiles and filtering from eclipse
Posted
by
balteo
on Stack Overflow
See other posts from Stack Overflow
or by balteo
Published on 2012-12-16T15:22:02Z
Indexed on
2012/12/16
23:03 UTC
Read the original article
Hit count: 312
I am trying to use maven profiles and filtering in order to produce two different versions of a given web archive (war):
- A first one for local deployment to my local machine on localhost
- A second one for remote deployment to cloudfoundry
There are a number of properties that differ according to whether the app is deployed to my local machine or to cloudfoundry.
Of course the difficult bit is that I am trying to do all this from STS/Eclipse and deploy from Eclipse to my local tomcat and to cloudfoundry...
Can anyone please provide advice, tips or suggestions?
© Stack Overflow or respective owner