Carsten Ziegeler created SLING-9516:
---------------------------------------
Summary: Allow to specify execution environment as part of the
feature model
Key: SLING-9516
URL: https://issues.apache.org/jira/browse/SLING-9516
Project: Sling
Issue Type: Improvement
Components: Feature Model
Reporter: Carsten Ziegeler
Fix For: Feature Model Launcher 1.1.4, Feature Model Analyser
1.2.8, Feature Model 1.2.2, slingfeature-maven-plugin 1.3.6
It is currently not possible to specify in the feature model which framework is
used to launch the application. This results in repeatedly configuring this
information - in the launcher, for the analyser, in the slingfeature maven
plugin.
We should add an extension capturing this information - this information can
then also be used if the requirements are met at launch time.
Extension could look like this:
"execution-environment": {
"kind": "optional",
"type": "json",
"json": {
"environment-capabilities”: [“osgi.ee(version=1.11)”,”...java packages...”],
"framework": {
"id" : "org.osgi:core:6.0.0"
},
"provided-bundles": ["org.osgi:logging:1.1“]
}
}
We could start with a first implementation, just supporting the "framework"
property - and then enhance over time
--
This message was sent by Atlassian Jira
(v8.3.4#803005)