Maven project configuration adjustment

1.Java Build Path


 Only java and resources are kept. If there is a value in Excluded, it needs to be removed. The default output folder is the classes under the target. There is no problem, and there is no need to specify it.

2.Deployment Assembly


 Java and resources are output to classes under WEB-INF, webapp is directly output to the root directory, jar packages that maven depends on are output to lib under WEB-INF, and the three dependent projects should also be configured and output to WEB-INF lib.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326451073&siteId=291194637