[KARAF-4180] Overrides documentation
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/c0c373d1 Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/c0c373d1 Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/c0c373d1 Branch: refs/heads/master Commit: c0c373d1b42855914a763f54bf2f458e2569416b Parents: 6774446 Author: Christian Schneider <[email protected]> Authored: Thu Jan 14 11:39:56 2016 +0100 Committer: Christian Schneider <[email protected]> Committed: Thu Jan 14 13:43:04 2016 +0100 ---------------------------------------------------------------------- manual/src/main/asciidoc/user-guide/provisioning.adoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf/blob/c0c373d1/manual/src/main/asciidoc/user-guide/provisioning.adoc ---------------------------------------------------------------------- diff --git a/manual/src/main/asciidoc/user-guide/provisioning.adoc b/manual/src/main/asciidoc/user-guide/provisioning.adoc index 07eb99c..5dffb86 100644 --- a/manual/src/main/asciidoc/user-guide/provisioning.adoc +++ b/manual/src/main/asciidoc/user-guide/provisioning.adoc @@ -141,6 +141,18 @@ Thanks to the features lifecycle, you can control the status of the feature (sta You can also use a simulation to see what the update will do. +==== Overrides + +Bundles defined in features can be overridden by using a file etc/overrides.properties. +Each line in the file defines one override. The syntax is: +<bundle-uri>[;range="[min,max)"] +The given bundle will override all bundles in feature definitions with the same symbolic name if the version +of the override is greater than the version of the overridden bundle and the range matches. +If no range is given then compatibility on the micro version level is assumed. + +So for example the override mvn:org.ops4j.pax.logging/pax-logging-service/1.8.5 +would overide pax-logging-service 1.8.3 but not 1.8.6 or 1.7.0. + ==== Feature bundles ===== Start Level
