Maven - <server/> in settings.xml
问题 I use tomcat-maven-plugin to deploy my war to a server. What I have to do is configure it like this in my pom.xml: <configuration> ... <url>http://localhost/manager</url> <username>admin</username> <password>admin</password> ... </configuration> But then I obviously want to keep this settings in a different place since I work on my computer but then there's a staging and a live server as well where the settings of the server are different. So let's use the .m2/settings.xml : <servers> <server