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

Make it easy to add a third-party dependency to an extension #2

Open
stianst opened this issue Mar 14, 2024 · 2 comments
Open

Make it easy to add a third-party dependency to an extension #2

stianst opened this issue Mar 14, 2024 · 2 comments

Comments

@stianst
Copy link
Contributor

stianst commented Mar 14, 2024

Description

It should be possible to easily add third-party dependency (an dependency that is not already part of the Keycloak distribution) to an extension, and the dependencies should be packaged together with the extension as a single deployable artifact to Keycloak.

Discussion

No response

Motivation

No response

Details

No response

@thomasdarimont
Copy link
Collaborator

thomasdarimont commented Nov 11, 2024

This could be done via maven plaugins and repacking (prefixing) of the packages to avoid conflicts when the same libraries are used by multiple extensions in different versions.

I did this in the past with the

  • maven-shade-plugin -> with package renaming
  • maven-assembly-plugin -> jar-with-dependencies

@thomasdarimont
Copy link
Collaborator

Perhaps we could leverage something like https://github.com/moditect/layrry

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