You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by GitBox <gi...@apache.org> on 2020/06/01 10:54:10 UTC

[GitHub] [felix-dev] pderop opened a new pull request #24: [FELIX-6282] Added core R7 dependency in pom. Exports R7 api to allow …

pderop opened a new pull request #24:
URL: https://github.com/apache/felix-dev/pull/24


   …to resolve the connect bundle from an OBR. Avoid NPE when adapting system bundle to FrameworkWiringDTO.
   
   This PR provides three things:
   
   1) in the connect/pom.xml, depend on org.osgi:osgi.core:7.0.0
   
   2) you will notice another thing: in the pom.xml, the OSGI and Felix Connect APIs are now exported. You might wonder why: It is just to allow to resolve the Felix Connect bundle as well as OSGI API from an OBR. In my case, some or our application dependencies are calculated by an offline OSGI resolver that pulls dependencies from an OBR. So far, it was not possible to resolve the Apache Felix Connect bundle from the OBR, because all packages were private. Exporting the connect packages (as well as the OSGI packages) allows to make the bundle resolvable from OBR.
   
   3) Added small patch in DTOFactory.java to add support for FrameworkWiringDTO. It's probably useless in context on FelixConnect to support such dto, but at least the patch avoids an NPE when someone tries to adapt the FrameworkWiringDTO from the system bundle.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [felix-dev] pderop merged pull request #24: [FELIX-6282] Added core R7 dependency in pom. Exports R7 api to allow …

Posted by GitBox <gi...@apache.org>.
pderop merged pull request #24:
URL: https://github.com/apache/felix-dev/pull/24


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org