Swarm plugin CLI agent cannot specify tools (JDK, Maven, etc) locations on the slave host.
Locations can differ among slaves - especially if slave OSes are different.
Automatic tool installation does not suit for many cases - shared slaves, custom tool variations.
The requested feature:
Extend Swarm plugin CLI agent to let it to accept tool locations from command line arguments.