In this article, we will use Maven-Tomcat plugin to deploy a WAR file to Tomcat 7. We will use A sample Spring-based application PetClinic available at https://github.com/spring-projects/spring-petclinic
Download the application and extract the files.
I was trying to run mvn commands for PetClinic Spring Application available at https://github.com/spring-projects/spring-petclinic
The problem was Firewall setting and hence my mvn command was not working. It failed to download. In this case where you from behind a proxy, no dependencies will be downloaded.
I was trying to install Maven Version apache-maven-3.3.9-bin on my Windows Machine.
As per the instruction given in the Readme File, I set the Path in Path Environment variable.