Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12764

maven-debian-helper: dependency org.kohsuke github-api not found

From Tobias Hilbricht <hilbricht@linopus.de>
Newsgroups linux.debian.maint.java
Subject maven-debian-helper: dependency org.kohsuke github-api not found
Date 2024-05-17 16:40 +0200
Message-ID <IF6Ux-dYBQ-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 

Back to linux.debian.maint.java | Previous | Next | Find similar


Thread

maven-debian-helper: dependency org.kohsuke github-api not found Tobias Hilbricht <hilbricht@linopus.de> - 2024-05-17 16:40 +0200

csiph-web