holgerfriedrich opened a new pull request, #3098:
URL: https://github.com/apache/karaf/pull/3098

   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-Service` filters, because the 
Felix BlueprintPlugin writes them unquoted. That broke 
`ConfigExampleTest.testBlueprint`. Switching to `service_mode=generic` avoids 
the problem.
   
   
   **This changes the generated manifests:** blueprint bundles now declare 
`Require-Capability: osgi.service;effective:=active;filter:="..."` instead of 
`Import-Service`. Tools that read the legacy header directly may no longer 
work. Karafs seems to handle the change properly.
   
   Example, `karaf-config-example-blueprint`:
   
   ```
   # before
   Import-Service: 
org.apache.aries.blueprint.NamespaceHandler;filter=(osgi.service.blueprint.namespace=http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0)
   
   # after
   Require-Capability: 
osgi.service;effective:=active;filter:="(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0))"
   ```
   
   The *newer bnd also knows Java 25* bytecode (bnd 7.0.0 wrote 
`osgi.ee=UNKNOWN` for it).
   This is one of the blockers that shows when I switch javaVersion to 25 in 
pom.xml.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to