maven-debian-helper: dependency org.kohsuke github-api not found
- To: debian-java@lists.debian.org
- Subject: maven-debian-helper: dependency org.kohsuke github-api not found
- From: Tobias Hilbricht <hilbricht@linopus.de>
- Date: Fri, 17 May 2024 15:39:53 +0200
- Message-id: <[🔎] c6c2f537240057eb60321f62818cfa678d10aa81.camel@linopus.de>
Dear readers, as my first packaging project I try to package the Zettelkasten Zkn3 app https://github.com/Zettelkasten-Team/Zettelkasten/tree/main and can build it successfully with maven on Debian bookworm. However, trying to package it in a deb with mh_helper, I get this message: In pom.xml: This dependency cannot be found in the Debian Maven repository. Ignore this dependency? org.kohsuke:github-api:jar:1.117 [y/N] > > dpkg --search /usr/share/maven-repo/org/kohsuke/github-api/*/* dpkg failed to execute successfully > apt-file search /usr/share/maven-repo/org/kohsuke/github-api apt-file failed to execute successfully > dpkg --search /usr/share/java/github-api.jar dpkg failed to execute successfully > apt-file search /usr/share/java/github-api.jar Found perl Found perl Found perl apt-file failed to execute successfully [error] Package perl does not contain Maven dependency org.kohsuke:github-api:jar:1.117 but there seem to be a match If the package contains already Maven artifacts but the names don't match, try to enter a substitution rule of the form s/groupId/newGroupId/ s/artifactId/newArtifactId/ jar s/version/newVersion/ here: Using the suggestions here https://wiki.debian.org/Java/Packaging/FAQ I do not find a corresponding debian package, but on maven it exists: https://mvnrepository.com/artifact/org.kohsuke/github-api How can I satisfy the dependency in a Debian way? Thanks for helpful pointers Tobias
Reply to:
- Follow-Ups:
- Re: maven-debian-helper: dependency org.kohsuke github-api not found
- From: Pierre Gruet <pgt@debian.org>
- Re: maven-debian-helper: dependency org.kohsuke github-api not found
- Prev by Date: Re: Tomcat 9 removed from Debian 12
- Next by Date: Re: maven-debian-helper: dependency org.kohsuke github-api not found
- Previous by thread: Bug#1069970: marked as done (ITP: libeddsa-java -- implementation of EdDSA in Java)
- Next by thread: Re: maven-debian-helper: dependency org.kohsuke github-api not found
- Index(es):