| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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-cave-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 http://karaf.apache.org/xmlns/features/v1.3.0"> |
| |
| <repository>mvn:org.apache.cxf.karaf/apache-cxf/${cxf.version}/xml/features</repository> |
| |
| <feature name="cave-server" version="${project.version}"> |
| <feature>cave-storage</feature> |
| <feature>cave-http</feature> |
| <feature>cave-rest</feature> |
| <feature>cave-maven</feature> |
| </feature> |
| |
| <feature name="cave-storage" version="${project.version}"> |
| <configfile finalname="/etc/org.apache.karaf.cave.server.storage.cfg"> |
| mvn:org.apache.karaf.cave/apache-karaf-cave/${project.version}/cfg/filesystem |
| </configfile> |
| <bundle>mvn:org.jsoup/jsoup/${jsoup.version}</bundle> |
| <bundle>mvn:org.apache.karaf.cave.server/org.apache.karaf.cave.server.api/${project.version}</bundle> |
| <bundle>mvn:org.apache.karaf.cave.server/org.apache.karaf.cave.server.storage/${project.version}</bundle> |
| <conditional> |
| <condition>management</condition> |
| <bundle>mvn:org.apache.karaf.cave.server/org.apache.karaf.cave.server.management/${project.version}</bundle> |
| </conditional> |
| <conditional> |
| <condition>shell</condition> |
| <bundle>mvn:org.apache.karaf.cave.server/org.apache.karaf.cave.server.command/${project.version}</bundle> |
| </conditional> |
| </feature> |
| |
| <feature name="cave-http" version="${project.version}"> |
| <feature dependency="true">http</feature> |
| <requirement>osgi.service;effective:=active;filter:=(objectClass=org.osgi.service.http.HttpService)</requirement> |
| <feature>cave-storage</feature> |
| <bundle>mvn:org.apache.karaf.cave.server/org.apache.karaf.cave.server.http/${project.version}</bundle> |
| </feature> |
| |
| <feature name="cave-rest" version="${project.version}"> |
| <feature dependency="true">http</feature> |
| <requirement>osgi.service;effective:=active;filter:=(objectClass=org.osgi.service.http.HttpService)</requirement> |
| <feature version="[3,4)">cxf-jaxrs</feature> |
| <feature>cave-storage</feature> |
| <bundle>mvn:org.apache.karaf.cave.server/org.apache.karaf.cave.server.rest/${project.version}</bundle> |
| </feature> |
| |
| <feature name="cave-maven" version="${project.version}"> |
| <feature dependency="true">http</feature> |
| <requirement>osgi.service;effective:=active;filter:=(objectClass=org.osgi.service.http.HttpService)</requirement> |
| <bundle>mvn:org.apache.karaf.cave.server/org.apache.karaf.cave.server.maven/${project.version}</bundle> |
| </feature> |
| |
| </features> |