开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜