quarkus-hibernate-orm
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-hibernate-orm</artifactId> <version>3.17.4</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>quarkus-hibernate-orm-parent</artifactId> <groupId>io.quarkus</groupId> <version>3.17.4</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>quarkus-hibernate-orm</artifactId> <name>Quarkus - Hibernate ORM - Runtime</name> <description>Define your persistent model with Hibernate ORM and Jakarta Persistence</description> <dependencies> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-core</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-agroal</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-smallrye-metrics</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-core</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-arc</artifactId> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-narayana-jta</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-vertx-http</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-junit5-internal</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.hibernate.orm</groupId> <artifactId>hibernate-core</artifactId> </dependency> <!-- ByteBuddy is marked as a "runtime" dependency of Hibernate ORM but we need it to compile the extension --> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId> <scope>compile</scope> </dependency> <!-- HCANN is marked as a "runtime" dependency of Hibernate ORM but we need it to compile the extension --> <dependency> <groupId>org.hibernate.common</groupId> <artifactId>hibernate-commons-annotations</artifactId> <scope>compile</scope> </dependency> <!-- Pull in the optional GraalVM Feature of Hibernate ORM as it contains the static list of classes that any application using the ORM will need. This list needs to be extended by Quarkus to include additional dynamic needs, but it's still useful as it helps to keep it shorter; also this should allow us to have slightly more flexibility in experimenting with different version of Hibernate ORM --> <dependency> <groupId>org.hibernate.orm</groupId> <artifactId>hibernate-graalvm</artifactId> </dependency> <!-- We need XML mapping support to support Hibernate Envers --> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> </dependency> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> </dependency> <dependency> <groupId>jakarta.persistence</groupId> <artifactId>jakarta.persistence-api</artifactId> </dependency> <dependency> <groupId>jakarta.transaction</groupId> <artifactId>jakarta.transaction-api</artifactId> </dependency> <dependency> <groupId>org.graalvm.sdk</groupId> <artifactId>nativeimage</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>quarkus-local-cache</artifactId> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <!-- Technically the quarkus-caffeine-runtime belongs as a dependency to the Quarkus Caching layer, but since this is currently shaped as a non-quarkus external project I'd rather not have it depend on other Quarkus components (yet) --> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-caffeine</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-jackson</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-jsonb</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-jaxb</artifactId> <optional>true</optional> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>io.quarkus</groupId> <artifactId>quarkus-extension-maven-plugin</artifactId> <configuration> <capabilities> <provides>io.quarkus.hibernate.orm</provides> </capabilities> <excludedArtifacts> <excludedArtifact>javax.persistence:javax.persistence-api</excludedArtifact> <excludedArtifact>javax.persistence:persistence-api</excludedArtifact> </excludedArtifacts> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <executions> <execution> <id>default-compile</id> <configuration> <annotationProcessorPaths> <path> <groupId>io.quarkus</groupId> <artifactId>quarkus-extension-processor</artifactId> <version>${project.version}</version> </path> </annotationProcessorPaths> </configuration> </execution> </executions> </plugin> <plugin> <groupId>de.thetaphi</groupId> <artifactId>forbiddenapis</artifactId> </plugin> </plugins> </build> </project>