开发者

deploy and running with different configurations in maven

开发者 https://www.devze.com 2023-04-03 15:50 出处:网络
i search a method for Maven that accept different configurations for deploy and debug.I want to choose different web.xml-file. How to get it?

i search a method for Maven that accept different configurations for deploy and debug. I want to choose different web.xml-file. How to get it?

开发者_如何学运维Greetz, sheepy


You can use resource filtering to substitute values in the web.xml from properties declared in different profiles or in the command line option or you can use property to specify different web.xml in maven-war-plugin configuration.

0

精彩评论

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