Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatten-bom goal fails due to unresolved versions org.jboss:jdk-misc:${version.jdk-misc} #5493

Closed
jamesnetherton opened this issue Nov 9, 2023 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@jamesnetherton
Copy link
Contributor

Bug description

Observed on the latest quarkus-main nightly build and when attempting to upgrade to Quarkus 3.5.1.

[ERROR] Failed to execute goal org.l2x6.cq:cq-maven-plugin:4.3.0:flatten-bom (flatten-bom) on project camel-quarkus-bom: Execution flatten-bom of goal org.l2x6.cq:cq-maven-plugin:4.3.0:flatten-bom failed: Additional BOM io.quarkus:quarkus-bom:3.5.1 contains unresolved versions:
[ERROR]     - org.jboss:jdk-misc:${version.jdk-misc}

jdk-misc seems to have been added to quarkus-bom with an unresolvable version property:

<dependency>
  <groupId>org.jboss</groupId>
  <artifactId>jdk-misc</artifactId>
  <version>${version.jdk-misc}</version>
  <scope>provided</scope>
</dependency>

I opened a discussion about it on Quarkus Zulip:

https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/jdk-misc.20in.20quarkus-bom

@ppalaga is there any way to work around it?

@jamesnetherton jamesnetherton added the bug Something isn't working label Nov 9, 2023
@zhfeng
Copy link
Contributor

zhfeng commented Nov 9, 2023

@ppalaga it might be related to the recent change in 4.4.6. see l2x6/cq-maven-plugin@3a114fd

@ppalaga
Copy link
Contributor

ppalaga commented Nov 9, 2023

The root cause is jboss/jboss-parent-pom#236
David has merged the fix already: jboss/jboss-parent-pom#237

cq-maven-plugin 4.4.6 was my attempt to implement a workaround. As @zhfeng has noted I have rather implemented a new bug :)
cq-maven-plugin 4.4.7 via #5495 should workaround it properly.

jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Dec 7, 2023
@github-actions github-actions bot added this to the 3.7.0 milestone Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants