Repository navigation
Upgrade maven-bundle-plugin to 6.2.0 - #3098
Open
holgerfriedrich wants to merge 1 commit into
Open
holgerfriedrich wants to merge 1 commit into
holgerfriedrich wants to merge 1 commit into
Conversation
bnd >= 7.2 truncates the unquoted Import-Service filters written by the Felix BlueprintPlugin (see apache#2786). Use service_mode=generic, which emits a properly quoted osgi.service Require-Capability instead. The newer bnd (7.4.0) also knows JavaSE-25, needed for Java 25 bytecode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade maven-bundle-plugin 6.0.2 -> 6.2.0 (bnd 7.0.0 -> 7.4.0). This replaces the closed dependabot PRs #2786, #2874 and #2924.
bnd >= 7.2 truncates the blueprint
Import-Servicefilters, because the Felix BlueprintPlugin writes them unquoted. That brokeConfigExampleTest.testBlueprint. Switching toservice_mode=genericavoids the problem.This changes the generated manifests: blueprint bundles now declare
Require-Capability: osgi.service;effective:=active;filter:="..."instead ofImport-Service. Tools that read the legacy header directly may no longer work. Karafs seems to handle the change properly.Example,
karaf-config-example-blueprint:The newer bnd also knows Java 25 bytecode (bnd 7.0.0 wrote
osgi.ee=UNKNOWNfor it).This is one of the blockers that shows when I switch javaVersion to 25 in pom.xml.