karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject karaf git commit: KARAF-4147 - Add note about <libraries/> element
Date Thu, 31 Mar 2016 18:02:27 GMT
Repository: karaf
Updated Branches:
  refs/heads/master 675112d34 -> f33bc0925


KARAF-4147 - Add note about <libraries/> element


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/f33bc092
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/f33bc092
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/f33bc092

Branch: refs/heads/master
Commit: f33bc0925c54dc795f6f64a5b88bae81c8f5f9a3
Parents: 675112d
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Thu Mar 31 20:01:48 2016 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Thu Mar 31 20:01:48 2016 +0200

----------------------------------------------------------------------
 .../asciidoc/developer-guide/custom-distribution.adoc   | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/f33bc092/manual/src/main/asciidoc/developer-guide/custom-distribution.adoc
----------------------------------------------------------------------
diff --git a/manual/src/main/asciidoc/developer-guide/custom-distribution.adoc b/manual/src/main/asciidoc/developer-guide/custom-distribution.adoc
index fb6d086..98ceab8 100644
--- a/manual/src/main/asciidoc/developer-guide/custom-distribution.adoc
+++ b/manual/src/main/asciidoc/developer-guide/custom-distribution.adoc
@@ -67,6 +67,18 @@ You can use feature_name or feature_name/feature_version formats.
 the "system" internal repository.  Therefore at runtime the feature may be installed without
access to external repositories.
 You can use feature_name or feature_name/feature_version formats.
 
+You can also define the libraries shipped in your custom distribution. For instance, it could
be interesting if you
+want to extend your distribution with some JDBC drivers.
+
+The plugin accepts the `<libraries/>` element where you can add `<library/>`
containing the URL of the library.
+For instance:
+
+----
+<libraries>
+    <library>mvn:org.postgresql/postgresql/9.3-1102-jdbc41;type:=endorsed</library>
+</libraries>
+----
+
 ===== Minimal Distribution Example
 
 This is the minimal assembly pom changed to use the packaging and annotated


Mime
View raw message