Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法让 Bundle-Version 在第一部分包含字母?
例如:
Bundle-Version: 3.build.1
这是不可能的。Bundle-Version 必须符合 OSGi 版本。这意味着版本必须是这样的:
major[.minor[.micro[.qualifier]]]
主要、次要和微型只能是数字。限定符可以是由字母数字字符或下划线组成的字符串。缺少的次要或微组件被解释为 0。
您可以在OSGI 版本 JavaDoc页面上阅读所有详细信息。