Skip to content

Commit

Permalink
Merge pull request #1663 from jbonofre/KARAF-7362
Browse files Browse the repository at this point in the history
[KARAF-7362] Move karaf.config bundle in startup instead of features to be sure it starts sync and in first stage
  • Loading branch information
jbonofre committed Oct 16, 2022
2 parents 5384d47 + fcfac7c commit 8133668
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assemblies/features/framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
<artifactId>org.apache.karaf.diagnostic.boot</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.karaf.config</groupId>
<artifactId>org.apache.karaf.config.core</artifactId>
</dependency>
<dependency>
<groupId>${equinox.groupId}</groupId>
<artifactId>${equinox.artifactId}</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions assemblies/features/framework/src/main/feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<bundle start-level="11">mvn:org.apache.felix/org.apache.felix.cm.json/${felix.cm.json.version}</bundle>
<bundle start-level="11">mvn:org.apache.sling/org.apache.sling.commons.johnzon/${sling.commons.johnzon.version}</bundle>
<bundle start-level="11">mvn:org.apache.felix/org.apache.felix.configurator/${felix.configurator.version}</bundle>
<bundle start-level="11">mvn:org.apache.karaf.config/org.apache.karaf.config.core/${project.version}</bundle>
<!-- file install -->
<bundle start-level="12">mvn:org.apache.felix/org.apache.felix.fileinstall/${felix.fileinstall.version}</bundle>
<!-- features service -->
Expand All @@ -65,6 +66,7 @@
<bundle start-level="11">mvn:org.apache.felix/org.apache.felix.cm.json/${felix.cm.json.version}</bundle>
<bundle start-level="11">mvn:org.apache.sling/org.apache.sling.commons.johnzon/${sling.commons.johnzon.version}</bundle>
<bundle start-level="11">mvn:org.apache.felix/org.apache.felix.configurator/${felix.configurator.version}</bundle>
<bundle start-level="11">mvn:org.apache.karaf.config/org.apache.karaf.config.core/${project.version}</bundle>
<!-- file install -->
<bundle start-level="12">mvn:org.apache.felix/org.apache.felix.fileinstall/${felix.fileinstall.version}</bundle>
<!-- features service -->
Expand Down
1 change: 0 additions & 1 deletion assemblies/features/standard/src/main/feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@ watch = admin
</feature>

<feature name="config" description="Provide OSGi ConfigAdmin support" version="${project.version}">
<bundle start-level="30">mvn:org.apache.karaf.config/org.apache.karaf.config.core/${project.version}</bundle>
<conditional>
<condition>management</condition>
<config name="jmx.acl.org.apache.karaf.config">
Expand Down

0 comments on commit 8133668

Please sign in to comment.