This is an automated email from the ASF dual-hosted git repository.
holgerf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/main by this push:
new 4429324df1 Prepare for Maven 4 (#2322)
4429324df1 is described below
commit 4429324df166ace8b237d728e8a35bb7403760d3
Author: Holger Friedrich <[email protected]>
AuthorDate: Mon Apr 13 17:51:08 2026 +0200
Prepare for Maven 4 (#2322)
---
.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>