I have been trying to create a simple maven web based project to be confident about maven. I have added tomcat7 plugin in my pom.xml to use it as a server. But when i started to
I got this working too thanks to points in this post.. Things I got stuck on were: The POM file - you need a slash on the beginning of the path (or it tried to install it under /manager/ and fails):
org.apache.tomcat.maven
tomcat7-maven-plugin
2.2
http://10.54.17.35:8080/manager/text
LoginForTomcat
/displayService
provide server credentials in ~/.m2/settings.xml:
LoginForTomcat
figgy
passw0rd
On the tomcat server, you need to define manager-script and manager-jmx:
Looking over this everything here is in the posts above, posting this to clarify things.