This library provides an Ant task and a Maven plugin to create Debian packages from Java builds in a truly cross platform manner.
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.
got it, I'll build up my question first then ask.
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.
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
Yes, what @tmortagne said :)
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
Why not just use the gpg signature plugin in maven to do the signatures? It's pretty widely supported
@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
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?
@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
Any example to run a java daemon ( for a Java class running a scheduler in background ) using jdeb maven plugin?
--Updated postinst to run Main class with jsvc (apache commons daemon)
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 ?
Ubuntu OS is installed on my laptop and I see softwares like chrome, Firefox remain in the Installed list after install.
even after system restarts
any suggestion ?
Hello, your maven example seems to be broken. The <maven.compiler.source.target> needs to be at least 1.7. But more importantly when I run it none of the control files (control,postinst,postrm,preinst,prerm) get copied into the debian file