正确地将单个JAR文件打包为RPM。

时间:2022-01-11 03:39:53

I've create a Java JAR file successfully. I now want to package my JAR file as an RPM (RedHat Package Manager) so that I can make it installable for Linux.

我已经成功地创建了一个Java JAR文件。现在我想将JAR文件打包为RPM (RedHat包管理器),这样我就可以将它安装到Linux上。

What would be the proper way to package a single JAR file as an RPM?

将单个JAR文件打包为RPM的正确方法是什么?

1 个解决方案

#1


10  

If you're using Maven there's the maven rpm plugin.

如果您正在使用Maven,则有Maven rpm插件。

#1


10  

If you're using Maven there's the maven rpm plugin.

如果您正在使用Maven,则有Maven rpm插件。