Skip to content

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

Merged
ebussieres merged 1 commit into
PebbleTemplates:masterfrom
HannesWell:osgi-metadata
Nov 27, 2023
Merged

Generate OSGi metadata into pebble jar to make it OSGi compliant#663
ebussieres merged 1 commit into
PebbleTemplates:masterfrom
HannesWell:osgi-metadata

Conversation

@HannesWell

@HannesWell HannesWell commented Nov 13, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor Author

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

@ebussieres

Copy link
Copy Markdown
Member

I'll make one today

@HannesWell

Copy link
Copy Markdown
Contributor Author

I'll make one today

Awesome. Thanks again!

@ebussieres

Copy link
Copy Markdown
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