Should the version be appeared in the name of .jar files? [duplicate]

烂漫一生 提交于 2019-12-25 09:42:51

问题


Possible Duplicate:
Jar file naming conventions

Currently, I've decided to standardize the name of my .jar files. In many projects, the version of the .jar files appear in the name, e.g. richfaces-3.0.1.jar. Is it a good naming style or should I mention the version of the .jar file in its manifest? If it is better, should I use this style for my internal releaseses?


回答1:


You should use Version numbers in your jars. Look at pages like http://mvnrepository.com/. When you download a huge number of jars it can happen quite often that two jars are dependend on the same lib with different version numbers. Using the Version number in your jar file helps tools that are used in your toolchain.



来源:https://stackoverflow.com/questions/7403994/should-the-version-be-appeared-in-the-name-of-jar-files

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