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

Generate OSGi metadata into pebble jar to make it OSGi compliant #663

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Generate OSGi metadata into pebble jar to make it OSGi compliant #663

merged 1 commit into from
Nov 27, 2023

Conversation

HannesWell
Copy link
Contributor

@HannesWell HannesWell commented Nov 13, 2023

This allows to use the pebble jar in an OSGi runtime, like Eclipse, out of the box.

The version ranges for the optional dependencies com.github.ben-manes.caffeine:caffeine, javax.servlet and jakarta.servlet have been widened manually because there are newer versions available than the one this library depends on.

If you are interested in updating any of these dependencies (and especially migrate javax.servlet:servlet-api to javax.servlet:javax.servlet-api or even jakarta.servlet:jakarta.servlet-api:4.0.2 (which provides the javax.servlet packages) I can provide a separate PR or do it in this one.

The OSGi compliant MANIFEST.MF is only generated for the main pebble artifact.
If you think this is also relevant for the spring artifacts I can extend the change, but I would not be able to test the result.

This allows to use the pebble jar in an OSGi runtime out of the box.
@HannesWell
Copy link
Contributor Author

@ebussieres could you please have a look at this?

@ebussieres ebussieres added this to the 3.2.2 milestone Nov 27, 2023
@ebussieres ebussieres merged commit 1b83c56 into PebbleTemplates:master Nov 27, 2023
@HannesWell HannesWell deleted the osgi-metadata branch November 27, 2023 12:28
@HannesWell
Copy link
Contributor Author

Thank you @ebussieres for accepting this.
Do you already have some idea when the next release will happen?

@ebussieres
Copy link
Member

I'll make one today

@HannesWell
Copy link
Contributor Author

I'll make one today

Awesome. Thanks again!

@ebussieres
Copy link
Member

@HannesWell : Release has been made.

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

Successfully merging this pull request may close these issues.

3 participants