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.
我已经成功创建了一个 Java JAR 文件。我现在想将我的 JAR 文件打包为 RPM(RedHat 包管理器),以便可以将其安装到 Linux 上。
将单个 JAR 文件打包为 RPM 的正确方法是什么?
如果您使用的是 Maven,则可以使用 Maven rpm 插件。