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

Resolve thrid party dependency version dynamically #453

Open
pjgg opened this issue Apr 20, 2022 · 0 comments
Open

Resolve thrid party dependency version dynamically #453

pjgg opened this issue Apr 20, 2022 · 0 comments
Labels
enhancement New feature or request priority/low lowest priority

Comments

@pjgg
Copy link
Contributor

pjgg commented Apr 20, 2022

When a rest service is created you can inject dependencies dynamically. If these dependencies are from a thrid party, then the version is not resolved from the BOM.
Reproducer:

Fail:

 @QuarkusApplication(dependencies = {
            @Dependency(groupId = "org.bouncycastle", artifactId = "bctls-fips")
    })
    private static final RestService app = new RestService().withProperties("jsse.properties");

Success:

 @QuarkusApplication(dependencies = {
            @Dependency(groupId = "org.bouncycastle", artifactId = "bctls-fips", version="1.2.4")
    })
    private static final RestService app = new RestService().withProperties("jsse.properties");
@pjgg pjgg added enhancement New feature or request priority/low lowest priority labels Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/low lowest priority
Projects
None yet
Development

No branches or pull requests

1 participant