Files
hibernate8-jpa4-demo/jakarta-data/hibernate-data/pom.xml
T

118 lines
4.1 KiB
XML

<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.ankurm</groupId>
<artifactId>jakarta-data-demo</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>hibernate-data</artifactId>
<name>Jakarta Data repositories on Hibernate (GA 7.4 and pre-release 8.0)</name>
<properties>
<maven.compiler.release>25</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- default: the GA line. Activate -Ph8 for Hibernate 8.0.0.CR2 + Jakarta Data 1.1.0-M4 (both pre-release). -->
<hibernate.version>7.4.17.Final</hibernate.version>
<jakarta.data.version>1.0.2</jakarta.data.version>
<profile.name>ga</profile.name>
<h2.version>2.5.252</h2.version>
<junit.version>6.1.3</junit.version>
</properties>
<dependencies>
<dependency>
<groupId>jakarta.data</groupId>
<artifactId>jakarta.data-api</artifactId>
<version>${jakarta.data.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.17</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.0</version>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-processor</artifactId>
<version>${hibernate.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.4</version>
<configuration>
<systemPropertyVariables>
<profile.name>${profile.name}</profile.name>
<hibernate.version>${hibernate.version}</hibernate.version>
<jakarta.data.version>${jakarta.data.version}</jakarta.data.version>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>h8</id>
<properties>
<hibernate.version>8.0.0.CR2</hibernate.version>
<jakarta.data.version>1.1.0-M4</jakarta.data.version>
<profile.name>h8</profile.name>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.1</version>
<executions>
<execution>
<id>add-h8-sources</id>
<phase>generate-sources</phase>
<goals><goal>add-source</goal></goals>
<configuration><sources><source>src/h8/java</source></sources></configuration>
</execution>
<execution>
<id>add-h8-tests</id>
<phase>generate-test-sources</phase>
<goals><goal>add-test-source</goal></goals>
<configuration><sources><source>src/test-h8/java</source></sources></configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>