|
222 | 222 | <version>2.10.1</version> <!-- {x-version-update;com.azure:azure-security-keyvault-jca;dependency} --> |
223 | 223 | <scope>test</scope> |
224 | 224 | </dependency> |
| 225 | + <!-- Dependency not available in Maven Central - would need to be built locally |
225 | 226 | <dependency> |
226 | 227 | <groupId>com.azure.v2</groupId> |
227 | 228 | <artifactId>azure-core</artifactId> |
228 | | - <version>2.0.0-beta.1</version> <!-- {x-version-update;com.azure.v2:azure-core;dependency} --> |
| 229 | + <version>2.0.0-beta.1</version> |
229 | 230 | <scope>test</scope> |
230 | 231 | </dependency> |
| 232 | + --> |
231 | 233 | </dependencies> |
232 | 234 | </profile> |
233 | 235 |
|
|
312 | 314 | <version>1.0.0-beta.10</version> <!-- {x-version-update;io.clientcore:core;dependency} --> |
313 | 315 | <scope>provided</scope> |
314 | 316 | </dependency> |
| 317 | + <!-- Dependency not available in Maven Central - would need to be built locally |
315 | 318 | <dependency> |
316 | 319 | <groupId>com.azure.v2</groupId> |
317 | 320 | <artifactId>azure-core</artifactId> |
318 | | - <version>2.0.0-beta.1</version> <!-- {x-version-update;com.azure.v2:azure-core;dependency} --> |
| 321 | + <version>2.0.0-beta.1</version> |
319 | 322 | <scope>provided</scope> |
320 | 323 | </dependency> |
| 324 | + --> |
321 | 325 | </dependencies> |
322 | 326 | </profile> |
323 | 327 | </profiles> |
|
379 | 383 | </executions> |
380 | 384 | </plugin> |
381 | 385 |
|
382 | | - |
383 | | - |
| 386 | + <!-- This plugin scans checkstyle issues in the code --> |
| 387 | + <plugin> |
| 388 | + <groupId>org.apache.maven.plugins</groupId> |
| 389 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 390 | + <version>3.6.0</version> <!-- {x-version-update;org.apache.maven.plugins:maven-checkstyle-plugin;external_dependency} --> |
| 391 | + <dependencies> |
| 392 | + <dependency> |
| 393 | + <groupId>com.azure</groupId> |
| 394 | + <artifactId>sdk-build-tools</artifactId> |
| 395 | + <version>1.0.0</version> <!-- {x-version-update;com.azure:sdk-build-tools;external_dependency} --> |
| 396 | + </dependency> |
| 397 | + <dependency> |
| 398 | + <groupId>com.puppycrawl.tools</groupId> |
| 399 | + <artifactId>checkstyle</artifactId> |
| 400 | + <version>9.3</version> <!-- {x-version-update;com.puppycrawl.tools:checkstyle;external_dependency} --> |
| 401 | + </dependency> |
| 402 | + </dependencies> |
| 403 | + <configuration> |
| 404 | + <configLocation>${project.basedir}/../../../eng/code-quality-reports/src/main/resources/checkstyle/checkstyle.xml</configLocation> |
| 405 | + <suppressionsLocation>${project.basedir}/../../../eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation> |
| 406 | + <headerLocation>${project.basedir}/../../../eng/code-quality-reports/src/main/resources/checkstyle/java.header</headerLocation> |
| 407 | + <propertyExpansion>samedir=</propertyExpansion> |
| 408 | + <consoleOutput>true</consoleOutput> |
| 409 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 410 | + <linkXRef>true</linkXRef> |
| 411 | + <failsOnError>true</failsOnError> |
| 412 | + <failOnViolation>true</failOnViolation> |
| 413 | + </configuration> |
| 414 | + </plugin> |
| 415 | + <!-- This plugin scans reports spotbugs in the code --> |
| 416 | + <plugin> |
| 417 | + <groupId>com.github.spotbugs</groupId> |
| 418 | + <artifactId>spotbugs-maven-plugin</artifactId> |
| 419 | + <version>4.8.3.1</version> <!-- {x-version-update;com.github.spotbugs:spotbugs-maven-plugin;external_dependency} --> |
| 420 | + <dependencies> |
| 421 | + <dependency> |
| 422 | + <groupId>com.azure</groupId> |
| 423 | + <artifactId>sdk-build-tools</artifactId> |
| 424 | + <version>1.0.0</version> <!-- {x-version-update;com.azure:sdk-build-tools;external_dependency} --> |
| 425 | + </dependency> |
| 426 | + <dependency> |
| 427 | + <groupId>com.github.spotbugs</groupId> |
| 428 | + <artifactId>spotbugs</artifactId> |
| 429 | + <version>4.8.3</version> <!-- {x-version-update;com.github.spotbugs:spotbugs;external_dependency} --> |
| 430 | + </dependency> |
| 431 | + <!-- Needed as the version of Spotbugs being used isn't compatible is Java 18+ without this. --> |
| 432 | + <dependency> |
| 433 | + <groupId>org.ow2.asm</groupId> |
| 434 | + <artifactId>asm</artifactId> |
| 435 | + <version>9.8</version> <!-- {x-version-update;org.ow2.asm:asm;external_dependency} --> |
| 436 | + </dependency> |
| 437 | + </dependencies> |
| 438 | + <configuration> |
| 439 | + <effort>max</effort> |
| 440 | + <threshold>Low</threshold> |
| 441 | + <xmlOutput>true</xmlOutput> |
| 442 | + <spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory> |
| 443 | + <excludeFilterFile>${project.basedir}/../../../eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml</excludeFilterFile> |
| 444 | + <fork>true</fork> |
| 445 | + </configuration> |
| 446 | + </plugin> |
384 | 447 |
|
385 | 448 | <plugin> |
386 | 449 | <groupId>com.azure.tools</groupId> |
|
0 commit comments