Bug#1081606: debian/maven.rules help needed for cdk

Andrius Merkys merkys at debian.org
Fri Sep 27 13:47:57 BST 2024


Hello,

I am trying to enable tests for cdk package on branch on salsa [1]. 
Build is failing with the following:

[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time:  9.440 s
[INFO] Finished at: 2024-09-27T08:36:51-04:00
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cdk-data: Could not resolve 
dependencies for project org.openscience.cdk:cdk-data:jar:2.9: Cannot 
access ossrh 
(https://s01.oss.sonatype.org/content/repositories/snapshots) in offline 
mode and the artifact org.openscience.cdk:cdk-test:jar:tests:debian has 
not been downloaded from it before. -> [Help 1]

cdk-data is an artifact of the same project, however, I cannot make 
maven detect it. I am almost sure the problem is due to some 
misconfiguration in debian/maven.rules, but I cannot find where. I would 
be grateful if someone with better knowledge of maven-debian-helper 
could help.

[1] https://salsa.debian.org/java-team/cdk/-/tree/with-tests

Best wishes,
Andrius



More information about the pkg-java-maintainers mailing list