You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2025/10/02 06:06:19 UTC
(camel-quarkus) branch main updated: Fail the build if there are overlaps between our BOM and Quarkus BOM
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new dc7cd7e4ca Fail the build if there are overlaps between our BOM and Quarkus BOM
dc7cd7e4ca is described below
commit dc7cd7e4cafed2a15b9f5f6d9160313236275286
Author: Peter Palaga <pp...@redhat.com>
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 72679eda09..b91891ea13 100644
--- a/poms/bom/pom.xml
+++ b/poms/bom/pom.xml
@@ -8158,4 +8158,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>