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

Update dependency org.reflections:reflections in dependencyManagement of quarkus-camel-bom #3569

Closed
albert0815 opened this issue Feb 22, 2022 · 4 comments

Comments

@albert0815
Copy link

In quarkus-camel-bom currently version 0.9.12 of org.reflections:reflections is being used. This has a known issue which I am suffering now (ronmamo/reflections#273). Are you planning for updating this in the dependency management of quarkus-camel-bom at some point in time?

@ppalaga
Copy link
Contributor

ppalaga commented Feb 23, 2022

Thanks for the report, @albert0815.

Is the ronmamo/reflections#273 issue triggered by Camel code? If so, which extension?

camel-quarkus-bom gets the version of org.reflections:reflections via imported io.debezium:debezium-bom:1.6.1.Final, line 502.
So, ideally the fix should go there.

As a quick workaround, you can add the following before the BOM imports in your pom.xml:

...
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.reflections</groupId>
        <artifactId>reflections</artifactId>
        <version>0.10.2</version>
      </dependency>
      <!-- BOM imports here ... -->
    </dependencies>
  </dependencyManagement>
...

@albert0815
Copy link
Author

albert0815 commented Feb 23, 2022

Thanks for the hint about the workaround, this is how I solved this for now. Nevertheless I thought it would be useful to also have it updated in the source. And I assumed source would be here, but that seems wrong :). Somehow I can't create an issue in the debezium repo. Not sure whether you want to keep it here or close it, if this is not something which you can deal with this is fine for me. Thanks for letting me know!

Issue is not caused by Camel code, was a different part of my application which relied on org.reflection lib.

@ppalaga
Copy link
Contributor

ppalaga commented Feb 24, 2022

You can file an issue for Debezium here https://issues.redhat.com/projects/DBZ

@ppalaga
Copy link
Contributor

ppalaga commented Mar 28, 2022

Closing as won't fix. We aim at removing unneeded BOM entries - see #3669

@ppalaga ppalaga closed this as completed Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants