quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.53k stars 2.61k forks source link

Enhance `QuarkusCodestartTest` so that it can be configured with additional BOMs #34308

Open jamesnetherton opened 1 year ago

jamesnetherton commented 1 year ago

Description

I've been hacking on a POC for adding a codestart to one of the Camel Quarkus extensions. One limitation I've hit, is with testing. It seems it's not possible to configure BOMs in addition to quarkus-bom. So when the buildAllProjects test runs, I get:

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-direct:jar is missing. @ line 45, column 17
[ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-log:jar is missing. @ line 49, column 17
[ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-timer:jar is missing. @ line 53, column 17
[ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-junit5:jar is missing. @ line 62, column 17

If QuarkusCodestartTest had the capability to accept additional BOM GAVs, then I could configure org.apache.camel.quarkus:camel-quarkus-bom and be able to test with my local SNAPSHOT BOM.

Implementation ideas

No response

quarkus-bot[bot] commented 1 year ago

/cc @ia3andy (codestart), @quarkusio/devtools (codestart)