Fixed bugs and added new openshift profile to pom.xml file

Some dependencies were misplaced.