[ https://issues.apache.org/jira/browse/SLING-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14309244#comment-14309244 ]
Radu Cotescu commented on SLING-4358: ------------------------------------- In a private chat [~bosschaert] suggested: {noformat} Provide-Capabaility: io.sightly; version:Version=1.0, io.sightly; version:Version=1.1 {noformat} Then a consumer would be able to specify: {noformat} Require-Capability: io.sightly; filter:="(&(version>=1.0)(!(version>=2.0)))" {noformat} > Add the 'Provide-Capability' OSGi header to the > org.apache.sling.scripting.sightly bundle > ----------------------------------------------------------------------------------------- > > Key: SLING-4358 > URL: https://issues.apache.org/jira/browse/SLING-4358 > Project: Sling > Issue Type: Sub-task > Components: Scripting > Reporter: Radu Cotescu > Fix For: Scripting Sightly Engine 1.0.0 > > > The OSGi {{Provide-Capability}} \[0\] header should be added to the > {{org.apache.sling.scripting.sightly}} bundle to easily identify what version > of the Sightly specification \[1\] the bundle implements. > \[0\] - http://wiki.osgi.org/wiki/Provide-Capability > \[1\] - https://github.com/Adobe-Marketing-Cloud/sightly-spec/releases -- This message was sent by Atlassian JIRA (v6.3.4#6332)