1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+ <parent >
7+ <groupId >tech.ydb.jdbc.examples</groupId >
8+ <artifactId >ydb-jdbc-examples</artifactId >
9+ <version >1.1.0-SNAPSHOT</version >
10+ </parent >
11+
12+ <groupId >ydb.tech</groupId >
13+ <artifactId >spring-jooq</artifactId >
14+ <dependencyManagement >
15+ <dependencies >
16+ <dependency >
17+ <groupId >org.springframework.boot</groupId >
18+ <artifactId >spring-boot-dependencies</artifactId >
19+ <version >3.3.3</version >
20+ <scope >import</scope >
21+ <type >pom</type >
22+ </dependency >
23+ <dependency >
24+ <groupId >org.jooq</groupId >
25+ <artifactId >jooq-parent</artifactId >
26+ <version >3.19.11</version >
27+ <type >pom</type >
28+ <scope >import</scope >
29+ </dependency >
30+ </dependencies >
31+ </dependencyManagement >
32+ <properties >
33+ <maven .compiler.release>17</maven .compiler.release>
34+ <kotlin .version>1.9.22</kotlin .version>
35+ <jooq .ydb.version>1.0.0-RC1</jooq .ydb.version>
36+ <flyway .version>10.7.1</flyway .version>
37+ </properties >
38+ <dependencies >
39+ <dependency >
40+ <groupId >org.springframework.boot</groupId >
41+ <artifactId >spring-boot-starter-jooq</artifactId >
42+ </dependency >
43+ <dependency >
44+ <groupId >org.jooq</groupId >
45+ <artifactId >jooq</artifactId >
46+ </dependency >
47+ <dependency >
48+ <groupId >org.jooq</groupId >
49+ <artifactId >jooq-meta</artifactId >
50+ </dependency >
51+ <dependency >
52+ <groupId >org.jooq</groupId >
53+ <artifactId >jooq-codegen</artifactId >
54+ </dependency >
55+ <dependency >
56+ <groupId >tech.ydb.dialects</groupId >
57+ <artifactId >jooq-ydb-dialect</artifactId >
58+ <version >${jooq.ydb.version} </version >
59+ </dependency >
60+ <dependency >
61+ <groupId >org.flywaydb</groupId >
62+ <artifactId >flyway-core</artifactId >
63+ </dependency >
64+ <dependency >
65+ <groupId >tech.ydb.dialects</groupId >
66+ <artifactId >flyway-ydb-dialect</artifactId >
67+ <version >1.0.0-RC0</version >
68+ </dependency >
69+ <dependency >
70+ <groupId >org.jetbrains.kotlin</groupId >
71+ <artifactId >kotlin-reflect</artifactId >
72+ <version >${kotlin.version} </version >
73+ </dependency >
74+ <dependency >
75+ <groupId >org.jetbrains.kotlin</groupId >
76+ <artifactId >kotlin-maven-allopen</artifactId >
77+ <version >${kotlin.version} </version >
78+ </dependency >
79+ <dependency >
80+ <groupId >org.jetbrains.kotlin</groupId >
81+ <artifactId >kotlin-stdlib</artifactId >
82+ <version >${kotlin.version} </version >
83+ </dependency >
84+ <dependency >
85+ <groupId >tech.ydb.jdbc</groupId >
86+ <artifactId >ydb-jdbc-driver</artifactId >
87+ </dependency >
88+
89+ <dependency >
90+ <groupId >org.springframework.boot</groupId >
91+ <artifactId >spring-boot-starter-test</artifactId >
92+ <scope >test</scope >
93+ </dependency >
94+ <dependency >
95+ <groupId >tech.ydb.test</groupId >
96+ <artifactId >ydb-junit5-support</artifactId >
97+ <scope >test</scope >
98+ </dependency >
99+ </dependencies >
100+ <build >
101+ <testSourceDirectory >${project.basedir} /src/test/kotlin</testSourceDirectory >
102+ <plugins >
103+ <plugin >
104+ <groupId >org.apache.maven.plugins</groupId >
105+ <artifactId >maven-surefire-plugin</artifactId >
106+ <configuration >
107+ <environmentVariables >
108+ <TESTCONTAINERS_REUSE_ENABLE >true</TESTCONTAINERS_REUSE_ENABLE >
109+ </environmentVariables >
110+ </configuration >
111+ </plugin >
112+ <plugin >
113+ <groupId >org.springframework.boot</groupId >
114+ <artifactId >spring-boot-maven-plugin</artifactId >
115+ </plugin >
116+ <!-- <plugin>-->
117+ <!-- <groupId>org.jooq</groupId>-->
118+ <!-- <artifactId>jooq-codegen-maven</artifactId>-->
119+ <!-- <version>3.19.11</version>-->
120+ <!-- <executions>-->
121+ <!-- <execution>-->
122+ <!-- <goals>-->
123+ <!-- <goal>generate</goal>-->
124+ <!-- </goals>-->
125+ <!-- </execution>-->
126+ <!-- </executions>-->
127+ <!-- <dependencies>-->
128+ <!-- <dependency>-->
129+ <!-- <groupId>tech.ydb.jdbc</groupId>-->
130+ <!-- <artifactId>ydb-jdbc-driver-shaded</artifactId>-->
131+ <!-- <version>${ydb.jdbc.version}</version>-->
132+ <!-- </dependency>-->
133+ <!-- <dependency>-->
134+ <!-- <groupId>tech.ydb.dialects</groupId>-->
135+ <!-- <artifactId>jooq-ydb-dialect</artifactId>-->
136+ <!-- <version>${jooq.ydb.version}</version>-->
137+ <!-- </dependency>-->
138+ <!-- </dependencies>-->
139+ <!-- <configuration>-->
140+ <!-- <jdbc>-->
141+ <!-- <driver>tech.ydb.jdbc.YdbDriver</driver>-->
142+ <!-- <url>jdbc:ydb:grpc://localhost:2136/local</url>-->
143+ <!-- </jdbc>-->
144+
145+ <!-- <generator>-->
146+ <!-- <name>org.jooq.codegen.JavaGenerator</name>-->
147+
148+ <!-- <strategy>-->
149+ <!-- <name>tech.ydb.jooq.codegen.YdbGeneratorStrategy</name>-->
150+ <!-- </strategy>-->
151+
152+ <!-- <database>-->
153+ <!-- <name>tech.ydb.jooq.codegen.YdbDatabase</name>-->
154+ <!-- <includes>.*</includes>-->
155+ <!-- <excludes/>-->
156+ <!-- </database>-->
157+
158+ <!-- <target>-->
159+ <!-- <packageName>ydb</packageName>-->
160+ <!-- <directory>./src/main/java</directory>-->
161+ <!-- </target>-->
162+ <!-- </generator>-->
163+ <!-- </configuration>-->
164+ <!-- </plugin>-->
165+ <plugin >
166+ <groupId >org.jetbrains.kotlin</groupId >
167+ <artifactId >kotlin-maven-plugin</artifactId >
168+ <version >${kotlin.version} </version >
169+ <executions >
170+ <execution >
171+ <id >compile</id >
172+ <phase >compile</phase >
173+ <goals >
174+ <goal >compile</goal >
175+ </goals >
176+ <configuration >
177+ <sourceDirs >
178+ <sourceDir >${project.basedir} /src/main/kotlin</sourceDir >
179+ <sourceDir >${project.basedir} /src/main/java</sourceDir >
180+ </sourceDirs >
181+ </configuration >
182+ </execution >
183+ <execution >
184+ <id >test-compile</id >
185+ <goals >
186+ <goal >test-compile</goal >
187+ </goals >
188+ </execution >
189+ </executions >
190+ <configuration >
191+ <args >
192+ <arg >-Xjsr305=strict</arg >
193+ </args >
194+ <compilerPlugins >
195+ <plugin >spring</plugin >
196+ </compilerPlugins >
197+ </configuration >
198+ <dependencies >
199+ <dependency >
200+ <groupId >org.jetbrains.kotlin</groupId >
201+ <artifactId >kotlin-maven-allopen</artifactId >
202+ <version >${kotlin.version} </version >
203+ </dependency >
204+ <dependency >
205+ <groupId >org.jetbrains.kotlin</groupId >
206+ <artifactId >kotlin-maven-noarg</artifactId >
207+ <version >${kotlin.version} </version >
208+ </dependency >
209+ </dependencies >
210+ </plugin >
211+ </plugins >
212+ </build >
213+ </project >
0 commit comments