Skip to content

Commit 459733a

Browse files
committed
Fail the build if there are overlaps between our BOM and Quarkus BOM
1 parent bee89c5 commit 459733a

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

poms/bom/pom.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8158,4 +8158,38 @@
81588158
</releases>
81598159
</repository>
81608160
</repositories>
8161+
<profiles>
8162+
<profile>
8163+
<id>full</id>
8164+
<activation>
8165+
<property>
8166+
<name>!quickly</name>
8167+
</property>
8168+
</activation>
8169+
<build>
8170+
<plugins>
8171+
<plugin>
8172+
<groupId>org.l2x6.cq</groupId>
8173+
<artifactId>cq-maven-plugin</artifactId>
8174+
<executions>
8175+
<execution>
8176+
<!-- Fails the build if there are overlaps between our BOM and Quarkus BOM -->
8177+
<id>bom-overlaps</id>
8178+
<goals>
8179+
<goal>bom-overlaps</goal>
8180+
</goals>
8181+
<phase>test</phase><!-- after process-resources where we flatten the BOM -->
8182+
<configuration>
8183+
<baseBomPath>${project.basedir}/src/main/generated/flattened-reduced-pom.xml</baseBomPath>
8184+
<ignoredOverlaps>
8185+
<ignoredOverlap>org.glassfish.jaxb:jaxb-runtime</ignoredOverlap><!-- Comes from quarkus-cxf-bom -->
8186+
</ignoredOverlaps>
8187+
</configuration>
8188+
</execution>
8189+
</executions>
8190+
</plugin>
8191+
</plugins>
8192+
</build>
8193+
</profile>
8194+
</profiles>
81618195
</project>

0 commit comments

Comments
 (0)