OpenShiftDemos / openshift-tasks

Sample JBoss EAP (WildFly) App for OpenShift
47 stars 423 forks source link

Add support for maven fabric8 plugin #23

Open mclerix opened 6 years ago

mclerix commented 6 years ago

Add support for maven fabric8 plugin to build & deploy openshift-tasks in openshift.

Currently Fabric8 does not support S2I build for Web applications (.WAR)

S2I builds are currently not yet supported for the webapp generator. (Maven Fabric8 Documentation)

Regarding this PR, mvn fabric8 plugin uses OpenShift Docker build capabilities.

Launch openshift-tasks with mvn fabric8 plugin :

mvn fabric8:deploy -Dfabric8.build.strategy=docker -DskipTests=true