Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Torsten Curdt
    @tcurdt
    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
    Sahil Jha
    @sjha2048
    you can see it here
    Torsten Curdt
    @tcurdt
    @sjha2048 Hm. If the artifacts are attached jdeb should create producers for all of them.
    But you can of course also just define the required producers yourself explicitly.
    Ah ... maybe the maven-assembly-plugin does not make the artifacts available
    So as long as the order of execution allows just define the producers manually.
    Sahil Jha
    @sjha2048
    in the pom file right?
    I mean I have to explicitly mention it in the src tag to include it
    am I getting it right?
    Sahil Jha
    @sjha2048
    Figured it out, sorry for asking such a silly question.
    Sahil Jha
    @sjha2048
    What are the techniques for optimization with jdeb or maven in general so that I can reduce the size of my package, what do you all suggest?
    Torsten Curdt
    @tcurdt
    @sjha2048 sorry, I somehow did not get a notification that someone was asking here.
    If you are talking "java" then there is the maven shade plugin that allows optimizing jars.
    ...but that's not related to jdeb at all.
    That said: deb's are getting compressed
    ALPER KOPUZ
    @northerndeveloper
    hello
    is there a way to rename a Debian file ? I am using jdeb.org.vafer 1.8 plugin
    i want to rename <old-debian-name> <new-debian-name> for a debian file
    Torsten Curdt
    @tcurdt
    Hey @northerndeveloper, I am not quite sure what you are asking.
    jdeb creates a deb
    ALPER KOPUZ
    @northerndeveloper
    i want to rename a debian file
    do you know how I can do that ?
    but could not fix I t
    it
    Thomas Mortagne
    @tmortagne
    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.
    even after system restarts
    any suggestion ?
    jdebsucks
    @jdebsucks
    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
    @tcurdt