Thursday, December 26, 2013

Problem while deploying ROOT.war on Openshift Tomcat application

I had a problem when I deployed  my war on Tomcat in OpenShift cloud.
It always takes OpenShift's ROOT.war and not the ROOT.war I had copy in the webapps directory.
It's because when you make git push, it runs a mvn command or in my case, I don't want to build my project but only deploy a single war file.
To solve this problem :

- Delete src/ directory
- Delete pom.xml