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: 274

I am trying to use maven profiles and filtering in order to produce two different versions of a given web archive (war):

  1. A first one for local deployment to my local machine on localhost
  2. 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

Related posts about eclipse

Related posts about spring