Should the WEB-INF/lib directory be versioned by a version control system?

放肆的年华 提交于 2019-12-11 07:08:50

问题


Should the WEB-INF/lib directory and it's contents be versioned by a VCS?


回答1:


If you can easily rebuild its content, I would argue against versioning it.

Considering one of the main goals of a VCS (manage the history and get the delta between one version and the other), the history and delta of binaries is often not well managed in a VCS.

those binaries are best referenced through an artifact repository (like Nexus), where a building script (like Maven) can access and copy them where they are needed (like a WEB-INF/lib directory for instance).



来源:https://stackoverflow.com/questions/3865383/should-the-web-inf-lib-directory-be-versioned-by-a-version-control-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!