Maven – Remote Deploy to WebSphere 8.5 using maven

mavenmaven-cargowebspherewebsphere-8wsadmin

I would like to control a remote deployment of a maven generated EAR over to an existing WAS instance not running on the build server.

Ideally, I would like to do this within Maven so that I can remote deploy in say the integration-test phase then proceed to run some JMeters in the verify phase. I guess this is pretty standard.

I have looked around and am unable to find a sensible way to do this in WAS 8.5.

There are a few posts:

Remote Deployment to WAS 6.1

websphere7am-maven-plugin

Cargo

and others around the web, including IBM. None seem to offer a way to achieve a remote deploy to WAS 8.5

Does anybody have a solution?

EDIT 1:
Further confirmation from IBM that no official maven solution exists can be found here:

WAS 8.5 – Using Ant to automate tasks

Best Answer

AFAIK there is no Maven plugin for full-fledged WAS 8.5, only for WAS Liberty Profile. But that one does not support deployment to remote server.

Remote deployment can be done using WsAdmin Ant Task & Maven AntRun Plugin