On Thu, 5 Jan 2023 19:43:38 -0500 =?UTF-8?Q?Louis-Philippe_V=c3=a9ronneau?= <po...@debian.org> wrote:> For example, when trying to build `trapperkeeper-metrics-clojure`, the `lein jar` step fails with:

Failed to read artifact descriptor for 
org.apache.commons:commons-compress:jar:debian
Failed to read artifact descriptor for commons-codec:commons-codec:jar:debian
Failed to read artifact descriptor for commons-io:commons-io:jar:debian
Failed to read artifact descriptor for 
commons-logging:commons-logging:jar:debian

I've hit this problem on my latest attempt to build puppetdb.

Looking at the pom.xml diff, it seems that version 55-1 introduced a dependency on org.junit/junit-bom, which is not packaged in Debian.

Add it to debian/maven.ignoreRules fixes the issue.

Please find a debdiff attached for your convenience.

Thanks!
diff -Nru commons-parent-55/debian/changelog commons-parent-55/debian/changelog
--- commons-parent-55/debian/changelog  2023-01-02 08:29:01.000000000 -0500
+++ commons-parent-55/debian/changelog  2023-01-06 10:09:56.000000000 -0500
@@ -1,3 +1,10 @@
+commons-parent (55-2) unstable; urgency=medium
+
+  * Team upload.
+  * add org.junit/junit-bom to ignoreRules
+
+ -- Jérôme Charaoui <jer...@riseup.net>  Fri, 06 Jan 2023 10:09:56 -0500
+
 commons-parent (55-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru commons-parent-55/debian/maven.ignoreRules 
commons-parent-55/debian/maven.ignoreRules
--- commons-parent-55/debian/maven.ignoreRules  2023-01-02 08:29:01.000000000 
-0500
+++ commons-parent-55/debian/maven.ignoreRules  2023-01-06 10:08:40.000000000 
-0500
@@ -42,3 +42,4 @@
 org.jacoco jacoco-maven-plugin
 org.spdx spdx-maven-plugin
 org.apache.maven.wagon wagon-ssh
+org.junit junit-bom

Reply via email to