|
22 | 22 | <parent>
|
23 | 23 | <groupId>org.mybatis</groupId>
|
24 | 24 | <artifactId>mybatis-parent</artifactId>
|
25 |
| - <version>29</version> |
| 25 | + <version>31-SNAPSHOT</version> |
26 | 26 | <relativePath />
|
27 | 27 | </parent>
|
28 | 28 |
|
|
131 | 131 | </distributionManagement>
|
132 | 132 |
|
133 | 133 | <properties>
|
| 134 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 135 | + <maven.compiler.target>1.8</maven.compiler.target> |
134 | 136 | <maven.compiler.testTarget>1.8</maven.compiler.testTarget>
|
135 | 137 | <maven.compiler.testSource>1.8</maven.compiler.testSource>
|
136 | 138 | <maven.compiler.testCompilerArgument>-parameters</maven.compiler.testCompilerArgument>
|
|
140 | 142 | <osgi.import>*;resolution:=optional</osgi.import>
|
141 | 143 | <osgi.dynamicImport>*</osgi.dynamicImport>
|
142 | 144 | <maven.surefire.excludeGroups>org.apache.ibatis.test.SlowTests</maven.surefire.excludeGroups>
|
| 145 | + |
| 146 | + <!-- Override: Animal Sniffer Signature --> |
| 147 | + <signature.artifact>java18</signature.artifact> |
| 148 | + <signature.version>1.0</signature.version> |
143 | 149 | </properties>
|
144 | 150 |
|
145 | 151 | <dependencies>
|
146 | 152 | <dependency>
|
147 | 153 | <groupId>ognl</groupId>
|
148 | 154 | <artifactId>ognl</artifactId>
|
149 |
| - <version>3.1.16</version> |
| 155 | + <version>3.1.16</version> <!-- Keep to use 3.1.x because 3.2.2+ occurred a RuntimeException on OgnlContext --> |
150 | 156 | <scope>compile</scope>
|
151 | 157 | <optional>true</optional>
|
152 | 158 | </dependency>
|
|
175 | 181 | <version>1.2.17</version>
|
176 | 182 | <optional>true</optional>
|
177 | 183 | </dependency>
|
178 |
| - <!-- Don't upgrade to 2.4+ until mybatis switches to java 7 --> |
179 | 184 | <dependency>
|
180 | 185 | <groupId>org.apache.logging.log4j</groupId>
|
181 | 186 | <artifactId>log4j-core</artifactId>
|
182 |
| - <version>2.3</version> |
| 187 | + <version>2.5</version> <!-- 2.6+ occurred a compile error on Log4j2AbstractLoggerImpl (This compile error will resolve on other issue) --> |
183 | 188 | <optional>true</optional>
|
184 | 189 | </dependency>
|
185 | 190 | <dependency>
|
|
191 | 196 | <dependency>
|
192 | 197 | <groupId>cglib</groupId>
|
193 | 198 | <artifactId>cglib</artifactId>
|
194 |
| - <version>3.2.5</version> |
| 199 | + <version>3.2.6</version> |
195 | 200 | <optional>true</optional>
|
196 | 201 | </dependency>
|
197 | 202 |
|
198 | 203 | <!-- Test dependencies -->
|
199 | 204 | <dependency>
|
200 | 205 | <groupId>org.junit.vintage</groupId>
|
201 | 206 | <artifactId>junit-vintage-engine</artifactId>
|
202 |
| - <version>4.12.2</version> |
| 207 | + <version>5.1.0</version> |
203 | 208 | <scope>test</scope>
|
204 | 209 | </dependency>
|
205 | 210 | <dependency>
|
206 | 211 | <groupId>org.hsqldb</groupId>
|
207 | 212 | <artifactId>hsqldb</artifactId>
|
208 |
| - <version>2.3.5</version> <!-- Version 2.4.0 required jdk8 --> |
| 213 | + <version>2.4.0</version> |
209 | 214 | <scope>test</scope>
|
210 | 215 | </dependency>
|
211 | 216 | <dependency>
|
212 | 217 | <groupId>org.apache.derby</groupId>
|
213 | 218 | <artifactId>derby</artifactId>
|
214 |
| - <version>10.12.1.1</version> |
| 219 | + <version>10.14.1.0</version> |
215 | 220 | <scope>test</scope>
|
216 | 221 | </dependency>
|
217 | 222 | <dependency>
|
218 | 223 | <groupId>org.mockito</groupId>
|
219 | 224 | <artifactId>mockito-core</artifactId>
|
220 |
| - <version>2.12.0</version> |
| 225 | + <version>2.16.0</version> |
221 | 226 | <scope>test</scope>
|
222 | 227 | </dependency>
|
223 |
| - <!-- Do not go to 2.x until we are on jdk7 --> |
224 | 228 | <dependency>
|
225 |
| - <groupId>commons-dbcp</groupId> |
226 |
| - <artifactId>commons-dbcp</artifactId> |
227 |
| - <version>1.4</version> |
| 229 | + <groupId>org.apache.commons</groupId> |
| 230 | + <artifactId>commons-dbcp2</artifactId> |
| 231 | + <version>2.2.0</version> |
228 | 232 | <scope>test</scope>
|
229 | 233 | </dependency>
|
230 | 234 | <dependency>
|
231 |
| - <groupId>org.jboss.spec.javax.transaction</groupId> |
232 |
| - <artifactId>jboss-transaction-api_1.2_spec</artifactId> |
233 |
| - <version>1.0.1.Final</version> |
| 235 | + <groupId>javax.transaction</groupId> |
| 236 | + <artifactId>javax.transaction-api</artifactId> |
| 237 | + <version>1.3</version> |
234 | 238 | <scope>test</scope>
|
235 | 239 | </dependency>
|
236 | 240 | <dependency>
|
|
243 | 247 | <dependency>
|
244 | 248 | <groupId>org.postgresql</groupId>
|
245 | 249 | <artifactId>postgresql</artifactId>
|
246 |
| - <version>42.1.4.jre6</version> |
| 250 | + <version>42.2.1</version> |
247 | 251 | <scope>test</scope>
|
248 | 252 | </dependency>
|
249 | 253 | <dependency>
|
250 | 254 | <groupId>org.assertj</groupId>
|
251 | 255 | <artifactId>assertj-core</artifactId>
|
252 |
| - <version>1.7.1</version> <!-- Stay on 1.7.1 to support Java 6 --> |
| 256 | + <version>3.9.1</version> |
253 | 257 | <scope>test</scope>
|
254 | 258 | </dependency>
|
255 | 259 | <dependency>
|
256 | 260 | <groupId>eu.codearte.catch-exception</groupId>
|
257 | 261 | <artifactId>catch-exception</artifactId>
|
258 |
| - <version>1.4.4</version> |
| 262 | + <version>1.4.6</version> |
259 | 263 | <scope>test</scope>
|
260 | 264 | </dependency>
|
261 | 265 | <dependency>
|
262 | 266 | <groupId>ru.yandex.qatools.embed</groupId>
|
263 | 267 | <artifactId>postgresql-embedded</artifactId>
|
264 |
| - <version>2.5</version> |
| 268 | + <version>2.8</version> |
265 | 269 | <scope>test</scope>
|
266 | 270 | </dependency>
|
267 | 271 | </dependencies>
|
|
346 | 350 | </excludes>
|
347 | 351 | </configuration>
|
348 | 352 | </plugin>
|
349 |
| - <!-- Patch until mybatis-parent 30 (jdk9 build support) --> |
350 |
| - <plugin> |
351 |
| - <groupId>org.codehaus.mojo</groupId> |
352 |
| - <artifactId>animal-sniffer-maven-plugin</artifactId> |
353 |
| - <version>1.16</version> |
354 |
| - </plugin> |
355 | 353 | </plugins>
|
356 | 354 |
|
357 | 355 | <resources>
|
|
380 | 378 | </testResources>
|
381 | 379 | </build>
|
382 | 380 |
|
383 |
| - <profiles> |
384 |
| - <profile> |
385 |
| - <id>java16</id> |
386 |
| - <activation> |
387 |
| - <jdk>1.6</jdk> |
388 |
| - </activation> |
389 |
| - <properties> |
390 |
| - <maven.compiler.testTarget>1.6</maven.compiler.testTarget> |
391 |
| - <maven.compiler.testSource>1.6</maven.compiler.testSource> |
392 |
| - <maven.compiler.testCompilerArgument /> |
393 |
| - </properties> |
394 |
| - <build> |
395 |
| - <pluginManagement> |
396 |
| - <plugins> |
397 |
| - <plugin> |
398 |
| - <groupId>org.apache.maven.plugins</groupId> |
399 |
| - <artifactId>maven-compiler-plugin</artifactId> |
400 |
| - <configuration> |
401 |
| - <testExcludes> |
402 |
| - <testExclude>**/usesjava7/**/*.java</testExclude> |
403 |
| - <testExclude>**/usesjava8/**/*.java</testExclude> |
404 |
| - </testExcludes> |
405 |
| - </configuration> |
406 |
| - </plugin> |
407 |
| - <plugin> |
408 |
| - <groupId>org.apache.felix</groupId> |
409 |
| - <artifactId>maven-bundle-plugin</artifactId> |
410 |
| - <version>2.5.4</version> <!-- For java 6, remain at older version --> |
411 |
| - </plugin> |
412 |
| - </plugins> |
413 |
| - </pluginManagement> |
414 |
| - <plugins> |
415 |
| - <plugin> |
416 |
| - <groupId>org.apache.felix</groupId> |
417 |
| - <artifactId>maven-bundle-plugin</artifactId> |
418 |
| - <version>2.5.4</version> <!-- For java 6, remain at older version --> |
419 |
| - </plugin> |
420 |
| - </plugins> |
421 |
| - </build> |
422 |
| - </profile> |
423 |
| - <profile> |
424 |
| - <id>java17</id> |
425 |
| - <activation> |
426 |
| - <jdk>1.7</jdk> |
427 |
| - </activation> |
428 |
| - <properties> |
429 |
| - <maven.compiler.testTarget>1.7</maven.compiler.testTarget> |
430 |
| - <maven.compiler.testSource>1.7</maven.compiler.testSource> |
431 |
| - <maven.compiler.testCompilerArgument /> |
432 |
| - </properties> |
433 |
| - <build> |
434 |
| - <pluginManagement> |
435 |
| - <plugins> |
436 |
| - <plugin> |
437 |
| - <groupId>org.apache.maven.plugins</groupId> |
438 |
| - <artifactId>maven-compiler-plugin</artifactId> |
439 |
| - <configuration> |
440 |
| - <testExcludes> |
441 |
| - <testExclude>**/usesjava8/**/*.java</testExclude> |
442 |
| - </testExcludes> |
443 |
| - </configuration> |
444 |
| - </plugin> |
445 |
| - </plugins> |
446 |
| - </pluginManagement> |
447 |
| - </build> |
448 |
| - </profile> |
449 |
| - </profiles> |
| 381 | + <repositories> |
| 382 | + <!-- Adding for mybatis-parent 31-SNAPSHOT --> |
| 383 | + <repository> |
| 384 | + <id>sonatype-oss-snapshots</id> |
| 385 | + <name>Sonatype OSS Snapshots Repository</name> |
| 386 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 387 | + </repository> |
| 388 | + </repositories> |
| 389 | + |
450 | 390 | </project>
|
0 commit comments