This is an automated email from the ASF dual-hosted git repository.
jbonofre 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 5b2374351a docs: explain enableGeneration configuration (#3029)
5b2374351a is described below
commit 5b2374351a668332d35ea974286085da4df08b4b
Author: Wu Shuwen <[email protected]>
AuthorDate: Sat Oct 31 12:53:00 2026 +0800
docs: explain enableGeneration configuration (#3029)
Co-authored-by: dajiaohuang <[email protected]>
---
manual/src/main/asciidoc/developer-guide/karaf-maven-plugin.adoc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/manual/src/main/asciidoc/developer-guide/karaf-maven-plugin.adoc
b/manual/src/main/asciidoc/developer-guide/karaf-maven-plugin.adoc
index 347a7bd0b9..4f1eac6c24 100644
--- a/manual/src/main/asciidoc/developer-guide/karaf-maven-plugin.adoc
+++ b/manual/src/main/asciidoc/developer-guide/karaf-maven-plugin.adoc
@@ -195,6 +195,10 @@ This can be overridden by specifying the bundle in the
source feature.xml with t
|markTransitiveAsDependency
|boolean (false)
|Whether to mark transitive dependencies' with `dependency="true"`.
+
+|enableGeneration
+|boolean (defaults to false for `feature` packaging and true otherwise)
+|Whether to generate the descriptor from Maven dependencies. If generation is
disabled and `src/main/feature/feature.xml` exists, the filtered input file is
used and attached instead. If no input file exists, generation proceeds.
|===
====== Example