difference between keeping a plugin inside a project and inside a profile

前端 未结 1 1625
渐次进展
渐次进展 2021-01-23 20:47

Can anyone please explain the functionality for below?

A) Actually below code is working for me, BUT I didnt understood why we need to use below for

相关标签:
1条回答
  • 2021-01-23 21:48

    Part A

    warSourceDirectory is directory for static web files, jsp, images, WEB-INF etc. The default value is good, so you dont need to change this parameter.

    webXml - is location of web.xml file, deployment description. With spring boot you dont need web.xml at all. Set parameter failOnMissingWebXml to false.

    Part B

    Plugin defined inside a project are used by this project always. Plugin defined in profile are used only when you enable profile - so this plugin is not default.

    0 讨论(0)
提交回复
热议问题