[solved] Re: Trouble with Debian versioning for JAR/POM when upgrading jackson-core
On Tue, 24 Jun 2014, tony mancill wrote:
> I think the difference lies with differences in the versions of
> maven-debian-helper and maven-repo-helper used, although I can't point
No, I made sure to dist-upgrade my sid cowbuilder before starting
and not in between, and, as I said, rebuilding the old package
didn’t show the problem.
> I think mh_cleanpom (maven-repo-helper package) creates those
> .properties files. See its manpage,
That was it! (Besides calling this… “thing”… a manpage, which is
totally off the mark.) The upstream packaging changed, so the
“jar” type did no longer match (I think… I’m not a Java™ coder).
Applying the following patch to all three packages allowed me
to build jackson-databind 2.3.3, too.
From ca144ae4fd8ac7a24f0b1c05c1fa768ff9dd6855 Mon Sep 17 00:00:00 2001
From: Thorsten Glaser <t.glaser@tarent.de>
Date: Wed, 25 Jun 2014 09:55:33 +0200
Subject: [PATCH] fix version mangling; thanks tony mancill for the pointers
---
debian/changelog | 6 ++++++
debian/maven.publishedRules | 2 +-
debian/maven.rules | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 35cbff7..8bfb71d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+jackson-core (2.3.3-0tarent2) tarent; urgency=medium
+
+ * Fix version mangling for Debian (use 2.x not debian)
+
+ -- Thorsten Glaser <t.glaser@tarent.de> Wed, 25 Jun 2014 09:54:58 +0200
+
jackson-core (2.3.3-0tarent1) tarent; urgency=medium
* Upstream version jackson-core-2.3.3
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
index b3d7f41..07774aa 100644
--- a/debian/maven.publishedRules
+++ b/debian/maven.publishedRules
@@ -1,2 +1,2 @@
-com.fasterxml.jackson.core jackson-core jar s/2\..*/2.x/ * *
+com.fasterxml.jackson.core jackson-core * s/2\..*/2.x/ * *
diff --git a/debian/maven.rules b/debian/maven.rules
index 7c1f5d3..ab69877 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -1,5 +1,5 @@
-com.fasterxml.jackson.core jackson-core jar s/2\..*/2.x/ * *
+com.fasterxml.jackson.core jackson-core * s/2\..*/2.x/ * *
junit junit jar s/4\..*/4.x/ * *
org.apache.maven.scm maven-scm-manager-plexus jar s/.*/debian/ * *
org.apache.maven.scm maven-scm-provider-gitexe jar s/.*/debian/ * *
--
2.0.0
bye,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
Reply to: