Re: Bundle version for SNAPSHOTs generated by bnd-maven-plugin

2018-04-09 Thread Konrad Windszus
I added this requirement now to the newly created https://issues.apache.org/jira/browse/SLING-7575 . We are blocked though by https://github.com/bndtools/bnd/issues/2265 (until the release of bnd-ma

Re: Bundle version for SNAPSHOTs generated by bnd-maven-plugin

2018-04-09 Thread Justin Edelson
Oh yeah, then that's a problem. It really should be epoch-based IMO. On Mon, Apr 9, 2018 at 10:28 AM Konrad Windszus wrote: > By default the timestamp is having the format "MMddHHmm" ( > http://bnd.bndtools.org/macros/tstamp.html < > http://bnd.bndtools.org/macros/tstamp.html>), this could b

Re: Bundle version for SNAPSHOTs generated by bnd-maven-plugin

2018-04-09 Thread Konrad Windszus
By default the timestamp is having the format "MMddHHmm" (http://bnd.bndtools.org/macros/tstamp.html ), this could be a problem in certain cases where you redeploy two builds within the same minute. > On 9. Apr 2018, at 15:55, Justin Edelson wro

Re: Bundle version for SNAPSHOTs generated by bnd-maven-plugin

2018-04-09 Thread Justin Edelson
I'm not sure this is problematic from the perspective of the installer. The point of the different SNAPSHOT handling is to support the use case of updating a bundle with the *same* bundle version. However, if the bundle versions are including a timestamp, it isn't needed since the bundle versions w

Re: Bundle version for SNAPSHOTs generated by bnd-maven-plugin

2018-04-09 Thread Bertrand Delacretaz
Hi, On Fri, Apr 6, 2018 at 8:32 AM, Konrad Windszus wrote: > ...Should we configure all our bundles in a way that SNAPSHOT in the version > is not being replaced... I think we should keep the -SNAPSHOT version suffix as is, for backwards compatibility reasons. -Bertrand

Bundle version for SNAPSHOTs generated by bnd-maven-plugin

2018-04-05 Thread Konrad Windszus
I am just migrating the OSGi Installer HC (https://github.com/apache/sling-org-apache-sling-installer-hc/) to the bnd-maven-plugin and I observed one difference to the maven-bundle-plugin: The bundle version for SNAPSHOTs by default looks like "1.0.1." instead of "1.0.1.SNAPSHOT" (as it was wit