You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by da...@apache.org on 2019/01/09 09:57:31 UTC
[sling-org-apache-sling-feature] branch master updated: Additions
to Feature Model documentation.
This is an automated email from the ASF dual-hosted git repository.
davidb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature.git
The following commit(s) were added to refs/heads/master by this push:
new 97a4d6e Additions to Feature Model documentation.
97a4d6e is described below
commit 97a4d6e5ce3cf29da26568b3005dedb79d698451
Author: David Bosschaert <bo...@adobe.com>
AuthorDate: Wed Jan 9 09:54:14 2019 +0000
Additions to Feature Model documentation.
---
readme.md | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 73 insertions(+), 1 deletion(-)
diff --git a/readme.md b/readme.md
index 91c1928..96ad185 100644
--- a/readme.md
+++ b/readme.md
@@ -2,7 +2,79 @@
[](https://builds.apache.org/view/S-Z/view/Sling/job/sling-org-apache-sling-feature-1.8) [](https://builds.apache.org/view/S-Z/view/Sling/job/sling-org-apache-sling-feature-1.8/test_results_analyzer/) [ provide a well defined and accepted way of uniquely defining such an id. The coordinates include at least a group id, an artifact id, a version and a type/packaging. A classifier is optional.
+
+While group id, artifact id, version and the optional classifier can be freely choosen for a feature, the type/packaging is defined as "osgifeature".
+
+TBD: Is "osgifeature" a good type?
+
+## Maven Coordinates
+
+Maven coordinates are used to define the feature id and to refer to artifacts contained in the feature, e.g. bundles, content packages or other features. There are two supported ways to write down such a coordinate:
+
+* Using a colon as a separator for the parts: groupId:artifactId[:type[:classifier]]:version as defined in https://maven.apache.org/pom.html#Maven_Coordinates
+* Using a mvn URL: 'mvn:' group-id '/' artifact-id [ '/' [version] [ '/' [type] [ '/' classifier ] ] ] ]
+
+In some cases only the coordinates are specified as a string in one of the above mentioned formats. In other cases, the artifact is described through a JSON object. In that case, the *id* property holds the coordinates in one of the formats.
+
+
+
+
+## Bundles
+
+## Configuration
+
+## Requirements and Capabilities
+
+# Extensions
+
+# References
This project aims to define a common OSGi feature model to build an OSGi application out of higher level modules.