This is an automated email from the ASF dual-hosted git repository.

tcunning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit cd6d418c78dc00ff9581557134eb6d90edf4af75
Author: Tom Cunningham <[email protected]>
AuthorDate: Fri Feb 20 13:11:40 2026 -0500

    Use apiSrc rather than sources JAR in camel-as2 / camel-box / camel-dhis2 / 
camel-olingo2 (failures in mvnd parallel builds)
---
 components/camel-as2/camel-as2-component/pom.xml         | 10 +---------
 components/camel-box/camel-box-component/pom.xml         | 10 ++--------
 components/camel-dhis2/camel-dhis2-component/pom.xml     |  9 +--------
 components/camel-olingo2/camel-olingo2-component/pom.xml | 10 +---------
 4 files changed, 5 insertions(+), 34 deletions(-)

diff --git a/components/camel-as2/camel-as2-component/pom.xml 
b/components/camel-as2/camel-as2-component/pom.xml
index 5af3a4a002f6..371ec3f60bb4 100644
--- a/components/camel-as2/camel-as2-component/pom.xml
+++ b/components/camel-as2/camel-as2-component/pom.xml
@@ -103,6 +103,7 @@
                             <goal>fromApis</goal>
                         </goals>
                         <configuration>
+                            
<apiSrcDir>../camel-as2-api/src/main/java</apiSrcDir>
                             <apis>
                                 <api>
                                     <apiName>client</apiName>
@@ -151,15 +152,6 @@
                         </configuration>
                     </execution>
                 </executions>
-                <dependencies>
-                    <!-- Component API to read API signatures -->
-                    <dependency>
-                        <groupId>org.apache.camel</groupId>
-                        <artifactId>camel-as2-api</artifactId>
-                        <version>${project.version}</version>
-                        <classifier>sources</classifier>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
diff --git a/components/camel-box/camel-box-component/pom.xml 
b/components/camel-box/camel-box-component/pom.xml
index 4f514662309f..5d190220a403 100644
--- a/components/camel-box/camel-box-component/pom.xml
+++ b/components/camel-box/camel-box-component/pom.xml
@@ -99,6 +99,7 @@
                             <goal>fromApis</goal>
                         </goals>
                         <configuration>
+                            
<apiSrcDir>../camel-box-api/src/main/java</apiSrcDir>
                             <apis>
                                 <api>
                                     <apiName>collaborations</apiName>
@@ -542,14 +543,7 @@
                     </execution>
                 </executions>
                 <dependencies>
-                    <!-- Component API javadoc in provided scope to read API 
signatures -->
-                    <dependency>
-                        <groupId>org.apache.camel</groupId>
-                        <artifactId>camel-box-api</artifactId>
-                        <version>${project.version}</version>
-                        <classifier>sources</classifier>
-                    </dependency>
-                    <!-- Component API javadoc in provided scope to read API 
signatures -->
+                    <!-- Box Java SDK sources for reading external API 
signatures -->
                     <dependency>
                         <groupId>com.box</groupId>
                         <artifactId>box-java-sdk</artifactId>
diff --git a/components/camel-dhis2/camel-dhis2-component/pom.xml 
b/components/camel-dhis2/camel-dhis2-component/pom.xml
index fe1cf5934c83..f5c03c4f43e5 100644
--- a/components/camel-dhis2/camel-dhis2-component/pom.xml
+++ b/components/camel-dhis2/camel-dhis2-component/pom.xml
@@ -83,6 +83,7 @@
                             <goal>fromApis</goal>
                         </goals>
                         <configuration>
+                            
<apiSrcDir>../camel-dhis2-api/src/main/java</apiSrcDir>
                             <apis>
                                 <api>
                                     <apiName>post</apiName>
@@ -139,14 +140,6 @@
                         </configuration>
                     </execution>
                 </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.camel</groupId>
-                        <artifactId>camel-dhis2-api</artifactId>
-                        <version>${project.version}</version>
-                        <classifier>sources</classifier>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
 
diff --git a/components/camel-olingo2/camel-olingo2-component/pom.xml 
b/components/camel-olingo2/camel-olingo2-component/pom.xml
index 070da6ad64d6..2f324c2e452a 100644
--- a/components/camel-olingo2/camel-olingo2-component/pom.xml
+++ b/components/camel-olingo2/camel-olingo2-component/pom.xml
@@ -151,6 +151,7 @@
                             <goal>fromApis</goal>
                         </goals>
                         <configuration>
+                            
<apiSrcDir>../camel-olingo2-api/src/main/java</apiSrcDir>
                             <apis>
                                 <api>
                                     <apiName />
@@ -176,15 +177,6 @@
                         </configuration>
                     </execution>
                 </executions>
-                <dependencies>
-                    <!-- Component API to read API -->
-                    <dependency>
-                        <groupId>org.apache.camel</groupId>
-                        <artifactId>camel-olingo2-api</artifactId>
-                        <version>${project.version}</version>
-                        <classifier>sources</classifier>
-                    </dependency>
-                </dependencies>
             </plugin>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>

Reply via email to