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

Fix OSGi imports #3675

Merged
merged 1 commit into from
Jun 25, 2022
Merged

Fix OSGi imports #3675

merged 1 commit into from
Jun 25, 2022

Conversation

rovarga
Copy link
Contributor

@rovarga rovarga commented Apr 23, 2022

org.antlr.v4.gui is only used for backwards compatibility, but the
manifest generated by upgraded maven-bundle-plugin generates an
Import-Package requirement. This breaks the ability to load
antlr4-runtime in an OSGi enviroment, when nothing provides
org.antlr.v4.gui.

Fix this by specifying resultion as optional.

Signed-off-by: Robert Varga [email protected]

org.antlr.v4.gui is only used for backwards compatibility, but the
manifest generated by upgraded maven-bundle-plugin generates an
Import-Package requirement. This breaks the ability to load
antlr4-runtime in an OSGi enviroment, when nothing provides
org.antlr.v4.gui.

Fix this by specifying resultion as optional.

Signed-off-by: Robert Varga <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants