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.
我想使用 maven 程序集插件在我的 jar 文件中的清单中添加一个 Implementation-Version 行,以反映 POM 版本号。
请注意,这与我最近关于 jar 插件的另一个问题相似但不同。
其实我是个傻瓜..你这样做的方式完全相同,即
<configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> </configuration>
愚蠢的问题。应该先尝试一下,真的。