Skip to content

Commit 1d88758

Browse files
authored
Merge pull request quarkusio#48249 from marko-bekhta/fix/manage-forbiddenapi-plugin-version
Move version management of forbiddenapis plugin to the root pom
2 parents 11ec09a + 421a00f commit 1d88758

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

build-parent/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,6 @@
136136
<!-- The message that is appended to the end of the plugin error output when the API problems fail the build -->
137137
<revapi.buildFailureMessage>Run "jbang revapi-update" to update api-changes.xml file and also add the justification for those changes in that file.</revapi.buildFailureMessage>
138138

139-
<!-- Forbidden API checks -->
140-
<forbiddenapis-maven-plugin.version>3.4</forbiddenapis-maven-plugin.version>
141-
142139
<!-- platform properties - this is a floating tag -->
143140
<platform.quarkus.native.builder-image>mandrel</platform.quarkus.native.builder-image>
144141

@@ -622,7 +619,6 @@
622619
<plugin>
623620
<groupId>de.thetaphi</groupId>
624621
<artifactId>forbiddenapis</artifactId>
625-
<version>${forbiddenapis-maven-plugin.version}</version>
626622
<executions>
627623
<execution>
628624
<id>verify-forbidden-apis</id>

independent-projects/parent/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
<version.failsafe.plugin>${version.surefire.plugin}</version.failsafe.plugin>
4444
<version.versions.plugin>2.18.0</version.versions.plugin>
4545
<version.yaml-properties.plugin>1.1.3</version.yaml-properties.plugin>
46+
<!-- Forbidden API checks -->
47+
<version.forbiddenapis-maven-plugin>3.4</version.forbiddenapis-maven-plugin>
4648

4749
<!-- Code format -->
4850
<format.skip>false</format.skip>
@@ -433,6 +435,11 @@
433435
<artifactId>versions-maven-plugin</artifactId>
434436
<version>${version.versions.plugin}</version>
435437
</plugin>
438+
<plugin>
439+
<groupId>de.thetaphi</groupId>
440+
<artifactId>forbiddenapis</artifactId>
441+
<version>${version.forbiddenapis-maven-plugin}</version>
442+
</plugin>
436443
</plugins>
437444
</pluginManagement>
438445
</build>

independent-projects/resteasy-reactive/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@
7171
<mockito.version>5.18.0</mockito.version>
7272
<wiremock.version>3.13.0</wiremock.version>
7373
<mutiny-zero.version>1.1.1</mutiny-zero.version>
74-
75-
<!-- Forbidden API checks -->
76-
<forbiddenapis-maven-plugin.version>3.4</forbiddenapis-maven-plugin.version>
7774
</properties>
7875

7976
<modules>
@@ -502,7 +499,6 @@
502499
<plugin>
503500
<groupId>de.thetaphi</groupId>
504501
<artifactId>forbiddenapis</artifactId>
505-
<version>${forbiddenapis-maven-plugin.version}</version>
506502
<executions>
507503
<execution>
508504
<id>verify-forbidden-apis</id>

0 commit comments

Comments
 (0)