| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| <!-- |
| |
| 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="aries-jpa-${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"> |
| |
| <feature name="jpa" description="OSGi Persistence Container" version="${project.version}"> |
| <details>JPA implementation provided by Apache Aries JPA 2.x. NB: this feature doesn't provide the JPA engine, you have to install one by yourself (OpenJPA for instance)</details> |
| <capability> |
| osgi.service;effective:=active;objectClass=javax.persistence.spi.PersistenceProvider |
| </capability> |
| |
| <bundle dependency="true">mvn:org.apache.aries.jpa.javax.persistence/javax.persistence_2.1/${project.version}</bundle> |
| <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle> |
| <bundle dependency="true">mvn:org.osgi/org.osgi.service.jdbc/1.0.0</bundle> |
| <bundle dependency="true" start-level="30">mvn:org.apache.felix/org.apache.felix.coordinator/1.0.2</bundle> |
| <bundle start-level="30">mvn:org.apache.aries.jpa/org.apache.aries.jpa.api/${project.version}</bundle> |
| <bundle start-level="30">mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/${project.version}</bundle> |
| <bundle start-level="30">mvn:org.apache.aries.jpa/org.apache.aries.jpa.support/${project.version}</bundle> |
| <conditional> |
| <condition>aries-blueprint</condition> |
| <bundle start-level="30">mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint/${project.version}</bundle> |
| </conditional> |
| </feature> |
| |
| </features> |