I am writing a java program using maven and running on a tomcat 9 server. I created a run configuration to build the project, but I was wondering if there is a way to modify the configuration to build the project and also deploy it to my server. Thanks in advance!
Asked
Active
Viewed 52 times
0
-
Please provide enough code so others can better understand or reproduce the problem. – Community Sep 13 '22 at 12:40
1 Answers
0
For small project you need e little workaround here:
- First create e post script for maven (
mavenrc_post.bat
for windows) see here - In this script you have to move build files via ssh, and restart tomcat(you need to configure ssh on server).
For large projects you need software for automation like:
- Ansible Automation platform
- Docker Containers
- Azure Devops etc.

Drl
- 41
- 4