What is the best way to get Maven to execute a command on a remote server?
Before using the station wagon to move my newly created jar to our development environment, I want to close the service, which depends on it.
The best I can think of so far is to use exec-maven-plugin to execute a remote command via ssh. Is there a better / more preferable way to do this?
source
share