1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+ <groupId >tech.simter.start.java</groupId >
5
+ <artifactId >start-r2dbc</artifactId >
6
+ <packaging >jar</packaging >
7
+ <version >1.0-SNAPSHOT</version >
8
+ <properties >
9
+ <java .version>1.8</java .version>
10
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
11
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
12
+ <maven .compiler.encoding>UTF-8</maven .compiler.encoding>
13
+
14
+ <!-- reactor -->
15
+ <reactor .version>3.2.3.RELEASE</reactor .version>
16
+
17
+ <!-- spring -->
18
+ <spring .version>5.1.3.RELEASE</spring .version>
19
+ <spring-boot .version>2.1.1.RELEASE</spring-boot .version>
20
+ <spring-data .version>2.1.3.RELEASE</spring-data .version>
21
+ <spring-data-r2dbc .version>1.0.0.M1</spring-data-r2dbc .version>
22
+ <spring-data-jdbc .version>1.1.0.M1</spring-data-jdbc .version>
23
+
24
+ <!-- r2dbc -->
25
+ <r2dbc .version>1.0.0.M6</r2dbc .version>
26
+
27
+ <!-- test -->
28
+ <slf4j .version>1.7.25</slf4j .version>
29
+ <junit5 .platform.version>1.3.2</junit5 .platform.version>
30
+ <junit5 .jupiter.version>5.3.2</junit5 .jupiter.version>
31
+ <junit5 .vintage.version>5.3.2</junit5 .vintage.version>
32
+ <mockito .version>2.23.4</mockito .version>
33
+
34
+ <!-- database -->
35
+ <db .database>test</db .database>
36
+ <db .host>localhost</db .host>
37
+ <db .user>test</db .user>
38
+ <db .password>password</db .password>
39
+ </properties >
40
+ <dependencyManagement >
41
+ <dependencies >
42
+ <!-- spring -->
43
+ <dependency >
44
+ <groupId >org.springframework</groupId >
45
+ <artifactId >spring-framework-bom</artifactId >
46
+ <version >${spring.version} </version >
47
+ <type >pom</type >
48
+ <scope >import</scope >
49
+ </dependency >
50
+ <!-- spring boot -->
51
+ <dependency >
52
+ <groupId >org.springframework.boot</groupId >
53
+ <artifactId >spring-boot-dependencies</artifactId >
54
+ <version >${spring-boot.version} </version >
55
+ <type >pom</type >
56
+ <scope >import</scope >
57
+ </dependency >
58
+ <!-- spring-data-jdbc -->
59
+ <dependency >
60
+ <groupId >org.springframework.data</groupId >
61
+ <artifactId >spring-data-jdbc</artifactId >
62
+ <version >${spring-data-jdbc.version} </version >
63
+ </dependency >
64
+ </dependencies >
65
+ </dependencyManagement >
66
+ <dependencies >
67
+ <dependency >
68
+ <groupId >org.springframework.data</groupId >
69
+ <artifactId >spring-data-r2dbc</artifactId >
70
+ <version >${spring-data-r2dbc.version} </version >
71
+ </dependency >
72
+ <dependency >
73
+ <groupId >org.springframework.data</groupId >
74
+ <artifactId >spring-data-relational</artifactId >
75
+ <version >${spring-data-jdbc.version} </version >
76
+ </dependency >
77
+ <dependency >
78
+ <groupId >org.springframework.boot</groupId >
79
+ <artifactId >spring-boot-autoconfigure</artifactId >
80
+ </dependency >
81
+ <dependency >
82
+ <groupId >io.r2dbc</groupId >
83
+ <artifactId >r2dbc-spi</artifactId >
84
+ <version >${r2dbc.version} </version >
85
+ </dependency >
86
+ <dependency >
87
+ <groupId >org.slf4j</groupId >
88
+ <artifactId >slf4j-api</artifactId >
89
+ <version >${slf4j.version} </version >
90
+ </dependency >
91
+ <dependency >
92
+ <groupId >org.projectlombok</groupId >
93
+ <artifactId >lombok</artifactId >
94
+ <version >1.18.4</version >
95
+ </dependency >
96
+
97
+ <!-- test -->
98
+ <dependency >
99
+ <groupId >org.springframework.boot</groupId >
100
+ <artifactId >spring-boot-starter-test</artifactId >
101
+ <version >${spring-boot.version} </version >
102
+ <scope >test</scope >
103
+ </dependency >
104
+ <dependency >
105
+ <groupId >io.projectreactor</groupId >
106
+ <artifactId >reactor-test</artifactId >
107
+ <version >${reactor.version} </version >
108
+ <scope >test</scope >
109
+ </dependency >
110
+ <dependency >
111
+ <groupId >ch.qos.logback</groupId >
112
+ <artifactId >logback-classic</artifactId >
113
+ <version >1.2.3</version >
114
+ <scope >test</scope >
115
+ </dependency >
116
+ <dependency >
117
+ <groupId >org.slf4j</groupId >
118
+ <artifactId >jcl-over-slf4j</artifactId >
119
+ <version >${slf4j.version} </version >
120
+ <scope >test</scope >
121
+ </dependency >
122
+ <dependency >
123
+ <groupId >org.junit.jupiter</groupId >
124
+ <artifactId >junit-jupiter-api</artifactId >
125
+ <version >${junit5.jupiter.version} </version >
126
+ <scope >test</scope >
127
+ </dependency >
128
+ <dependency >
129
+ <groupId >org.junit.jupiter</groupId >
130
+ <artifactId >junit-jupiter-engine</artifactId >
131
+ <version >${junit5.jupiter.version} </version >
132
+ <scope >test</scope >
133
+ </dependency >
134
+ <dependency >
135
+ <groupId >org.apiguardian</groupId >
136
+ <artifactId >apiguardian-api</artifactId >
137
+ <version >1.0.0</version >
138
+ <scope >test</scope >
139
+ </dependency >
140
+ <dependency >
141
+ <groupId >org.mockito</groupId >
142
+ <artifactId >mockito-core</artifactId >
143
+ <version >${mockito.version} </version >
144
+ <scope >test</scope >
145
+ </dependency >
146
+ <dependency >
147
+ <groupId >org.mockito</groupId >
148
+ <artifactId >mockito-junit-jupiter</artifactId >
149
+ <version >${mockito.version} </version >
150
+ <scope >test</scope >
151
+ </dependency >
152
+ </dependencies >
153
+ <build >
154
+ <resources >
155
+ <resource >
156
+ <directory >src/main/resources</directory >
157
+ <filtering >true</filtering >
158
+ </resource >
159
+ </resources >
160
+ <testResources >
161
+ <testResource >
162
+ <directory >src/test/resources</directory >
163
+ <filtering >true</filtering >
164
+ </testResource >
165
+ </testResources >
166
+ <plugins >
167
+ <plugin >
168
+ <groupId >org.apache.maven.plugins</groupId >
169
+ <artifactId >maven-compiler-plugin</artifactId >
170
+ <version >3.8.0</version >
171
+ <configuration >
172
+ <source >1.8</source >
173
+ <target >1.8</target >
174
+ <encoding >UTF-8</encoding >
175
+ </configuration >
176
+ </plugin >
177
+ <plugin >
178
+ <groupId >org.apache.maven.plugins</groupId >
179
+ <artifactId >maven-dependency-plugin</artifactId >
180
+ <version >3.1.1</version >
181
+ </plugin >
182
+ <plugin >
183
+ <groupId >org.apache.maven.plugins</groupId >
184
+ <artifactId >maven-surefire-plugin</artifactId >
185
+ <version >2.22.1</version >
186
+ </plugin >
187
+ </plugins >
188
+ </build >
189
+ <profiles >
190
+ <!-- database -->
191
+ <profile >
192
+ <id >postgres</id >
193
+ <activation >
194
+ <activeByDefault >true</activeByDefault >
195
+ </activation >
196
+ <dependencies >
197
+ <dependency >
198
+ <groupId >io.r2dbc</groupId >
199
+ <artifactId >r2dbc-postgresql</artifactId >
200
+ <version >${r2dbc.version} </version >
201
+ <scope >runtime</scope >
202
+ </dependency >
203
+ <dependency >
204
+ <groupId >org.postgresql</groupId >
205
+ <artifactId >postgresql</artifactId >
206
+ <version >42.2.5</version >
207
+ <scope >runtime</scope >
208
+ </dependency >
209
+ </dependencies >
210
+ </profile >
211
+ <profile >
212
+ <id >h2</id >
213
+ <activation >
214
+ <activeByDefault >false</activeByDefault >
215
+ </activation >
216
+ <dependencies >
217
+ <dependency >
218
+ <groupId >io.r2dbc</groupId >
219
+ <artifactId >r2dbc-h2</artifactId >
220
+ <version >${r2dbc.version} </version >
221
+ <scope >runtime</scope >
222
+ </dependency >
223
+ <dependency >
224
+ <groupId >com.h2database</groupId >
225
+ <artifactId >h2</artifactId >
226
+ <version >1.4.197</version >
227
+ <scope >runtime</scope >
228
+ </dependency >
229
+ </dependencies >
230
+ </profile >
231
+ <profile >
232
+ <id >mssql</id >
233
+ <activation >
234
+ <activeByDefault >false</activeByDefault >
235
+ </activation >
236
+ <dependencies >
237
+ <dependency >
238
+ <groupId >io.r2dbc</groupId >
239
+ <artifactId >r2dbc-mssql</artifactId >
240
+ <version >${r2dbc.version} </version >
241
+ <scope >runtime</scope >
242
+ </dependency >
243
+ <dependency >
244
+ <groupId >com.microsoft.sqlserver</groupId >
245
+ <artifactId >mssql-jdbc</artifactId >
246
+ <version >7.1.3.jre8-preview</version >
247
+ <scope >runtime</scope >
248
+ </dependency >
249
+ </dependencies >
250
+ </profile >
251
+ </profiles >
252
+ </project >
0 commit comments