I know that a git push origin master
will let Openshift redeploy the application to its new version.
But my situation is that my Tomcat application depends on another sub-module maven project, and they are both snapshot.
Once its sub-module project changes (the Tomcat application remains the same), the git push origin master
doesn't work at all (Everything up-to-date
) and of course Openshift will not redeploy my application, which means that it doesn't renew the newest sub-module snapshot artifact for me.
So, how to solve this problem? I have tried rhc restart
and rhc reload
, but they doesn't work. Is there some command like rhc redeploy
?
git push origin master -f
? – Goosy