META-INF.sca-contribution.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:f3="urn:fabric3.org" f3:extension="true" f3:description="Hibernate JPA extension"> <import.java package="javax.transaction" version="1.1.0"/> <import.java package="javax.transaction.xa" version="1.1.0"/> <import.java package="javax.persistence" version="1.0.0"/> <import.java package="org.hibernate.*" version="4.2.2"/> <import.java package="javassist.util.proxy" version="3.4.0.GA"/> <import.java package="org.fabric3.spi.*" version="2.5.1"/> <import.java package="org.fabric3.resource.jndi.proxy.jdbc" version="2.5.1"/> <import.java package="org.fabric3.datasource.spi"/> <export.java package="org.fabric3.jpa.api" version="2.5.1"/> <f3:requires.capability name="transaction"/> <f3:provides.capability name="jpa"/> <f3:provides.capability name="hibernate"/> <deployable composite="f3:HibernateControllerExtension" modes = "controller node vm"/> <deployable composite="f3:HibernateParticipantExtension" modes = "participant node vm"/> </contribution>