1

I am using JSF, EJB, WildFly, maven and MySQL db to develop an app. I have a development environment for my project (db in the cloud and a local WildFly server). I want to deploy my app to the QA environment which is an openshift WildFly with MySQL cartridge. To deploy the app I have to just commit my war file to the git repository, not big deal. But to build this war file I have to change my persistence.xml, web.xml and compile all again in order to get my app working in QA environment. Is there any way to automate this process? Thanks in advance!

Nick Richman
  • 35
  • 2
  • 5

1 Answers1

0

Problem is solved. Solution: maven profiles

Nick Richman
  • 35
  • 2
  • 5
  • It will be good to others facing the problem if you can provide an elaborate answer. – Abhi Jun 10 '15 at 22:20