[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Best practices writing custom Java programs deployed on Debian

On Wed, Dec 17, 2014 at 3:15 PM, Emmanuel Bourg <ebourg@apache.org> wrote:
> If your package is not aimed at the official Debian repository I would
> encourage you to look at jdeb [1] instead. It's much easier to integrate
> with a Java project and it works nicely with Maven, Ant or Gradle.

I was able to package the svn checkout of IRClib using it and, as you
said, it was relatively easy to make the .deb package. I see how it is
set to install the jar file under /usr/share/jdeb/lib.

I still need to sort out a few things, like generating the control
file with some defaults, getting the right dependencies in the control
file, and hoping there is a better way to use the jdeb maven plug-in
than inserting that big blob of xml in the pom.xml. It seems like I've
read something in the Maven docs that will help. I am not sure if it's
parent projects or something about pom only packages.

Thank you,

Reply to: