OpenShift Maven Plugin handles all of your operations of building and deploying your application to an Openshift cluster. You can quickly do an S2I build and push image to internal docker registry.
Plugin generates resource manifests for you automatically which you can apply afterwards. This demo demonstrates these three goals:
𝗺𝘃𝗻 𝗼𝗰:𝗯𝘂𝗶𝗹𝗱 -> Build Project in OpenShift (S2I binary build)