Here we show you how to use Maven-Tomcat plugin to package and deploy a WAR file to Tomcat.1. Tomcat Authentication
First, add an user with administrator access right for Tomcat. To add Tomcat user, edit this file – “
%TOMCAT_PATH%/conf/tomcat-users.xml“.