blob: dbe9480ad1daceb4bccddf92872cdbba096ae3c6 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<features name="karaf-cellar-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
<repository>mvn:org.apache.jclouds.karaf/jclouds-karaf/${jclouds.version}/xml/features</repository>
<repository>mvn:io.fabric8/karaf-features/${fabric8.version}/xml/features</repository>
<feature name="cellar-core" description="Karaf clustering core" version="${project.version}" resolver="(obr)">
<configfile finalname="/etc/org.apache.karaf.cellar.groups.cfg">mvn:org.apache.karaf.cellar/apache-karaf-cellar/${project.version}/cfg/groups</configfile>
<configfile finalname="/etc/org.apache.karaf.cellar.node.cfg">mvn:org.apache.karaf.cellar/apache-karaf-cellar/${project.version}/cfg/node</configfile>
<bundle start-level="30">mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.core/${project.version}</bundle>
<bundle start-level="31">mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.utils/${project.version}</bundle>
</feature>
<feature name="hazelcast" description="In memory data grid" version="${hazelcast.version}" resolver="(obr)">
<configfile finalname="/etc/hazelcast.xml">mvn:org.apache.karaf.cellar/apache-karaf-cellar/${project.version}/xml/hazelcast</configfile>
<bundle start-level="30" dependency="true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
<bundle start-level="30" dependency="true">mvn:com.eclipsesource.minimal-json/minimal-json/0.9.2</bundle>
<bundle start-level="70">mvn:com.hazelcast/hazelcast/${hazelcast.version}</bundle>
</feature>
<feature name="cellar-hazelcast" description="Cellar implementation based on Hazelcast" version="${project.version}" resolver="(obr)">
<feature version="${hazelcast.version}">hazelcast</feature>
<feature version="${project.version}">cellar-core</feature>
<bundle start-level="70">mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.hazelcast/${project.version}</bundle>
</feature>
<feature name="cellar-config" description="ConfigAdmin cluster support" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">cellar-core</feature>
<bundle start-level="40">mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.config/${project.version}</bundle>
</feature>
<feature name="cellar-features" description="Karaf features cluster support" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">cellar-core</feature>
<bundle start-level="40">mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.features/${project.version}</bundle>
</feature>
<feature name="cellar-bundle" description="Bundle cluster support" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">cellar-core</feature>
<bundle start-level="40">mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.bundle/${project.version}</bundle>
</feature>
<feature name="cellar-shell" description="Cellar shell support" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">cellar-core</feature>
<bundle start-level="40">mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.shell/${project.version}</bundle>
</feature>
<feature name="cellar" description="Karaf clustering" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">cellar-hazelcast</feature>
<feature version="${project.version}">cellar-shell</feature>
<feature version="${project.version}">cellar-config</feature>
<feature version="${project.version}">cellar-bundle</feature>
<feature version="${project.version}">cellar-features</feature>
</feature>
<feature name="cellar-dosgi" description="DOSGi support" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">cellar-core</feature>
<bundle start-level="40">mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.dosgi/${project.version}</bundle>
</feature>
<feature name="cellar-obr" description="OBR cluster support" version="${project.version}" resolver="(obr)">
<feature>obr</feature>
<feature version="${project.version}">cellar-core</feature>
<bundle>mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.obr/${project.version}</bundle>
</feature>
<feature name="cellar-eventadmin" description="OSGi events broadcasting in clusters" version="${project.version}" resolver="(obr)">
<feature>eventadmin</feature>
<feature version="${project.version}">cellar-core</feature>
<bundle>mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.event/${project.version}</bundle>
</feature>
<feature name="cellar-cloud" description="Cloud blobstore support in clusters" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">cellar-core</feature>
<feature version="${jclouds.version}">jclouds</feature>
<!-- Adding S3 as the default Blobstore -->
<feature>jclouds-aws-s3</feature>
<bundle>mvn:joda-time/joda-time/${joda-time.version}</bundle>
<bundle>mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.cloud/${project.version}</bundle>
</feature>
<feature name="cellar-kubernetes" description="Cellar kubernetes support in clusters" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">cellar-core</feature>
<feature>fabric8-kubernetes-api</feature>
<bundle start-level="40">mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.kubernetes/${project.version}</bundle>
</feature>
<feature name="cellar-webconsole" description="Cellar plugin for Karaf WebConsole" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">cellar</feature>
<feature>webconsole</feature>
<bundle>mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.webconsole/${project.version}</bundle>
</feature>
</features>