|
42 | 42 | xAzureSQLDB - - - - For tests not compatible with Azure SQL Database - - |
43 | 43 | xAzureSQLDW - - - - For tests not compatible with Azure Data Warehouse - |
44 | 44 | xAzureSQLMI - - - - For tests not compatible with Azure SQL Managed Instance |
45 | | - NTLM - - - For tests using NTLM Authentication mode (excluded by default) |
46 | | - kerberos - - - - For tests using Kerberos authentication (excluded by default) |
| 45 | + NTLM - - - - - - - For tests using NTLM Authentication mode (excluded by default) |
| 46 | + kerberos - - - - - For tests using Kerberos authentication (excluded by default) |
47 | 47 | reqExternalSetup - For tests requiring external setup (excluded by default) |
48 | 48 | clientCertAuth - - For tests requiring client certificate authentication |
49 | | - setup (excluded by default) - - - - - - - - - - - - - - - - - - - - - - - |
50 | | - requireSecret - For tests requiring setting up secrets manually |
| 49 | + setup (excluded by default) - - - - - - - - - - - - - - - - - - - - - - - |
51 | 50 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
52 | 51 | Default testing enabled with SQL Server 2019 (SQLv15) --> |
53 | | - <excludedGroups> |
54 | | - xSQLv12,xSQLv15,NTLM,MSI,reqExternalSetup,clientCertAuth,fedAuth,kerberos,requireSecret</excludedGroups> |
| 52 | + <excludedGroups>xSQLv12,xSQLv15,NTLM,MSI,reqExternalSetup,clientCertAuth,fedAuth,kerberos</excludedGroups> |
55 | 53 | <!-- Use -preview for preview release, leave empty for official release. --> |
56 | 54 | <releaseExt>-preview</releaseExt> |
57 | 55 | <!-- Driver Dependencies --> |
58 | 56 | <org.osgi.core.version>6.0.0</org.osgi.core.version> |
59 | | - <azure-security-keyvault-keys.version>4.7.3</azure-security-keyvault-keys.version> |
60 | | - <azure-identity.version>1.12.2</azure-identity.version> |
61 | | - <msal.version>1.15.1</msal.version> |
| 57 | + <azure-security-keyvault-keys.version>4.9.2</azure-security-keyvault-keys.version> |
| 58 | + <azure-identity.version>1.15.3</azure-identity.version> |
62 | 59 | <osgi.jdbc.version>1.1.0</osgi.jdbc.version> |
63 | 60 | <antlr-runtime.version>4.9.3</antlr-runtime.version> |
64 | | - <com.google.code.gson.version>2.10.1</com.google.code.gson.version> |
65 | | - <bcprov-jdk18on.version>1.78</bcprov-jdk18on.version> |
66 | | - <bcpkix-jdk18on.version>1.78</bcpkix-jdk18on.version> |
| 61 | + <com.google.code.gson.version>2.11.0</com.google.code.gson.version> |
| 62 | + <bcprov-jdk18on.version>1.79</bcprov-jdk18on.version> |
| 63 | + <bcpkix-jdk18on.version>1.79</bcpkix-jdk18on.version> |
67 | 64 | <!-- JUnit Test Dependencies --> |
68 | | - <junit.platform.version>[1.3.2, 1.9.0]</junit.platform.version> |
69 | | - <junit.jupiter.version>5.8.2</junit.jupiter.version> |
| 65 | + <junit.platform.version>[1.3.2, 1.11.4]</junit.platform.version> |
| 66 | + <junit.jupiter.version>5.11.4</junit.jupiter.version> |
70 | 67 | <hikaricp.version>3.4.2</hikaricp.version> |
71 | | - <dbcp2.version>2.7.0</dbcp2.version> |
72 | | - <slf4j.nop.version>1.7.30</slf4j.nop.version> |
73 | | - <gemini.mock.version>2.1.0.RELEASE</gemini.mock.version> |
| 68 | + <dbcp2.version>2.13.0</dbcp2.version> |
| 69 | + <slf4j.nop.version>1.7.36</slf4j.nop.version> |
| 70 | + <gemini.mock.version>3.0.0.M01</gemini.mock.version> |
74 | 71 | <h2.version>2.2.220</h2.version> |
75 | 72 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
76 | 73 | <project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding> |
|
95 | 92 | </exclusion> |
96 | 93 | </exclusions> |
97 | 94 | </dependency> |
98 | | - <dependency> |
99 | | - <groupId>com.microsoft.azure</groupId> |
100 | | - <artifactId>msal4j</artifactId> |
101 | | - <version>${msal.version}</version> |
102 | | - <optional>true</optional> |
103 | | - </dependency> |
104 | 95 | <!-- dependencies for ANTLR --> |
105 | 96 | <dependency> |
106 | 97 | <groupId>org.antlr</groupId> |
|
230 | 221 | <repositories> |
231 | 222 | <repository> |
232 | 223 | <id>central</id> |
233 | | - <url> |
234 | | - https://sqlclientdrivers.pkgs.visualstudio.com/public/_packaging/mssql-jdbc/maven/v1</url> |
| 224 | + <url>https://sqlclientdrivers.pkgs.visualstudio.com/public/_packaging/mssql-jdbc/maven/v1</url> |
235 | 225 | <releases> |
236 | 226 | <enabled>true</enabled> |
237 | 227 | </releases> |
|
243 | 233 | <pluginRepositories> |
244 | 234 | <pluginRepository> |
245 | 235 | <id>central</id> |
246 | | - <url> |
247 | | - https://sqlclientdrivers.pkgs.visualstudio.com/public/_packaging/mssql-jdbc/maven/v1</url> |
| 236 | + <url>https://sqlclientdrivers.pkgs.visualstudio.com/public/_packaging/mssql-jdbc/maven/v1</url> |
248 | 237 | <releases> |
249 | 238 | <enabled>true</enabled> |
250 | 239 | </releases> |
|
257 | 246 | <profile> |
258 | 247 | <id>jre8</id> |
259 | 248 | <build> |
260 | | - <finalName> |
261 | | - ${project.artifactId}-${project.version}.jre8${releaseExt}</finalName> |
| 249 | + <finalName>${project.artifactId}-${project.version}.jre8${releaseExt}</finalName> |
262 | 250 | <plugins> |
263 | 251 | <plugin> |
264 | 252 | <groupId>org.apache.maven.plugins</groupId> |
265 | 253 | <artifactId>maven-compiler-plugin</artifactId> |
266 | 254 | <version>3.8.0</version> |
267 | 255 | <configuration> |
268 | 256 | <excludes> |
269 | | - <exclude> |
270 | | - **/com/microsoft/sqlserver/jdbc/ISQLServerConnection43.java</exclude> |
271 | | - <exclude> |
272 | | - **/com/microsoft/sqlserver/jdbc/SQLServerConnection43.java</exclude> |
273 | | - <exclude> |
274 | | - **/com/microsoft/sqlserver/jdbc/SQLServerJdbc43.java</exclude> |
| 257 | + <exclude>**/com/microsoft/sqlserver/jdbc/ISQLServerConnection43.java</exclude> |
| 258 | + <exclude>**/com/microsoft/sqlserver/jdbc/SQLServerConnection43.java</exclude> |
| 259 | + <exclude>**/com/microsoft/sqlserver/jdbc/SQLServerJdbc43.java</exclude> |
275 | 260 | </excludes> |
276 | 261 | <testExcludes> |
277 | | - <exclude> |
278 | | - **/com/microsoft/sqlserver/jdbc/connection/ConnectionWrapper43Test.java</exclude> |
279 | | - <exclude> |
280 | | - **/com/microsoft/sqlserver/jdbc/connection/RequestBoundaryMethodsTest.java</exclude> |
281 | | - <exclude> |
282 | | - **/com/microsoft/sqlserver/jdbc/JDBC43Test.java</exclude> |
| 262 | + <exclude>**/com/microsoft/sqlserver/jdbc/connection/ConnectionWrapper43Test.java</exclude> |
| 263 | + <exclude>**/com/microsoft/sqlserver/jdbc/connection/RequestBoundaryMethodsTest.java</exclude> |
| 264 | + <exclude>**/com/microsoft/sqlserver/jdbc/JDBC43Test.java</exclude> |
283 | 265 | </testExcludes> |
284 | 266 | <source>1.8</source> |
285 | 267 | <target>1.8</target> |
|
298 | 280 | <version>3.1.1</version> |
299 | 281 | <configuration> |
300 | 282 | <archive> |
301 | | - <manifestFile> |
302 | | - ${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 283 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
303 | 284 | </archive> |
304 | 285 | </configuration> |
305 | 286 | </plugin> |
|
308 | 289 | <artifactId>maven-surefire-plugin</artifactId> |
309 | 290 | <version>3.0.0-M1</version> |
310 | 291 | <configuration> |
311 | | - <!-- Exclude [xJDBC42] For tests not compatible with |
312 | | - JDBC 4.2 Specifications --> |
| 292 | + <!-- Exclude [xJDBC42] For tests not compatible with JDBC 4.2 Specifications --> |
313 | 293 | <excludedGroups>${excludedGroups}, xJDBC42</excludedGroups> |
314 | 294 | </configuration> |
315 | 295 | </plugin> |
|
319 | 299 | <profile> |
320 | 300 | <id>jre11</id> |
321 | 301 | <build> |
322 | | - <finalName> |
323 | | - ${project.artifactId}-${project.version}.jre11${releaseExt}</finalName> |
| 302 | + <finalName>${project.artifactId}-${project.version}.jre11${releaseExt}</finalName> |
324 | 303 | <plugins> |
325 | 304 | <plugin> |
326 | 305 | <groupId>org.apache.maven.plugins</groupId> |
327 | 306 | <artifactId>maven-compiler-plugin</artifactId> |
328 | 307 | <version>3.8.0</version> |
329 | 308 | <configuration> |
330 | 309 | <excludes> |
331 | | - <exclude> |
332 | | - **/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude> |
| 310 | + <exclude>**/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude> |
333 | 311 | </excludes> |
334 | 312 | <source>11</source> |
335 | 313 | <target>11</target> |
|
341 | 319 | <version>3.1.1</version> |
342 | 320 | <configuration> |
343 | 321 | <archive> |
344 | | - <manifestFile> |
345 | | - ${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 322 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
346 | 323 | <manifestEntries> |
347 | | - <Automatic-Module-Name> |
348 | | - com.microsoft.sqlserver.jdbc</Automatic-Module-Name> |
| 324 | + <Automatic-Module-Name>com.microsoft.sqlserver.jdbc</Automatic-Module-Name> |
349 | 325 | </manifestEntries> |
350 | 326 | </archive> |
351 | 327 | </configuration> |
|
356 | 332 | <profile> |
357 | 333 | <id>jre17</id> |
358 | 334 | <build> |
359 | | - <finalName> |
360 | | - ${project.artifactId}-${project.version}.jre17${releaseExt}</finalName> |
| 335 | + <finalName>${project.artifactId}-${project.version}.jre17${releaseExt}</finalName> |
361 | 336 | <plugins> |
362 | 337 | <plugin> |
363 | 338 | <groupId>org.apache.maven.plugins</groupId> |
364 | 339 | <artifactId>maven-compiler-plugin</artifactId> |
365 | 340 | <version>3.8.0</version> |
366 | 341 | <configuration> |
367 | 342 | <excludes> |
368 | | - <exclude> |
369 | | - **/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude> |
| 343 | + <exclude>**/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude> |
370 | 344 | </excludes> |
371 | 345 | <source>17</source> |
372 | 346 | <target>17</target> |
|
378 | 352 | <version>3.1.1</version> |
379 | 353 | <configuration> |
380 | 354 | <archive> |
381 | | - <manifestFile> |
382 | | - ${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 355 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
383 | 356 | <manifestEntries> |
384 | | - <Automatic-Module-Name> |
385 | | - com.microsoft.sqlserver.jdbc</Automatic-Module-Name> |
| 357 | + <Automatic-Module-Name>com.microsoft.sqlserver.jdbc</Automatic-Module-Name> |
386 | 358 | </manifestEntries> |
387 | 359 | </archive> |
388 | 360 | </configuration> |
|
393 | 365 | <profile> |
394 | 366 | <id>jre21</id> |
395 | 367 | <build> |
396 | | - <finalName> |
397 | | - ${project.artifactId}-${project.version}.jre21${releaseExt}</finalName> |
| 368 | + <finalName>${project.artifactId}-${project.version}.jre21${releaseExt}</finalName> |
398 | 369 | <plugins> |
399 | 370 | <plugin> |
400 | 371 | <groupId>org.apache.maven.plugins</groupId> |
401 | 372 | <artifactId>maven-compiler-plugin</artifactId> |
402 | 373 | <version>3.8.0</version> |
403 | 374 | <configuration> |
404 | 375 | <excludes> |
405 | | - <exclude> |
406 | | - **/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude> |
| 376 | + <exclude>**/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude> |
407 | 377 | </excludes> |
408 | 378 | <source>21</source> |
409 | 379 | <target>21</target> |
|
415 | 385 | <version>3.1.1</version> |
416 | 386 | <configuration> |
417 | 387 | <archive> |
418 | | - <manifestFile> |
419 | | - ${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 388 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
420 | 389 | <manifestEntries> |
421 | | - <Automatic-Module-Name> |
422 | | - com.microsoft.sqlserver.jdbc</Automatic-Module-Name> |
| 390 | + <Automatic-Module-Name>com.microsoft.sqlserver.jdbc</Automatic-Module-Name> |
423 | 391 | </manifestEntries> |
424 | 392 | </archive> |
425 | 393 | </configuration> |
|
433 | 401 | <activeByDefault>true</activeByDefault> |
434 | 402 | </activation> |
435 | 403 | <build> |
436 | | - <finalName> |
437 | | - ${project.artifactId}-${project.version}.jre23${releaseExt}</finalName> |
| 404 | + <finalName>${project.artifactId}-${project.version}.jre23${releaseExt}</finalName> |
438 | 405 | <plugins> |
439 | 406 | <plugin> |
440 | 407 | <groupId>org.apache.maven.plugins</groupId> |
441 | 408 | <artifactId>maven-compiler-plugin</artifactId> |
442 | 409 | <version>3.8.0</version> |
443 | 410 | <configuration> |
444 | 411 | <excludes> |
445 | | - <exclude> |
446 | | - **/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude> |
| 412 | + <exclude>**/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude> |
447 | 413 | </excludes> |
448 | 414 | <source>23</source> |
449 | 415 | <target>23</target> |
|
455 | 421 | <version>3.1.1</version> |
456 | 422 | <configuration> |
457 | 423 | <archive> |
458 | | - <manifestFile> |
459 | | - ${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 424 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
460 | 425 | <manifestEntries> |
461 | | - <Automatic-Module-Name> |
462 | | - com.microsoft.sqlserver.jdbc</Automatic-Module-Name> |
| 426 | + <Automatic-Module-Name>com.microsoft.sqlserver.jdbc</Automatic-Module-Name> |
463 | 427 | </manifestEntries> |
464 | 428 | </archive> |
465 | 429 | </configuration> |
|
506 | 470 | <configuration> |
507 | 471 | <rules> |
508 | 472 | <bannedPlugins> |
509 | | - <!-- will only display a warning but does |
510 | | - not fail the build. --> |
| 473 | + <!-- will only display a warning but does not fail the build. --> |
511 | 474 | <level>WARN</level> |
512 | 475 | <excludes> |
513 | | - <exclude> |
514 | | - org.apache.maven.plugins:maven-verifier-plugin</exclude> |
| 476 | + <exclude>org.apache.maven.plugins:maven-verifier-plugin</exclude> |
515 | 477 | </excludes> |
516 | | - <message> |
517 | | - Please consider using the |
518 | | - maven-invoker-plugin |
| 478 | + <message>Please consider using the maven-invoker-plugin |
519 | 479 | (http://maven.apache.org/plugins/maven-invoker-plugin/)!</message> |
520 | 480 | </bannedPlugins> |
521 | 481 | <requireMavenVersion> |
|
568 | 528 | com.microsoft.sqlserver.jdbc.dataclassification, |
569 | 529 | microsoft.sql |
570 | 530 | </_exportcontents> |
571 | | - <Import-Package> |
572 | | - !microsoft.sql, |
573 | | - com.ibm.security.auth.module;resolution:=optional, |
574 | | - com.sun.security.auth.module;resolution:=optional, |
575 | | - jdk.net;resolution:=optional,*</Import-Package> |
576 | | - <Bundle-Activator> |
577 | | - com.microsoft.sqlserver.jdbc.osgi.Activator</Bundle-Activator> |
| 531 | + <Import-Package>!microsoft.sql,jdk.net;resolution:=optional,*</Import-Package> |
| 532 | + <Bundle-Activator>com.microsoft.sqlserver.jdbc.osgi.Activator</Bundle-Activator> |
578 | 533 | </instructions> |
579 | 534 | </configuration> |
580 | 535 | <executions> |
|
611 | 566 | <inherited>true</inherited> |
612 | 567 | <configuration> |
613 | 568 | <outputFile>outdated-dependencies.txt</outputFile> |
614 | | - <rulesUri> |
615 | | - file:///${session.executionRootDirectory}/maven-version-rules.xml</rulesUri> |
| 569 | + <rulesUri>file:///${session.executionRootDirectory}/maven-version-rules.xml</rulesUri> |
616 | 570 | </configuration> |
617 | 571 | </plugin> |
618 | 572 | <plugin> |
|
0 commit comments