|
561 | 561 | <plugin> |
562 | 562 | <groupId>org.revapi</groupId> |
563 | 563 | <artifactId>revapi-maven-plugin</artifactId> |
564 | | - <version>0.10.5</version> |
| 564 | + <version>0.15.1</version> |
565 | 565 | <configuration> |
566 | 566 | <outputNonIdentifyingDifferenceInfo>false</outputNonIdentifyingDifferenceInfo> |
567 | 567 | <versionFormat>\d+\.\d+\.\d+</versionFormat> |
568 | | - <analysisConfiguration> |
569 | | - <revapi.ignore> |
570 | | - <item> |
571 | | - <!-- We don't consider this a problem --> |
572 | | - <code>java.class.externalClassExposedInAPI</code> |
573 | | - </item> |
574 | | - </revapi.ignore> |
575 | | - </analysisConfiguration> |
576 | 568 | <oldArtifacts> |
577 | 569 | <!-- The previous release used DataStax groupId, remove this after the next release --> |
578 | 570 | <artifact>${project.groupId}:${project.artifactId}:RELEASE</artifact> |
579 | 571 | </oldArtifacts> |
| 572 | + <analysisConfigurationFiles> |
| 573 | + <file>revapi.json</file> |
| 574 | + </analysisConfigurationFiles> |
580 | 575 | </configuration> |
581 | 576 | <dependencies> |
582 | 577 | <dependency> |
583 | 578 | <groupId>org.revapi</groupId> |
584 | 579 | <artifactId>revapi-java</artifactId> |
585 | | - <version>0.22.1</version> |
| 580 | + <version>0.28.4</version> |
586 | 581 | </dependency> |
587 | 582 | </dependencies> |
588 | 583 | </plugin> |
|
596 | 591 | <artifactId>flatten-maven-plugin</artifactId> |
597 | 592 | <version>1.2.1</version> |
598 | 593 | </plugin> |
| 594 | + <plugin> |
| 595 | + <groupId>org.apache.maven.plugins</groupId> |
| 596 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 597 | + <version>3.5.0</version> |
| 598 | + </plugin> |
599 | 599 | </plugins> |
600 | 600 | </pluginManagement> |
601 | 601 | <plugins> |
| 602 | + <plugin> |
| 603 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 604 | + <executions> |
| 605 | + <execution> |
| 606 | + <id>enforce-maven</id> |
| 607 | + <goals> |
| 608 | + <goal>enforce</goal> |
| 609 | + </goals> |
| 610 | + <configuration> |
| 611 | + <rules> |
| 612 | + <requireMavenVersion> |
| 613 | + <!-- revapi 0.15.1 requires Maven version 3.8.1 --> |
| 614 | + <version>[3.8.1,)</version> |
| 615 | + </requireMavenVersion> |
| 616 | + </rules> |
| 617 | + </configuration> |
| 618 | + </execution> |
| 619 | + </executions> |
| 620 | + </plugin> |
602 | 621 | <plugin> |
603 | 622 | <artifactId>maven-compiler-plugin</artifactId> |
604 | 623 | <configuration> |
@@ -901,12 +920,6 @@ limitations under the License.]]></inlineHeader> |
901 | 920 | <goals> |
902 | 921 | <goal>check</goal> |
903 | 922 | </goals> |
904 | | - <configuration> |
905 | | - <analysisConfigurationFiles> |
906 | | - <!-- Present at the root of each module that doesn't skip this goal --> |
907 | | - <analysisConfigurationFile>revapi.json</analysisConfigurationFile> |
908 | | - </analysisConfigurationFiles> |
909 | | - </configuration> |
910 | 923 | </execution> |
911 | 924 | </executions> |
912 | 925 | </plugin> |
|
0 commit comments