This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 72180cf4da6 Camel-Jbang-generate plugin: Move to 4.8.0 (#15620)
72180cf4da6 is described below
commit 72180cf4da6cb214dcd05b50fcf342227083e946
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Sep 19 10:04:13 2024 +0200
Camel-Jbang-generate plugin: Move to 4.8.0 (#15620)
Signed-off-by: Andrea Cosentino <[email protected]>
---
docs/user-manual/modules/ROOT/pages/camel-report-maven-plugin.adoc | 4 +---
dsl/camel-jbang/camel-jbang-plugin-generate/pom.xml | 2 +-
.../apache/camel/dsl/jbang/core/commands/generate/GeneratePlugin.java | 2 +-
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-report-maven-plugin.adoc
b/docs/user-manual/modules/ROOT/pages/camel-report-maven-plugin.adoc
index 86b02221433..f60afeb4d7f 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-report-maven-plugin.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-report-maven-plugin.adoc
@@ -133,7 +133,6 @@ The maven plugin *validate* goal supports the following
options which can be con
|===
| Parameter | Default Value | Description
-| skip | false | Whether to skip the plugin execution.
| downloadVersion | true | Whether to allow downloading Camel catalog version
from the internet. This is needed if the project uses a different Camel version
than this plugin is using by default.
| failOnError | false | Whether to fail if invalid Camel endpoints was found.
By default the plugin logs the errors at WARN level.
| coverageThreshold | 100 | The minimum route coverage in percent when using
failOnError.
@@ -285,7 +284,7 @@ public boolean isDumpRouteCoverage() {
}
----
-Routes that can be route coveraged must have an unique id assigned, in other
words you cannot use anonymous routes.
+IMPORTANT: Routes that can be route coveraged **MUST** have a unique id
assigned, in other words you cannot use anonymous routes.
You do this using `routeId` in Java DSL:
@@ -352,7 +351,6 @@ The maven plugin *coverage* goal supports the following
options which can be con
|===
| Parameter | Default Value | Description
-| skip | false | Whether to skip the plugin execution.
| failOnError | false | Whether to fail if any of the routes has not 100%
coverage.
| includeTest | false | Whether to include test source code.
| includes | | To filter the names of java and xml files to only include files
matching any of the given list of
diff --git a/dsl/camel-jbang/camel-jbang-plugin-generate/pom.xml
b/dsl/camel-jbang/camel-jbang-plugin-generate/pom.xml
index c5fe1193392..0f2929fd70e 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-generate/pom.xml
+++ b/dsl/camel-jbang/camel-jbang-plugin-generate/pom.xml
@@ -34,7 +34,7 @@
<description>Camel JBang Generate Plugin</description>
<properties>
- <firstVersion>4.7.0</firstVersion>
+ <firstVersion>4.8.0</firstVersion>
<label>jbang</label>
<supportLevel>Preview</supportLevel>
<camel-prepare-component>false</camel-prepare-component>
diff --git
a/dsl/camel-jbang/camel-jbang-plugin-generate/src/main/java/org/apache/camel/dsl/jbang/core/commands/generate/GeneratePlugin.java
b/dsl/camel-jbang/camel-jbang-plugin-generate/src/main/java/org/apache/camel/dsl/jbang/core/commands/generate/GeneratePlugin.java
index 1f8cf2feeda..99c0eac86bf 100644
---
a/dsl/camel-jbang/camel-jbang-plugin-generate/src/main/java/org/apache/camel/dsl/jbang/core/commands/generate/GeneratePlugin.java
+++
b/dsl/camel-jbang/camel-jbang-plugin-generate/src/main/java/org/apache/camel/dsl/jbang/core/commands/generate/GeneratePlugin.java
@@ -21,7 +21,7 @@ import
org.apache.camel.dsl.jbang.core.common.CamelJBangPlugin;
import org.apache.camel.dsl.jbang.core.common.Plugin;
import picocli.CommandLine;
-@CamelJBangPlugin(name = "camel-jbang-plugin-generate", firstVersion = "4.7.0")
+@CamelJBangPlugin(name = "camel-jbang-plugin-generate", firstVersion = "4.8.0")
public class GeneratePlugin implements Plugin {
@Override