camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <>
Subject Versioning: micro component in round minor releases
Date Tue, 16 Aug 2016 23:01:55 GMT
Hi all,

I've come across an obscure bug using the karaf-maven-plugin to package a
custom Karaf distro containing Camel 2.18-SNAPSHOT.

Karaf expects feature version numbers to match the same format as OSGi
versions [1]. OSGi versions **require** a micro component.

Karaf uses the Felix org.apache.felix.utils.version.VersionCleaner [2]
which adds a 0 micro component if it doesn't exist. This magic then causes
problems when other tools try to match version numbers of round releases.

I particularly find confusing that we use this non-uniform scheme for
versions, not only because it it causes side-effects, but because it feels
somewhat messy.

My proposal: always include a micro component in our release numbers,
padding with 0 for round releases (2.18 => 2.18.0). That way we would have:


Instead of:




Raúl Kripalani |
| blog:
skype: raul.fuse

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message