Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sahil Jha
    @sjha2048
    my mentor mentioned this

    After mvn package, there is a zip file: packaging/target/arthas-3.1.2-SNAPSHOT-bin.zip

    Arthas has 'arthas.home`, by default, it try to find arthas jars like arthas-core.jar under the working directory.
    If not found, try to find jars from ~/.arthas directory.

    So I think the rpm zip contains arthas-3.1.2-SNAPSHOT-bin.zip , After install, the user can execute as.sh to start arthas.

    I don't think its relevant
    also from issues section I found Jsign
    Torsten Curdt
    @tcurdt
    Hm - this sounds very specific to Arthas. Not sure I can help there.
    Sahil Jha
    @sjha2048
    https://github.com/ebourg/jsign/tree/master/jsign
    here I wasn't able to understand how jdeb was used
    Torsten Curdt
    @tcurdt
    jdeb really goes the standard maven way of attaching the deb as additional build artifact
    Sahil Jha
    @sjha2048
    separate module for packaging thru jdeb, is that possible?
    Torsten Curdt
    @tcurdt
    @sjha2048 TBH I am not entirely sure. It's been a while I used multi module maven builds :)
    Sahil Jha
    @sjha2048
    Then I'll just stick to having a control file in each module
    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
    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