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 578e89a6fbe9 [build] Parameter 'resources' is read-only (#21986)
578e89a6fbe9 is described below
commit 578e89a6fbe929b125de3e6b0e45ed3d33db2b42
Author: JinyuChen97 <[email protected]>
AuthorDate: Fri Mar 13 12:47:50 2026 +0000
[build] Parameter 'resources' is read-only (#21986)
https://issues.apache.org/jira/browse/CAMEL-22556
---
components/camel-jmx/pom.xml | 3 ++-
components/camel-spring-parent/camel-spring-xml/pom.xml | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/components/camel-jmx/pom.xml b/components/camel-jmx/pom.xml
index 5e45354ff6b0..cda525e07362 100644
--- a/components/camel-jmx/pom.xml
+++ b/components/camel-jmx/pom.xml
@@ -89,10 +89,11 @@
<execution>
<id>copy-generated-resources-jaxb</id>
<goals>
- <goal>resources</goal>
+ <goal>copy-resources</goal>
</goals>
<phase>process-classes</phase>
<configuration>
+
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<directory>${basedir}/target/generated/camel/jaxb</directory>
diff --git a/components/camel-spring-parent/camel-spring-xml/pom.xml
b/components/camel-spring-parent/camel-spring-xml/pom.xml
index b0371c0d7d43..356ef0359bcc 100644
--- a/components/camel-spring-parent/camel-spring-xml/pom.xml
+++ b/components/camel-spring-parent/camel-spring-xml/pom.xml
@@ -275,10 +275,11 @@
<execution>
<id>copy-generated-resources-jaxb</id>
<goals>
- <goal>resources</goal>
+ <goal>copy-resources</goal>
</goals>
<phase>process-classes</phase>
<configuration>
+
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<directory>${basedir}/target/generated/camel/jaxb</directory>