title: How do I copy built artifact to a directory on remote Windows server in maven deploy phase?
body: <p>could someone provide working example (full maven plugin configuration) how to copy built jar file to a specific server(s) at the time of deploy phase?</p>
  
  <p>I have tried to look at wagon plugin, but it is hugely undocumented and I was not able to set it up. The build produces standard jar that is being deployed to Nexus, but I need to put the jar also to the test server automatically over local network (\someserver\testapp\bin).</p>
  
  <p>I will be grateful for any hints.</p>
  
  <p>Thank you</p>