This is an automated email from the ASF dual-hosted git repository.

holgerfriedrich pushed a commit to branch karaf-4.4.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.4.x by this push:
     new e47603acde Prepare for Maven 4 (#2322) (#2588)
e47603acde is described below

commit e47603acdea2384f28033a1d45fd08f62f2a3974
Author: Holger Friedrich <[email protected]>
AuthorDate: Sat Apr 25 15:07:52 2026 +0200

    Prepare for Maven 4 (#2322) (#2588)
---
 .mvn/README                                                   | 1 +
 archetypes/kar/src/main/resources/archetype-resources/pom.xml | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/.mvn/README b/.mvn/README
new file mode 100644
index 0000000000..bd829fe132
--- /dev/null
+++ b/.mvn/README
@@ -0,0 +1 @@
+required by Maven 4 to detect root dir; adding root=true to pom is not 
compatible with Maven 3
diff --git a/archetypes/kar/src/main/resources/archetype-resources/pom.xml 
b/archetypes/kar/src/main/resources/archetype-resources/pom.xml
index c6245eb87b..a6ade4f80c 100644
--- a/archetypes/kar/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/kar/src/main/resources/archetype-resources/pom.xml
@@ -67,6 +67,11 @@
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>3.13.0</version>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-resources-plugin</artifactId>
+                <version>3.3.1</version>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>

Reply via email to