This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch chore-maven-plugins-required-maven-3.9.12 in repository https://gitbox.apache.org/repos/asf/camel.git
commit a2dbbef172f55e97e13a71e58cd4157e1506b0cf Author: Claus Ibsen <[email protected]> AuthorDate: Thu Nov 19 19:10:17 2026 +0100 chore: the Camel Maven plugins require Maven 3.9.12, whatever maven-version is No Camel Maven plugin set requiredMavenVersion, so maven-plugin-plugin took the version of maven-plugin-api, which is maven-version. Each bump of maven-version raised the Maven that users need to run camel-maven-plugin, camel-report-maven-plugin and the other plugins: 3.9.12 for the 4.18 plugins, 3.9.16 for the 4.22 plugins, and 3.10.0 with the pending bump in #27192 (Bump maven-version from 3.9.16 to 3.10.0). Set requiredMavenVersion to 3.9.12 (released 2025-12) for all the plugins, and raise the Maven that the build enforces from 3.9.6 to the same 3.9.12. The getting-started guide now says 3.9.12 as well. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- docs/main/modules/getting-started/pages/index.adoc | 2 +- parent/pom.xml | 7 +++++++ pom.xml | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/main/modules/getting-started/pages/index.adoc b/docs/main/modules/getting-started/pages/index.adoc index 90247ca28f5a..ee6ffd8ded5c 100644 --- a/docs/main/modules/getting-started/pages/index.adoc +++ b/docs/main/modules/getting-started/pages/index.adoc @@ -48,7 +48,7 @@ The Javadoc API that are the most relevant for Camel end users are in the follow [[BookGettingStarted-CreatingYourFirstProject]] == Creating your first project -We'll start this guide by creating a simple integration. You need to have https://maven.apache.org/[Apache Maven] 3.9.6 or greater and a https://adoptium.net/temurin/[JDK] version 17 or greater installed on your system. +We'll start this guide by creating a simple integration. You need to have https://maven.apache.org/[Apache Maven] 3.9.12 or greater and a https://adoptium.net/temurin/[JDK] version 17 or greater installed on your system. [NOTE] ==== diff --git a/parent/pom.xml b/parent/pom.xml index 7941abfacce7..e396d05f016d 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4067,6 +4067,13 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>${maven-plugin-plugin-version}</version> + <configuration> + <!-- the Maven version users need for the Camel Maven plugins: without it, maven-plugin-plugin + takes the version of maven-plugin-api (maven-version), so upgrading maven-version would + force every user of the plugins onto that Maven. Keep it in line with the requireMavenVersion + rule of the enforcer in the root pom.xml --> + <requiredMavenVersion>3.9.12</requiredMavenVersion> + </configuration> <executions> <execution> <id>default-addPluginArtifactMetadata</id> diff --git a/pom.xml b/pom.xml index eaad3e68cf4e..6bb773bd9ae2 100644 --- a/pom.xml +++ b/pom.xml @@ -180,8 +180,8 @@ <configuration> <rules> <requireMavenVersion> - <!-- required maven >= 3.9.6 --> - <version>[3.9.6,)</version> + <!-- required maven >= 3.9.12, the same as the requiredMavenVersion of the Camel Maven plugins (parent/pom.xml) --> + <version>[3.9.12,)</version> </requireMavenVersion> <externalRules> <location>${maven.multiModuleProjectDirectory}/tooling/enforcer-rules/src/main/resources/camel-banned-dependencies.xml</location>
