Updating pom.xml in OpenShift

本小妞迷上赌 提交于 2019-12-12 05:13:56

问题


I have developed an OpenShift application locally on NetBeans and have pushed the code to server including pom.xml changes. Now my changes are not reflecting. I understand from Openshift: After modifying code and Git push. Changes dont show that pom changes should be made manually rather than replacing the entire file. Is there a way to revert this?


回答1:


If you'd like to take a look at the pom.xml template that comes witht the JBoss EWS cartridge, you can find it here.

If you want just to revert your changes to the pom.xml file in your repo, you can use git to do that (git checkout <commit> path/to/pom.xml then modify it as you need, add, commit and push the change).



来源:https://stackoverflow.com/questions/37109140/updating-pom-xml-in-openshift

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!