1
+ <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" >
2
+ <modelVersion >4.0.0</modelVersion >
3
+ <parent >
4
+ <groupId >tech.ydb.jdbc.examples</groupId >
5
+ <artifactId >ydb-jdbc-examples</artifactId >
6
+ <version >1.1.0-SNAPSHOT</version >
7
+ </parent >
8
+
9
+ <artifactId >spring-data-jpa-v5</artifactId >
10
+ <name >Spring Data JPA Example Hibernate 5</name >
11
+ <description >Basic example for SpringBoot3 and Hibernate 6</description >
12
+ <properties >
13
+ <kotlin .version>1.9.22</kotlin .version>
14
+ <hibernate .ydb.dialect.version>0.9.1</hibernate .ydb.dialect.version>
15
+ <spring .boot.version>2.5.7</spring .boot.version>
16
+ </properties >
17
+ <dependencies >
18
+ <dependency >
19
+ <groupId >org.springframework.boot</groupId >
20
+ <artifactId >spring-boot-starter-data-jpa</artifactId >
21
+ <version >${spring.boot.version} </version >
22
+ </dependency >
23
+ <dependency >
24
+ <groupId >org.springframework.data</groupId >
25
+ <artifactId >spring-data-commons</artifactId >
26
+ <version >${spring.boot.version} </version >
27
+ </dependency >
28
+ <dependency >
29
+ <groupId >org.jetbrains.kotlin</groupId >
30
+ <artifactId >kotlin-reflect</artifactId >
31
+ <version >${kotlin.version} </version >
32
+ </dependency >
33
+ <dependency >
34
+ <groupId >org.jetbrains.kotlin</groupId >
35
+ <artifactId >kotlin-stdlib</artifactId >
36
+ <version >${kotlin.version} </version >
37
+ </dependency >
38
+ <dependency >
39
+ <groupId >tech.ydb.dialects</groupId >
40
+ <artifactId >hibernate-ydb-dialect-v5</artifactId >
41
+ <version >${hibernate.ydb.dialect.version} </version >
42
+ </dependency >
43
+ <dependency >
44
+ <groupId >tech.ydb.jdbc</groupId >
45
+ <artifactId >ydb-jdbc-driver-shaded</artifactId >
46
+ </dependency >
47
+ <dependency >
48
+ <groupId >com.github.javafaker</groupId >
49
+ <artifactId >javafaker</artifactId >
50
+ <version >1.0.2</version >
51
+ </dependency >
52
+ <dependency >
53
+ <groupId >org.jetbrains.kotlinx</groupId >
54
+ <artifactId >kotlinx-coroutines-core</artifactId >
55
+ <version >1.7.3</version >
56
+ </dependency >
57
+ <dependency >
58
+ <groupId >org.postgresql</groupId >
59
+ <artifactId >postgresql</artifactId >
60
+ <version >42.7.1</version >
61
+ </dependency >
62
+ <dependency >
63
+ <groupId >org.testcontainers</groupId >
64
+ <artifactId >postgresql</artifactId >
65
+ <version >1.19.1</version >
66
+ <scope >test</scope >
67
+ </dependency >
68
+ <dependency >
69
+ <groupId >tech.ydb.test</groupId >
70
+ <artifactId >ydb-junit5-support</artifactId >
71
+ <scope >test</scope >
72
+ <exclusions >
73
+ <exclusion >
74
+ <groupId >org.junit.jupiter</groupId >
75
+ <artifactId >junit-jupiter-api</artifactId >
76
+ </exclusion >
77
+ </exclusions >
78
+ </dependency >
79
+ <dependency >
80
+ <groupId >org.springframework.boot</groupId >
81
+ <artifactId >spring-boot-starter-test</artifactId >
82
+ <version >${spring.boot.version} </version >
83
+ <scope >test</scope >
84
+ </dependency >
85
+ </dependencies >
86
+ <build >
87
+ <sourceDirectory >${project.basedir} /src/main/kotlin</sourceDirectory >
88
+ <testSourceDirectory >${project.basedir} /src/test/kotlin</testSourceDirectory >
89
+ <plugins >
90
+ <plugin >
91
+ <groupId >org.apache.maven.plugins</groupId >
92
+ <artifactId >maven-surefire-plugin</artifactId >
93
+ <configuration >
94
+ <environmentVariables >
95
+ <TESTCONTAINERS_REUSE_ENABLE >true</TESTCONTAINERS_REUSE_ENABLE >
96
+ </environmentVariables >
97
+ </configuration >
98
+ </plugin >
99
+ <plugin >
100
+ <groupId >org.springframework.boot</groupId >
101
+ <artifactId >spring-boot-maven-plugin</artifactId >
102
+ <version >${spring.boot.version} </version >
103
+ </plugin >
104
+ <plugin >
105
+ <groupId >org.jetbrains.kotlin</groupId >
106
+ <artifactId >kotlin-maven-plugin</artifactId >
107
+ <version >${kotlin.version} </version >
108
+ <executions >
109
+ <execution >
110
+ <id >compile</id >
111
+ <phase >compile</phase >
112
+ <goals >
113
+ <goal >compile</goal >
114
+ </goals >
115
+ </execution >
116
+ <execution >
117
+ <id >test-compile</id >
118
+ <goals >
119
+ <goal >test-compile</goal >
120
+ </goals >
121
+ </execution >
122
+ </executions >
123
+ <configuration >
124
+ <args >
125
+ <arg >-Xjsr305=strict</arg >
126
+ </args >
127
+ <compilerPlugins >
128
+ <plugin >spring</plugin >
129
+ <plugin >jpa</plugin >
130
+ </compilerPlugins >
131
+ </configuration >
132
+ <dependencies >
133
+ <dependency >
134
+ <groupId >org.jetbrains.kotlin</groupId >
135
+ <artifactId >kotlin-maven-allopen</artifactId >
136
+ <version >${kotlin.version} </version >
137
+ </dependency >
138
+ <dependency >
139
+ <groupId >org.jetbrains.kotlin</groupId >
140
+ <artifactId >kotlin-maven-noarg</artifactId >
141
+ <version >${kotlin.version} </version >
142
+ </dependency >
143
+ </dependencies >
144
+ </plugin >
145
+ </plugins >
146
+ </build >
147
+ </project >
0 commit comments