Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12767
| From | Pierre Gruet <pgt@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: maven-debian-helper: dependency org.kohsuke github-api not found |
| Date | 2024-05-19 22:40 +0200 |
| Message-ID | <IFVu1-etSt-11@gated-at.bofh.it> (permalink) |
| References | <IFsLn-ecnQ-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Tobias, Le 18/05/2024 à 15:28, Tobias Hilbricht a écrit : > Meanwhile I resolved some dependencies of the Zettelkasten app using > https://wiki.debian.org/Java/MavenPkgs/Stable > but some remain - they are in Maven and I have them here locally, but > not in maven-debian: > > org.jdesktop:swing-worker:jar:1.1 > org.jdesktop:appframework:jar:1.0.3 > bibtex:javabib:jar:20040801 Admittedly these three ones are really needed by the software you are looking at. Would you consider packaging them? > com.formdev:flatlaf:jar:3.2.5 It is feasible to patch the code to avoid needing this one, as is done by one of the patches of the jalview source package for instance. Other Look-and-Feel systems are handled by the code of Zettelkasten. > > I read https://wiki.debian.org/Java/MavenRepoHelper and found > mh_installjar and thought I do it like this: > > root@syke:/home/tobias/zettelkasten# mh_installjar -l -- > package=zettelkasten pom.xml > /home/tobias/zettelkasten/target/Zettelkasten.app/Contents/Java/classpa > th/org/jdesktop/swing-worker/1.1/swing-worker-1.1.jar > > but it did not work, because I could not install without > debian/control, and to get a debian/control I had to ignore the > dependencies, and they were no longer in pom.xml. You really don't have to worry about mh_installjar, instead in debian/control you should build-depend on maven-debian-helper which will do the right things to install the jars provided you fill in the files described at https://wiki.debian.org/Java/MavenDebianHelper among others the debian/$PACKAGE.poms file. > > Help is appreciated, thanks in advance A quick copyright review lead to no show-stopper, so you can go ahead with packaging. I think the first thing to do is to package the dependencies org.jdesktop:swing-worker org.jdesktop:appframework bibtex:javabib as they obviously will be needed. > Tobias > Best, -- Pierre
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Find similar
Re: Re: maven-debian-helper: dependency org.kohsuke github-api not found Tobias Hilbricht <tobias.hilbricht@esg.nrw.schule> - 2024-05-18 16:00 +0200 Re: maven-debian-helper: dependency org.kohsuke github-api not found Pierre Gruet <pgt@debian.org> - 2024-05-19 22:40 +0200
csiph-web