13141516171819202122
public void execute() throws BuildException { if (dir == null) { throw new BuildException("dir is null"); } try { new Ssh(new VBox(context(), dir.toURI())).call(); } catch (Exception e) { throw new BuildException(e); } }
12131415161718
*/ public class SshMojo extends AbstractVBoxesMojo { @Override protected void execute(VBox box) throws Exception { new Ssh(box).call(); }