Skip to content

Prepare for Maven 4#2322

Open
holgerfriedrich wants to merge 1 commit intoapache:mainfrom
holgerfriedrich:pr-maven-4
Open

Prepare for Maven 4#2322
holgerfriedrich wants to merge 1 commit intoapache:mainfrom
holgerfriedrich:pr-maven-4

Conversation

@holgerfriedrich
Copy link
Copy Markdown
Contributor

This basically allows building Karaf with maven4-rc5.

First addition is the directory .mvn to mark the top directory of the workspace. Not strictly necessary, but it suppresses the warning about missing top level directory marker during build with Maven 4.
The approach to add .mvn dir is the option that does not impact our standard builds with Maven 3.

The second addition is a missing version specification in a pom file. Without it, Maven4 just picks the wrong version of the maven-resources-plugin, which is built against an old API and is causing the build to fail.

We still get warnings about BOM import. This is a bigger change an currently does not break the build. It is not in scope of this PR.

@jbonofre jbonofre self-requested a review March 14, 2026 07:27
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

Test Results

233 files  ±0  233 suites  ±0   22m 11s ⏱️ +17s
917 tests ±0  869 ✅ +1  48 💤 ±0  0 ❌ ±0 
921 runs  ±0  873 ✅ +1  48 💤 ±0  0 ❌ ±0 

Results for commit 21787dc. ± Comparison against base commit f6e980e.

This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both.
org.apache.karaf.itests.JndiTest ‑ Unknown test
org.apache.karaf.itests.JndiTest ‑ testCommand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants