when usinf fabric8-maven-plugin, by default it supposed that you used "oc login " to the correct project but if you start to have several projects/instances you can't do that. If you are in Eclipse, the oc login is done a single time and it is not transparent to know what is thr current context.
To avoid errors, user needs to provide several parameters:
- fabric8.mode (set to openshift)
- kubernetes.trust.certificates set to true in case of local Openshift instance
- (maybe) fabric8.build.strategy set to s2i
and to use fabric8:deploy option
We need to prefill these parameters in a Maven Launch configuration (or create a dedicated launch configuration?)