/
pom.xml
84 lines (75 loc) · 3.25 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-integrationtest</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../..</relativePath>
</parent>
<artifactId>hibernate-search-integrationtest-java-modules-orm-elasticsearch</artifactId>
<packaging>jar</packaging>
<name>Hibernate Search ITs - Java - Modules - ORM/Elasticsearch</name>
<description>Hibernate Search integration tests for Java 11+ modules</description>
<properties>
<test.elasticsearch.run.skip>${test.elasticsearch.connection.uris.defined}</test.elasticsearch.run.skip>
<test.database.run.skip>false</test.database.run.skip>
<maven.compiler.release>11</maven.compiler.release>
<!-- Override the default from the parent POM: here we really do want to use the modulepath -->
<failsafe.useModulePath>true</failsafe.useModulePath>
<surefire.jvm.args.module>
${test.elasticsearch.connection.jvm.args}
</surefire.jvm.args.module>
</properties>
<dependencies>
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-mapper-orm</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-backend-elasticsearch</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-util-internal-test-orm</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${jdbc.driver.groupId}</groupId>
<artifactId>${jdbc.driver.artifactId}</artifactId>
<scope>test</scope>
</dependency>
<!-- For some reason jakarta.transaction-api requires CDI at runtime:
https://github.com/jakartaee/transactions/pull/212 -->
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<!-- DO NOT REMOVE and DO NOT MANAGE the version of this dependency. See the version property declaration. -->
<version>${version.jakarta.enterprise}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<id>it</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>