|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <!-- |
3 | 3 |
|
4 | | - Copyright 2009-2018 the original author or authors. |
| 4 | + Copyright 2009-2019 the original author or authors. |
5 | 5 |
|
6 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
7 | 7 | you may not use this file except in compliance with the License. |
|
22 | 22 | <parent> |
23 | 23 | <groupId>org.mybatis</groupId> |
24 | 24 | <artifactId>mybatis-parent</artifactId> |
25 | | - <version>31-SNAPSHOT</version> |
| 25 | + <version>31</version> |
26 | 26 | <relativePath /> |
27 | 27 | </parent> |
28 | 28 |
|
29 | 29 | <artifactId>mybatis</artifactId> |
30 | | - <version>3.5.0-SNAPSHOT</version> |
| 30 | + <version>3.5.1-SNAPSHOT</version> |
31 | 31 | <packaging>jar</packaging> |
32 | 32 |
|
33 | 33 | <name>mybatis</name> |
|
131 | 131 | </distributionManagement> |
132 | 132 |
|
133 | 133 | <properties> |
| 134 | + <clirr.comparisonVersion>3.4.6</clirr.comparisonVersion> |
| 135 | + <excludedGroups>EmbeddedPostgresqlTests</excludedGroups> |
134 | 136 | <maven.compiler.testCompilerArgument>-parameters</maven.compiler.testCompilerArgument> |
135 | | - <clirr.comparisonVersion>3.3.1</clirr.comparisonVersion> |
136 | | - <spotbugs.onlyAnalyze>org.apache.ibatis.*</spotbugs.onlyAnalyze> |
| 137 | + <module.name>org.mybatis</module.name> |
137 | 138 | <osgi.export>org.apache.ibatis.*;version=${project.version};-noimport:=true</osgi.export> |
138 | 139 | <osgi.import>*;resolution:=optional</osgi.import> |
139 | 140 | <osgi.dynamicImport>*</osgi.dynamicImport> |
140 | | - <maven.surefire.excludeGroups>org.apache.ibatis.test.SlowTests</maven.surefire.excludeGroups> |
| 141 | + <spotbugs.onlyAnalyze>org.apache.ibatis.*</spotbugs.onlyAnalyze> |
141 | 142 | </properties> |
142 | 143 |
|
143 | 144 | <dependencies> |
144 | 145 | <dependency> |
145 | 146 | <groupId>ognl</groupId> |
146 | 147 | <artifactId>ognl</artifactId> |
147 | | - <version>3.2.6</version> |
| 148 | + <version>3.2.10</version> |
148 | 149 | <scope>compile</scope> |
149 | 150 | <optional>true</optional> |
150 | 151 | </dependency> |
151 | 152 | <dependency> |
152 | 153 | <groupId>org.javassist</groupId> |
153 | 154 | <artifactId>javassist</artifactId> |
154 | | - <version>3.23.1-GA</version> |
| 155 | + <version>3.24.1-GA</version> |
155 | 156 | <scope>compile</scope> |
156 | 157 | <optional>true</optional> |
157 | 158 | </dependency> |
|
176 | 177 | <dependency> |
177 | 178 | <groupId>org.apache.logging.log4j</groupId> |
178 | 179 | <artifactId>log4j-core</artifactId> |
179 | | - <version>2.11.0</version> |
| 180 | + <version>2.11.1</version> |
180 | 181 | <optional>true</optional> |
181 | 182 | </dependency> |
182 | 183 | <dependency> |
|
188 | 189 | <dependency> |
189 | 190 | <groupId>cglib</groupId> |
190 | 191 | <artifactId>cglib</artifactId> |
191 | | - <version>3.2.6</version> |
| 192 | + <version>3.2.10</version> |
192 | 193 | <optional>true</optional> |
193 | 194 | </dependency> |
194 | 195 |
|
195 | 196 | <!-- Test dependencies --> |
196 | 197 | <dependency> |
197 | | - <groupId>org.junit.vintage</groupId> |
198 | | - <artifactId>junit-vintage-engine</artifactId> |
199 | | - <version>5.3.1</version> |
| 198 | + <groupId>org.junit.jupiter</groupId> |
| 199 | + <artifactId>junit-jupiter-engine</artifactId> |
| 200 | + <version>5.3.2</version> |
200 | 201 | <scope>test</scope> |
201 | 202 | </dependency> |
202 | 203 | <dependency> |
203 | 204 | <groupId>org.hsqldb</groupId> |
204 | 205 | <artifactId>hsqldb</artifactId> |
205 | | - <version>2.4.0</version> |
| 206 | + <version>2.4.1</version> |
206 | 207 | <scope>test</scope> |
207 | 208 | </dependency> |
208 | 209 | <dependency> |
209 | 210 | <groupId>org.apache.derby</groupId> |
210 | 211 | <artifactId>derby</artifactId> |
211 | | - <version>10.14.1.0</version> |
| 212 | + <version>10.14.2.0</version> |
212 | 213 | <scope>test</scope> |
213 | 214 | </dependency> |
214 | 215 | <dependency> |
215 | 216 | <groupId>org.mockito</groupId> |
216 | 217 | <artifactId>mockito-core</artifactId> |
217 | | - <version>2.16.0</version> |
| 218 | + <version>2.23.4</version> |
| 219 | + <scope>test</scope> |
| 220 | + </dependency> |
| 221 | + <dependency> |
| 222 | + <groupId>org.mockito</groupId> |
| 223 | + <artifactId>mockito-junit-jupiter</artifactId> |
| 224 | + <version>2.23.4</version> |
218 | 225 | <scope>test</scope> |
219 | 226 | </dependency> |
220 | 227 | <dependency> |
221 | 228 | <groupId>org.apache.commons</groupId> |
222 | 229 | <artifactId>commons-dbcp2</artifactId> |
223 | | - <version>2.2.0</version> |
| 230 | + <version>2.5.0</version> |
224 | 231 | <scope>test</scope> |
225 | 232 | </dependency> |
226 | 233 | <dependency> |
|
231 | 238 | </dependency> |
232 | 239 | <dependency> |
233 | 240 | <groupId>org.apache.velocity</groupId> |
234 | | - <artifactId>velocity</artifactId> |
235 | | - <version>1.7</version> |
| 241 | + <artifactId>velocity-engine-core</artifactId> |
| 242 | + <version>2.0</version> |
236 | 243 | <scope>test</scope> |
237 | 244 | </dependency> |
238 | 245 | <!-- postgresql driver is required to run the refcursor tests --> |
239 | 246 | <dependency> |
240 | 247 | <groupId>org.postgresql</groupId> |
241 | 248 | <artifactId>postgresql</artifactId> |
242 | | - <version>42.2.1</version> |
| 249 | + <version>42.2.5</version> |
243 | 250 | <scope>test</scope> |
244 | 251 | </dependency> |
245 | 252 | <dependency> |
246 | 253 | <groupId>org.assertj</groupId> |
247 | 254 | <artifactId>assertj-core</artifactId> |
248 | | - <version>3.9.1</version> |
| 255 | + <version>3.11.1</version> |
249 | 256 | <scope>test</scope> |
250 | 257 | </dependency> |
251 | 258 | <dependency> |
|
257 | 264 | <dependency> |
258 | 265 | <groupId>ru.yandex.qatools.embed</groupId> |
259 | 266 | <artifactId>postgresql-embedded</artifactId> |
260 | | - <version>2.9</version> |
| 267 | + <version>2.10</version> |
261 | 268 | <scope>test</scope> |
262 | 269 | </dependency> |
263 | 270 | </dependencies> |
|
275 | 282 | <groupId>org.apache.maven.plugins</groupId> |
276 | 283 | <artifactId>maven-surefire-plugin</artifactId> |
277 | 284 | <configuration> |
278 | | - <excludedGroups>${maven.surefire.excludeGroups}</excludedGroups> |
279 | 285 | <argLine>${argLine} -Xmx2048m</argLine> |
280 | 286 | <systemProperties> |
281 | 287 | <property> |
|
370 | 376 | </testResources> |
371 | 377 | </build> |
372 | 378 |
|
373 | | - <repositories> |
374 | | - <!-- Adding for mybatis-parent 31-SNAPSHOT --> |
375 | | - <repository> |
376 | | - <id>sonatype-oss-snapshots</id> |
377 | | - <name>Sonatype OSS Snapshots Repository</name> |
378 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
379 | | - </repository> |
380 | | - </repositories> |
| 379 | + <profiles> |
| 380 | + <profile> |
| 381 | + <!-- Run slow tests only on travis ci, to force run otherwise use -D"env.TRAVIS" --> |
| 382 | + <id>travis-ci</id> |
| 383 | + <activation> |
| 384 | + <property> |
| 385 | + <name>env.TRAVIS</name> |
| 386 | + </property> |
| 387 | + </activation> |
| 388 | + <properties> |
| 389 | + <excludedGroups /> |
| 390 | + </properties> |
| 391 | + </profile> |
| 392 | + </profiles> |
381 | 393 |
|
382 | 394 | </project> |
0 commit comments