I am trying to do mvn clean package tomcat7:deploy
but always I get this error: tomcatManager status code:403, ReasonPhrase:Forbbiden
My config
I had same problem. But I found following solution of this problem:
pom.xml
org.apache.tomcat.maven
tomcat7-maven-plugin
2.0
http://localhost:8080/manager/text
localhost
/${project.build.finalName}
~/.m2/settings.xml
localhost
admin
s3cret
tomcat-users.xml
After changing tomcat-users.xml do not forget to restart the server. Also do not assign the manager-gui role with the manager-script to the same user.