I want to run my Tomcat project by mvn tomcat:run
开发者_Go百科In which path can I put my tomcat-user.xml to load it dynamically ?
Use the tomcat-maven-plugin, it has configuration for this.
See http://mojo.codehaus.org/tomcat-maven-plugin/run-mojo.html#additionalConfigFilesDir.
精彩评论