Skip to content

Instantly share code, notes, and snippets.

@soumik-dutta
soumik-dutta / deploy_using_maven.md
Created May 16, 2019 11:29
Deploying Java app using maven plugin

Deploying Java app using maven plugin

Objective is to deploy a simple java app to the remote machine using maven plugin. There are two sections of this plugin

  • SCP the executable jar/war to the remote machine
  • SSH and run some command/script
<plugin>