This is an automated email from the ASF dual-hosted git repository.
pcongiusti 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 2f35545fef14 feat(ci): declare annotation processors
2f35545fef14 is described below
commit 2f35545fef14b63ca9780b173cc752fabcd2ab88
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Oct 15 13:01:38 2025 +0200
feat(ci): declare annotation processors
This optimization decrease the time to build and clear the warning we have
during the build.
Any annotation processor required by the build has to be declared
explicitly from now on.
Closes CAMEL-22548
---
components/camel-knative/camel-knative-http/pom.xml | 5 +++++
parent/pom.xml | 11 +++++++++++
2 files changed, 16 insertions(+)
diff --git a/components/camel-knative/camel-knative-http/pom.xml
b/components/camel-knative/camel-knative-http/pom.xml
index e5c661cc1c20..68c3f3734a67 100644
--- a/components/camel-knative/camel-knative-http/pom.xml
+++ b/components/camel-knative/camel-knative-http/pom.xml
@@ -56,6 +56,11 @@
<artifactId>vertx-web</artifactId>
<version>${vertx-version}</version>
</dependency>
+ <dependency>
+ <groupId>io.vertx</groupId>
+ <artifactId>vertx-codegen</artifactId>
+ <version>${vertx-version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
diff --git a/parent/pom.xml b/parent/pom.xml
index 932876cc7ac0..d3bacd4067a3 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -3734,6 +3734,17 @@
<!-- SB2 actuator endpoint requires
MethodParameter metadata -->
<arg>-parameters</arg>
</compilerArgs>
+
+ <!-- Specify those annotation processors which are
used during the build -->
+ <!-- This optimization speeds up the build -->
+ <annotationProcessorPaths>
+ <path>
+ <groupId>org.infinispan.protostream</groupId>
+ <artifactId>protostream-processor</artifactId>
+
<version>${infinispan-protostream-version}</version>
+ </path>
+ </annotationProcessorPaths>
+
</configuration>
</plugin>
<plugin>