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