This library provides an Ant task and a Maven plugin to create Debian packages from Java builds in a truly cross platform manner.
People
Repo info
Activity
Sahil Jha
@sjha2048
thanks for the help
Torsten Curdt
@tcurdt
As for jsign I guess you have to come up with concrete questions. @ebourg is the author is also a jdeb committer.
Well, can't hurt to try if it's many modules of the exact same setup. But having a control file per module doesn't sound so bad.
Sahil Jha
@sjha2048
got it, I'll build up my question first then ask.
Torsten Curdt
@tcurdt
I'd just make sure to have versions numbers as properties or the jdeb declaration in a single pom. So upgrading version will be simpler.
Sahil Jha
@sjha2048
I was trying the "control file for each module " approach and I was successful building deb for them but few of them contain two jar files as output it's like xyz.jar and xyz-dependencies.jar, only xyz.jar is included in the package but I want to include both of them, do I need to modify the config in pom file for jdeb? needed help
what is explained in https://wiki.debian.org/RenamingPackages is to have two packages, the new one and one with the old name and with a dependency on the new one. jdeb does not provide anything to automate this if that's your question, you should have one module for each Debian package you want to produce
Torsten Curdt
@tcurdt
Yes, what @tmortagne said :)
Fabrizio Giudici
@fabriziogiudici
Hello. Thanks for providing the jdeb plugin. After not using it for a couple of years, I've resumed working on a project that produces .deb installers. It seems that in these two years something has changed with GPG keyrings, because I see that secring.gpg has been replaced by pubring.kbx - and it's not a matter of name only, the format has changed. If I try to feed that file into the jdeb plugin I get java.io.IOException: invalid armor (not a surprise, I think). I'm using version 1.8, OpenJDK 11.0.10_9, macOS Big Sur. Please let me know how this can be fixed. Thanks.
Jonathan S. Fisher
@exabrial
Why not just use the gpg signature plugin in maven to do the signatures? It's pretty widely supported
Torsten Curdt
@tcurdt
@fabriziogiudici sorry, gitter didn't send me a notification - so I totally missed you message here.
maybe open an issue for it?
@exabrial I doubt that will be possible - but maybe we could re-use some code
Bernhard Haumacher
@haumacher
Hi, is it possible to have a man page installed with the tool deployed via the deb package built? Is there an example how to do it?
Torsten Curdt
@tcurdt
@haumacher sorry, I didn't get notified about you writing here :-/
sure that's possible
but we don't have an example in the repo yet
linuschowdhary14
@linuschowdhary14
Any example to run a java daemon ( for a Java class running a scheduler in background ) using jdeb maven plugin?
linuschowdhary14
@linuschowdhary14
--Updated postinst to run Main class with jsvc (apache commons daemon)
linuschowdhary14
@linuschowdhary14
I see the installer is getting removed from Ubuntu Software installed list, after system restart. any idea show to keep it persisted in the installed list ?
linuschowdhary14
@linuschowdhary14
Ubuntu OS is installed on my laptop and I see softwares like chrome, Firefox remain in the Installed list after install.