|
41 | 41 |
|
42 | 42 | <properties>
|
43 | 43 | <!-- Allowed values for excluded Groups here - - - - - - - - - - - - -
|
| 44 | + xJDBC42 - - - - - - For tests not compatible with JDBC 42 Specifications |
| 45 | + xGradle - - - - - - For tests not compatible with Gradle Script - - - - - |
44 | 46 | xSQLv12 - - - - - - For tests not compatible with SQL Server 2008 R2 - 2014
|
45 |
| - xSQLv14 - - - - - - For tests not compatible with SQL Server 2008 R2 - 2017 |
46 |
| - xSQLv15 - - - - - - For tests not compatible with SQL Server 2008 R2 - 2019 |
| 47 | + xSQLv14 - - - - - - For tests not compatible with SQL Server 2016 - 2017 |
| 48 | + xSQLv15 - - - - - - For tests not compatible with SQL Server 2019 - - - - |
47 | 49 | xAzureSQLDB - - - - For tests not compatible with Azure SQL Database - -
|
48 | 50 | xAzureSQLDW - - - - For tests not compatible with Azure Data Warehouse -
|
49 | 51 | xAzureSQLMI - - - - For tests not compatible with Azure SQL Managed Instance
|
50 | 52 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
51 | 53 | Default testing enabled with SQL Server 2019 (SQLv14) -->
|
52 |
| - <excludeGroups>xSQLv15</excludeGroups> |
| 54 | + <excludedGroups>xSQLv15</excludedGroups> |
53 | 55 |
|
54 | 56 | <!-- Driver Dependencies -->
|
55 | 57 | <azure.keyvault.version>1.2.1</azure.keyvault.version>
|
|
181 | 183 |
|
182 | 184 | <profiles>
|
183 | 185 | <profile>
|
184 |
| - <id>build42</id> |
| 186 | + <id>jre8</id> |
185 | 187 | <build>
|
186 | 188 | <finalName>${project.artifactId}-${project.version}.jre8-preview</finalName>
|
187 | 189 | <plugins>
|
|
214 | 216 | </archive>
|
215 | 217 | </configuration>
|
216 | 218 | </plugin>
|
217 |
| - <plugin> |
218 |
| - <groupId>org.jacoco</groupId> |
219 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
220 |
| - <version>0.8.3</version> |
221 |
| - <executions> |
222 |
| - <execution> |
223 |
| - <id>pre-test</id> |
224 |
| - <goals> |
225 |
| - <goal>prepare-agent</goal> |
226 |
| - </goals> |
227 |
| - </execution> |
228 |
| - <execution> |
229 |
| - <id>report</id> |
230 |
| - <phase>test</phase> |
231 |
| - <goals> |
232 |
| - <goal>report</goal> |
233 |
| - </goals> |
234 |
| - </execution> |
235 |
| - </executions> |
236 |
| - </plugin> |
237 | 219 | <plugin>
|
238 | 220 | <groupId>org.apache.maven.plugins</groupId>
|
239 | 221 | <artifactId>maven-surefire-plugin</artifactId>
|
240 | 222 | <version>3.0.0-M1</version>
|
241 | 223 | <configuration>
|
242 |
| - <argLine> |
243 |
| - ${argLine} --illegal-access=permit |
244 |
| - </argLine> |
245 |
| - <properties> |
246 |
| - <excludeTags>${skipTestTag}</excludeTags> |
247 |
| - </properties> |
248 | 224 | <!-- Exclude [xJDBC42] For tests not compatible with JDBC 4.2 Specifications -->
|
249 |
| - <excludedGroups>${excludeGroups}, xJDBC42</excludedGroups> |
| 225 | + <excludedGroups>${excludedGroups}, xJDBC42</excludedGroups> |
250 | 226 | </configuration>
|
251 | 227 | </plugin>
|
252 | 228 | </plugins>
|
253 | 229 | </build>
|
254 | 230 | </profile>
|
255 | 231 | <profile>
|
256 |
| - <id>build43</id> |
257 |
| - <activation> |
258 |
| - <activeByDefault>true</activeByDefault> |
259 |
| - </activation> |
| 232 | + <id>jre11</id> |
260 | 233 | <build>
|
261 | 234 | <finalName>${project.artifactId}-${project.version}.jre11-preview</finalName>
|
262 | 235 | <plugins>
|
|
285 | 258 | </archive>
|
286 | 259 | </configuration>
|
287 | 260 | </plugin>
|
| 261 | + </plugins> |
| 262 | + </build> |
| 263 | + </profile> |
| 264 | + <profile> |
| 265 | + <id>jre12</id> |
| 266 | + <activation> |
| 267 | + <activeByDefault>true</activeByDefault> |
| 268 | + </activation> |
| 269 | + <build> |
| 270 | + <finalName>${project.artifactId}-${project.version}.jre12-preview</finalName> |
| 271 | + <plugins> |
288 | 272 | <plugin>
|
289 |
| - <groupId>org.jacoco</groupId> |
290 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
291 |
| - <version>0.8.3</version> |
292 |
| - <executions> |
293 |
| - <execution> |
294 |
| - <id>pre-test</id> |
295 |
| - <goals> |
296 |
| - <goal>prepare-agent</goal> |
297 |
| - </goals> |
298 |
| - </execution> |
299 |
| - <execution> |
300 |
| - <id>report</id> |
301 |
| - <phase>test</phase> |
302 |
| - <goals> |
303 |
| - <goal>report</goal> |
304 |
| - </goals> |
305 |
| - </execution> |
306 |
| - </executions> |
| 273 | + <groupId>org.apache.maven.plugins</groupId> |
| 274 | + <artifactId>maven-compiler-plugin</artifactId> |
| 275 | + <version>3.8.0</version> |
| 276 | + <configuration> |
| 277 | + <excludes> |
| 278 | + <exclude>**/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude> |
| 279 | + </excludes> |
| 280 | + <source>12</source> |
| 281 | + <target>12</target> |
| 282 | + </configuration> |
307 | 283 | </plugin>
|
308 | 284 | <plugin>
|
309 | 285 | <groupId>org.apache.maven.plugins</groupId>
|
310 |
| - <artifactId>maven-surefire-plugin</artifactId> |
311 |
| - <version>3.0.0-M1</version> |
| 286 | + <artifactId>maven-jar-plugin</artifactId> |
| 287 | + <version>3.1.1</version> |
312 | 288 | <configuration>
|
313 |
| - <argLine> |
314 |
| - ${argLine} --illegal-access=permit |
315 |
| - </argLine> |
316 |
| - <properties> |
317 |
| - <excludeTags>${skipTestTag}</excludeTags> |
318 |
| - </properties> |
319 |
| - <excludedGroups> |
320 |
| - ${excludeGroups}</excludedGroups> |
| 289 | + <archive> |
| 290 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 291 | + <manifestEntries> |
| 292 | + <Automatic-Module-Name>com.microsoft.sqlserver.jdbc</Automatic-Module-Name> |
| 293 | + </manifestEntries> |
| 294 | + </archive> |
321 | 295 | </configuration>
|
322 | 296 | </plugin>
|
323 | 297 | </plugins>
|
|
381 | 355 | </execution>
|
382 | 356 | </executions>
|
383 | 357 | </plugin>
|
| 358 | + <plugin> |
| 359 | + <groupId>org.apache.maven.plugins</groupId> |
| 360 | + <artifactId>maven-surefire-plugin</artifactId> |
| 361 | + <version>3.0.0-M1</version> |
| 362 | + <configuration> |
| 363 | + <argLine> |
| 364 | + ${argLine} --illegal-access=permit |
| 365 | + </argLine> |
| 366 | + <excludedGroups> |
| 367 | + ${excludedGroups}</excludedGroups> |
| 368 | + </configuration> |
| 369 | + </plugin> |
384 | 370 | <plugin>
|
385 | 371 | <groupId>org.apache.maven.plugins</groupId>
|
386 | 372 | <artifactId>maven-source-plugin</artifactId>
|
|
453 | 439 | <groupId>org.jacoco</groupId>
|
454 | 440 | <artifactId>jacoco-maven-plugin</artifactId>
|
455 | 441 | <version>0.8.3</version>
|
| 442 | + <executions> |
| 443 | + <execution> |
| 444 | + <id>pre-test</id> |
| 445 | + <goals> |
| 446 | + <goal>prepare-agent</goal> |
| 447 | + </goals> |
| 448 | + </execution> |
| 449 | + <execution> |
| 450 | + <id>report</id> |
| 451 | + <phase>test</phase> |
| 452 | + <goals> |
| 453 | + <goal>report</goal> |
| 454 | + </goals> |
| 455 | + </execution> |
| 456 | + </executions> |
456 | 457 | <configuration>
|
457 | 458 | <fileSets>
|
458 | 459 | <fileSet>
|
|
0 commit comments