|
7 | 7 |
|
8 | 8 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
9 | 9 |
|
10 | | - <parent> |
| 10 | + <parent> |
11 | 11 | <groupId>net.openhft</groupId> |
12 | 12 | <artifactId>java-parent-pom</artifactId> |
13 | 13 | <version>2026.0</version> |
|
239 | 239 | <dependency> |
240 | 240 | <groupId>org.apache.maven.scm</groupId> |
241 | 241 | <artifactId>maven-scm-provider-gitexe</artifactId> |
242 | | - <version>1.11.2</version> <!-- this version should be sync with the scmVersion of maven-release-plugin --> |
| 242 | + <version>1.11.2</version> <!-- this version should be sync with the scmVersion of maven-release-plugin --> |
243 | 243 | </dependency> |
244 | 244 | </dependencies> |
245 | 245 | </plugin> |
|
258 | 258 | </configuration> |
259 | 259 | </plugin> |
260 | 260 |
|
261 | | - <plugin> |
| 261 | + <plugin> |
262 | 262 | <groupId>org.apache.felix</groupId> |
263 | 263 | <artifactId>maven-bundle-plugin</artifactId> |
264 | 264 | <extensions>true</extensions> |
|
309 | 309 | <properties> |
310 | 310 | <project.jdk.min-version>1.${project.target.release}</project.jdk.min-version> |
311 | 311 | <maven.bundle.plugin.version>3.5.1</maven.bundle.plugin.version> |
312 | | - <doclint/> |
| 312 | + <doclint /> |
313 | 313 | </properties> |
314 | 314 | </profile> |
315 | 315 | <profile> |
|
381 | 381 | </plugins> |
382 | 382 | </build> |
383 | 383 | </profile> |
| 384 | + <profile> |
| 385 | + <id>quality</id> |
| 386 | + <build> |
| 387 | + <plugins> |
| 388 | + <plugin> |
| 389 | + <groupId>org.apache.maven.plugins</groupId> |
| 390 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 391 | + <version>3.6.0</version> |
| 392 | + <executions> |
| 393 | + <execution> |
| 394 | + <id>validate</id> |
| 395 | + <phase>validate</phase> |
| 396 | + <goals> |
| 397 | + <goal>check</goal> |
| 398 | + </goals> |
| 399 | + </execution> |
| 400 | + </executions> |
| 401 | + <configuration> |
| 402 | + <configLocation>${checkstyle.config.location}</configLocation> |
| 403 | + <failOnViolation>true</failOnViolation> |
| 404 | + <logViolationsToConsole>true</logViolationsToConsole> |
| 405 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 406 | + <violationSeverity>${checkstyle.violationSeverity}</violationSeverity> |
| 407 | + </configuration> |
| 408 | + <dependencies> |
| 409 | + <dependency> |
| 410 | + <groupId>com.puppycrawl.tools</groupId> |
| 411 | + <artifactId>checkstyle</artifactId> |
| 412 | + <version>10.26.1</version> |
| 413 | + </dependency> |
| 414 | + <dependency> |
| 415 | + <groupId>net.openhft</groupId> |
| 416 | + <artifactId>chronicle-quality-rules</artifactId> |
| 417 | + <version>1.27.0-SNAPSHOT</version> |
| 418 | + </dependency> |
| 419 | + </dependencies> |
| 420 | + </plugin> |
| 421 | + <plugin> |
| 422 | + <groupId>com.github.spotbugs</groupId> |
| 423 | + <artifactId>spotbugs-maven-plugin</artifactId> |
| 424 | + <!-- SpotBugs 4.x line that requires Java 11+ --> |
| 425 | + <version>4.9.8.1</version> |
| 426 | + <configuration> |
| 427 | + <effort>Max</effort> |
| 428 | + <threshold>Low</threshold> |
| 429 | + <includeTests>true</includeTests> |
| 430 | + <failOnError>true</failOnError> |
| 431 | + <!-- Shared SpotBugs filters from chronicle-quality-rules --> |
| 432 | + <includeFilterFile>net/openhft/quality/spotbugs27/chronicle-spotbugs-include.xml</includeFilterFile> |
| 433 | + <excludeFilterFile>net/openhft/quality/spotbugs27/chronicle-spotbugs-exclude.xml</excludeFilterFile> |
| 434 | + </configuration> |
| 435 | + <dependencies> |
| 436 | + <dependency> |
| 437 | + <groupId>net.openhft</groupId> |
| 438 | + <artifactId>chronicle-quality-rules</artifactId> |
| 439 | + <version>1.27.0-SNAPSHOT</version> |
| 440 | + </dependency> |
| 441 | + </dependencies> |
| 442 | + <executions> |
| 443 | + <execution> |
| 444 | + <id>spotbugs-main</id> |
| 445 | + <!-- Run after compilation of main classes, before tests execute, and gate on findings --> |
| 446 | + <phase>process-test-classes</phase> |
| 447 | + <goals> |
| 448 | + <goal>check</goal> |
| 449 | + </goals> |
| 450 | + </execution> |
| 451 | + </executions> |
| 452 | + </plugin> |
| 453 | + </plugins> |
| 454 | + </build> |
| 455 | + </profile> |
384 | 456 | </profiles> |
385 | 457 | </project> |
0 commit comments