Hello,
Recently I started bumping into Maven-based Java packages where I fail
to end up with correctly working debian/maven.rules. I think the common
denominator is the existence of test jars. I would really appreciate if
someone more versed in writing debian/maven.rules could help me with
libcentres-java [1] which fails to build with the following:
[ERROR] Failed to execute goal on project centres-cdk: Could not resolve
dependencies for project com.simolecule.centres:centres-cdk:jar:1.4
[ERROR] dependency: com.simolecule.centres:centres-core:jar:tests:debian
(test)
[ERROR] Cannot access central (https://repo.maven.apache.org/maven2) in
offline mode and the artifact
com.simolecule.centres:centres-core:jar:tests:debian has not been
downloaded from it before.
Best wishes,
Andrius
[1] https://salsa.debian.org/java-team/libcentres-java