[KARAF-3403]bin/client Utility Throws ArrayIndexOutOfBoundsException
(cherry picked from commit 86aff6b16af3990251db44bff605682e9d870efa)
[KARAF-3413]should also associate the role to run executeScript
(cherry picked from commit 925e3bc8cb553f69de4f51ab4d2614187477b129)
[KARAF-3369] Switch to wagon-http plugin instead of wagon-http-lightweight to avoid deploy issue