Packaging a single JAR file as an RPM properly

Sunil Kumar Sahoo picture Sunil Kumar Sahoo · Oct 2, 2009 · Viewed 13.4k times · Source

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.

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

Answer

Robert Munteanu picture Robert Munteanu · Oct 2, 2009

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