简体   繁体   中英

Deploying to openshift WildFly

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!

Problem is solved. Solution: maven profiles

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM