add tomcat:depoly plugin
then sure config the username and password of the server, which named tomcat in settings.xml
and config the role and username in tomcat/conf/tomcat-user.xml