|
29 | 29 | <otel.instrumentation.version>2.28.1-alpha</otel.instrumentation.version> |
30 | 30 | <java.version>8</java.version> |
31 | 31 | <test.java.version>25</test.java.version> |
| 32 | + <api.diff.baseline.version>1.5.1</api.diff.baseline.version> |
32 | 33 | <jacoco.line-coverage>0.70</jacoco.line-coverage> |
33 | 34 | <checkstyle.skip>false</checkstyle.skip> |
34 | 35 | <coverage.skip>false</coverage.skip> |
|
38 | 39 |
|
39 | 40 | <modules> |
40 | 41 | <module>prometheus-metrics-parent</module> |
| 42 | + <module>prometheus-metrics-annotations</module> |
41 | 43 | <module>prometheus-metrics-bom</module> |
42 | 44 | <module>prometheus-metrics-core</module> |
43 | 45 | <module>prometheus-metrics-config</module> |
|
171 | 173 | <artifactId>exec-maven-plugin</artifactId> |
172 | 174 | <version>3.6.3</version> |
173 | 175 | </plugin> |
| 176 | + <plugin> |
| 177 | + <groupId>com.github.siom79.japicmp</groupId> |
| 178 | + <artifactId>japicmp-maven-plugin</artifactId> |
| 179 | + <version>0.26.1</version> |
| 180 | + </plugin> |
174 | 181 | </plugins> |
175 | 182 | </pluginManagement> |
176 | 183 | <plugins> |
|
401 | 408 | </plugins> |
402 | 409 | </build> |
403 | 410 | </profile> |
| 411 | + <profile> |
| 412 | + <id>api-diff</id> |
| 413 | + <build> |
| 414 | + <plugins> |
| 415 | + <plugin> |
| 416 | + <groupId>com.github.siom79.japicmp</groupId> |
| 417 | + <artifactId>japicmp-maven-plugin</artifactId> |
| 418 | + <configuration> |
| 419 | + <oldVersion> |
| 420 | + <dependency> |
| 421 | + <groupId>${project.groupId}</groupId> |
| 422 | + <artifactId>${project.artifactId}</artifactId> |
| 423 | + <version>${api.diff.baseline.version}</version> |
| 424 | + <type>jar</type> |
| 425 | + </dependency> |
| 426 | + </oldVersion> |
| 427 | + <newVersion> |
| 428 | + <file> |
| 429 | + <path>${project.build.directory}/${project.build.finalName}.jar</path> |
| 430 | + </file> |
| 431 | + </newVersion> |
| 432 | + <parameter> |
| 433 | + <accessModifier>public</accessModifier> |
| 434 | + <onlyModified>true</onlyModified> |
| 435 | + <includes> |
| 436 | + <include>io.prometheus.metrics.annotations.StableApi</include> |
| 437 | + <include>@io.prometheus.metrics.annotations.StableApi</include> |
| 438 | + </includes> |
| 439 | + <excludes> |
| 440 | + <exclude>io.prometheus.metrics.expositionformats.generated</exclude> |
| 441 | + <exclude>io.prometheus.metrics.shaded</exclude> |
| 442 | + </excludes> |
| 443 | + <breakBuildOnModifications>false</breakBuildOnModifications> |
| 444 | + <breakBuildOnBinaryIncompatibleModifications> |
| 445 | + false |
| 446 | + </breakBuildOnBinaryIncompatibleModifications> |
| 447 | + <breakBuildOnSourceIncompatibleModifications> |
| 448 | + false |
| 449 | + </breakBuildOnSourceIncompatibleModifications> |
| 450 | + <breakBuildBasedOnSemanticVersioning>false</breakBuildBasedOnSemanticVersioning> |
| 451 | + <ignoreMissingClasses>true</ignoreMissingClasses> |
| 452 | + <ignoreMissingOldVersion>true</ignoreMissingOldVersion> |
| 453 | + <ignoreMissingOptionalDependency>true</ignoreMissingOptionalDependency> |
| 454 | + <skipPomModules>true</skipPomModules> |
| 455 | + <skipHtmlReport>true</skipHtmlReport> |
| 456 | + <reportOnlyFilename>true</reportOnlyFilename> |
| 457 | + <packagingSupporteds> |
| 458 | + <packagingSupported>bundle</packagingSupported> |
| 459 | + <packagingSupported>jar</packagingSupported> |
| 460 | + </packagingSupporteds> |
| 461 | + </parameter> |
| 462 | + </configuration> |
| 463 | + <executions> |
| 464 | + <execution> |
| 465 | + <id>api-diff</id> |
| 466 | + <phase>verify</phase> |
| 467 | + <goals> |
| 468 | + <goal>cmp</goal> |
| 469 | + </goals> |
| 470 | + </execution> |
| 471 | + </executions> |
| 472 | + </plugin> |
| 473 | + </plugins> |
| 474 | + </build> |
| 475 | + </profile> |
404 | 476 | <profile> |
405 | 477 | <id>errorprone</id> |
406 | 478 | <activation> |
|
0 commit comments