问题
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