tomcat7-maven-plugin

tomcat7-maven-plugin - store server url outside of pom.xml

痞子三分冷 提交于 2019-12-25 09:03:04
问题 I'm working on some open-source project and wouldn't like to keep URL of production servers in public repository with source code, but at the same time I'd like to have an opportunity to deploy using tomcat-maven-plugin. I tried to move server url from pom.xml to settings.xml, but it didn't work. Could You please give me a hint, what is the best way to keep url out of pom.xml? Thank You very much. Here is my configuration: settings.xml <settings> <servers> <server> <id>prod</id> <username