You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2020/01/10 09:16:55 UTC

[sling-parent] branch master updated: SLING-8980 - Set bundle-version suffix of SNAPSHOT versions to the static String "-SNAPSHOT" instead of a timestamp

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new d9bc35a  SLING-8980 - Set bundle-version suffix of SNAPSHOT versions to the static String "-SNAPSHOT" instead of a timestamp
d9bc35a is described below

commit d9bc35a91ff4d31d7627ee4ca61ad334de56b11b
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Jan 10 10:15:45 2020 +0100

    SLING-8980 - Set bundle-version suffix of SNAPSHOT versions to the static String "-SNAPSHOT" instead of a timestamp
    
    This ensures that we will get reproducible builds for SNAPSHOT builds as well.
    
    The '.SNAPSHOT' qualifier is supported by the OSGi installer, so there is no loss
    of functionality.
---
 sling-bundle-parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sling-bundle-parent/pom.xml b/sling-bundle-parent/pom.xml
index 4e1199d..8673fba 100644
--- a/sling-bundle-parent/pom.xml
+++ b/sling-bundle-parent/pom.xml
@@ -72,7 +72,7 @@ Bundle-Category: sling
 
 # overwrite timestamp format used as qualifier for snapshots to make the resolution higher (i.e. make them differ for each build), 
 # compare with https://www.mail-archive.com/dev@sling.apache.org/msg76177.html
--snapshot: ${tstamp;yyyyMMddHHmmssSSS}
+-snapshot: SNAPSHOT
 
 # reproducible builds (https://github.com/bndtools/bnd/issues/3521)
 -noextraheaders: true