This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch issue/SLING-12800 in repository https://gitbox.apache.org/repos/asf/sling-ide-tooling.git
commit d49e71738c4d629a8b11df479c604694dcbe9810 Author: Robert Munteanu <[email protected]> AuthorDate: Tue Apr 28 14:58:51 2026 +0200 SLING-12800 - SNAPSHOT artifacts not reinstalled after building locally Configure bnd to configure a snapshot qualifier identical to the one used for Eclipse bundles by default. This ensures that when the update site is built the new shared bundles are picked up. --- shared/parent/pom.xml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/shared/parent/pom.xml b/shared/parent/pom.xml index c55f107a..dd187560 100644 --- a/shared/parent/pom.xml +++ b/shared/parent/pom.xml @@ -42,15 +42,21 @@ <executions> <execution> <id>bnd-process</id> - <configuration> - <!-- due to the non-Maven standard merging this is effectively added to the config set in sling-bundle-parent - make sure to automatically start this bundle in Equinox whenever some classes are referenced - (https://vogella.com/blog/getting-started-with-osgi-declarative-services-2024/#interlude-bundle-activationpolicy-lazy) --> - <bnd>Bundle-ActivationPolicy: lazy</bnd> - </configuration> - </execution> - </executions> - </plugin> + <configuration> + <!-- due to the non-Maven standard merging this is effectively added to the config set in sling-bundle-parent --> + <bnd> +# Make sure to automatically start this bundle in Equinox whenever some classes are referenced. +# (https://vogella.com/blog/getting-started-with-osgi-declarative-services-2024/#interlude-bundle-activationpolicy-lazy) +Bundle-ActivationPolicy: lazy + +# Give snapshot bundles a unique OSGi version per build so p2 does not reuse stale pooled artifacts. +# Keep the qualifier format aligned with the Tycho-built Eclipse bundles. +-snapshot: ${tstamp;yyyyMMddHHmm} + </bnd> + </configuration> + </execution> + </executions> + </plugin> <plugin> <groupId>biz.aQute.bnd</groupId> <artifactId>bnd-baseline-maven-plugin</artifactId>
