I have Spring Boot project where Maven is used as a build tool.
In the past, I have used a shell script to deploy jar file to remote Linux server.
jar