Jar file naming conventions

后端 未结 2 355
南笙
南笙 2020-12-16 12:20

Are there any industry standard conventions for naming jar files?

相关标签:
2条回答
  • 2020-12-16 12:43

    If your jar is used for JEE then these guidelines apply:

    The module name is used as the EJB archive name. By default, the module name should be based on the package name and should be written in all-lowercase ASCII letters. In case of conflict, the module name should be a more specific version (including other part of the package name):

    EJB archive: -ejb.jar

    EJB client archive: -ejb-client.jar

    0 讨论(0)
  • 2020-12-16 12:53

    I have been using

    *Informative*-*name*-*M*.*m*.*b*.jar
    

    Where:

    M = major version number (changed when backward compatibility is not necessarily maintained)

    m = minor version number (feature additions etc)

    b = build number (for releases containing bug fixes)

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