Łukasz Dywicki created KARAF-7325:
-------------------------------------
Summary: Simplification of customizations for jre and framework
properties
Key: KARAF-7325
URL: https://issues.apache.org/jira/browse/KARAF-7325
Project: Karaf
Issue Type: Improvement
Components: karaf
Affects Versions: 4.2.14
Reporter: Łukasz Dywicki
Assignee: Łukasz Dywicki
[follow up issue promised in
https://lists.apache.org/thread/bdp1j909wz7cx593bmjxobg3k79sozzg]
I recently been going over few Karaf assemblies I created in past years and I
realized that in many cases I had to copy entire configuration shipped by Karaf
distribution in order to include a new config in bootstrap process.
Quite often my requirements were quite small, yet I had to create two files and
take care of updates of distro shipped file in order to keep assembly well
behaving.
If distro builder wants to override or extend any of properties defined in
standard karaf files he needs to copy a whole file. While it is not a problem
for custom properties it is a burden for jre and system (framework) properties
which vary between releases.
The proposal is to simplify patching process by introduction of:
* Optional {{custom.jre.properties}} file which can define "custom" packages
** custom.jre-1.6
** custom.jre-1.7
** custom.jre-8
** custom.jre-9
** custom.jre-10
** custom.jre-11
** custom.jre-13
** custom.jre-14
** custom.jre-15
* Extension of {{config.properties}} to accept more values coming from
{{{}custom.properties{}}}:
** custom.org.osgi.framework.system.packages
** custom.org.osgi.framework.system.packages.extra
** custom-capabilities
** custom.org.osgi.framework.bootdelegation
By this patching or adjusting system packages in a custom distro will require
only additional file instead of replacing distribution one. The
custom.properties will start playing bigger role in providing additional
entries to system packages and bootdelegation.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)