开发者

How can I run Tomcat with maven:run with my custom configuration file?

开发者 https://www.devze.com 2023-03-09 19:49 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消