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

jamesnetherton pushed a commit to branch 3.27.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 82ba8f01e6f19b711fcfb7fdca3b1db497eaf316
Author: Peter Palaga <[email protected]>
AuthorDate: Thu Oct 2 08:06:13 2025 +0200

    Fail the build if there are overlaps between our BOM and Quarkus BOM
---
 poms/bom/pom.xml | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml
index 611f112745..9fe2a23940 100644
--- a/poms/bom/pom.xml
+++ b/poms/bom/pom.xml
@@ -8153,4 +8153,38 @@
             </releases>
         </repository>
     </repositories>
+    <profiles>
+        <profile>
+            <id>full</id>
+            <activation>
+                <property>
+                    <name>!quickly</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.l2x6.cq</groupId>
+                        <artifactId>cq-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <!-- Fails the build if there are overlaps 
between our BOM and Quarkus BOM -->
+                                <id>bom-overlaps</id>
+                                <goals>
+                                    <goal>bom-overlaps</goal>
+                                </goals>
+                                <phase>test</phase><!-- after 
process-resources where we flatten the BOM -->
+                                <configuration>
+                                    
<baseBomPath>${project.basedir}/src/main/generated/flattened-reduced-pom.xml</baseBomPath>
+                                    <ignoredOverlaps>
+                                        
<ignoredOverlap>org.glassfish.jaxb:jaxb-runtime</ignoredOverlap><!-- Comes from 
quarkus-cxf-bom -->
+                                    </ignoredOverlaps>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>

Reply via email to