Author: radu Date: Mon Feb 16 15:26:50 2015 New Revision: 1660139 URL: http://svn.apache.org/r1660139 Log: SLING-4358 - Add the 'Provide-Capability' OSGi header to the org.apache.sling.scripting.sightly bundle
* added Provide-Capability / Require-Capability headers to Sightly bundles Modified: sling/trunk/contrib/scripting/sightly/engine/pom.xml sling/trunk/contrib/scripting/sightly/js-use-provider/pom.xml sling/trunk/contrib/scripting/sightly/repl/pom.xml sling/trunk/contrib/scripting/sightly/testing-content/pom.xml Modified: sling/trunk/contrib/scripting/sightly/engine/pom.xml URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/sightly/engine/pom.xml?rev=1660139&r1=1660138&r2=1660139&view=diff ============================================================================== --- sling/trunk/contrib/scripting/sightly/engine/pom.xml (original) +++ sling/trunk/contrib/scripting/sightly/engine/pom.xml Mon Feb 16 15:26:50 2015 @@ -80,6 +80,7 @@ <Embed-Dependency>antlr4-runtime,org.abego.treelayout.core</Embed-Dependency> <ScriptEngine-Name>${project.name}</ScriptEngine-Name> <ScriptEngine-Version>${project.version}</ScriptEngine-Version> + <Provide-Capability>io.sightly; version:Version=1.0, io.sightly; version:Version=1.1</Provide-Capability> </instructions> </configuration> </plugin> Modified: sling/trunk/contrib/scripting/sightly/js-use-provider/pom.xml URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/sightly/js-use-provider/pom.xml?rev=1660139&r1=1660138&r2=1660139&view=diff ============================================================================== --- sling/trunk/contrib/scripting/sightly/js-use-provider/pom.xml (original) +++ sling/trunk/contrib/scripting/sightly/js-use-provider/pom.xml Mon Feb 16 15:26:50 2015 @@ -69,6 +69,7 @@ <configuration> <instructions> <Sling-Bundle-Resources>/libs/sling/sightly/js;path:=/SLING-INF/libs/sling/sightly/js</Sling-Bundle-Resources> + <Require-Capability>io.sightly; filter:="(&(version>=1.0)(!(version>=2.0)))"</Require-Capability> </instructions> </configuration> </plugin> Modified: sling/trunk/contrib/scripting/sightly/repl/pom.xml URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/sightly/repl/pom.xml?rev=1660139&r1=1660138&r2=1660139&view=diff ============================================================================== --- sling/trunk/contrib/scripting/sightly/repl/pom.xml (original) +++ sling/trunk/contrib/scripting/sightly/repl/pom.xml Mon Feb 16 15:26:50 2015 @@ -54,6 +54,7 @@ <configuration> <instructions> <Sling-Initial-Content>SLING-INF;overwrite=true</Sling-Initial-Content> + <Require-Capability>io.sightly; filter:="(&(version>=1.0)(!(version>=2.0)))"</Require-Capability> </instructions> </configuration> </plugin> Modified: sling/trunk/contrib/scripting/sightly/testing-content/pom.xml URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/sightly/testing-content/pom.xml?rev=1660139&r1=1660138&r2=1660139&view=diff ============================================================================== --- sling/trunk/contrib/scripting/sightly/testing-content/pom.xml (original) +++ sling/trunk/contrib/scripting/sightly/testing-content/pom.xml Mon Feb 16 15:26:50 2015 @@ -124,6 +124,7 @@ <instructions> <Sling-Initial-Content>SLING-INF;overwrite=true</Sling-Initial-Content> <Sling-Model-Packages>org.apache.sling.scripting.sightly.testing.models</Sling-Model-Packages> + <Require-Capability>io.sightly; filter:="(&(version>=1.0)(!(version>=2.0)))"</Require-Capability> </instructions> </configuration> </plugin>