<!-- Retrofit pom with JKube-Plugin -->
<build>
...
  <plugin>
    <groupId>org.eclipse.jkube</groupId>
    <artifactId>openshift-maven-plugin</artifactId>
    <version>${jkube.openshift.version}</version>
  </plugin>
...
</build>
# Login to OpenShift, this can be obtained in web console with 'Copy Login Command'
$ oc login --token=41cxWS0NnARW2zxRCK5p2GQb31VNf7zEz-wuYMdhw1k --server=https://openshift.cluster.host:6443

# Build and deploy to OpenShift
$ mvn oc:build oc:resource oc:apply

# Watch the deployment
$ oc get pods -w

# Find out route
$ oc get routes

# Undeploy everything
$ mvn oc:undeploy

# As an alternative, remove everything related to this deployment
$ oc delete all --selector app=myapplabel