You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2021/02/11 23:44:22 UTC
[GitHub] [httpcomponents-client] benapple commented on pull request #284: Add maven-bundle-plugin to create OSGi-ready packages
benapple commented on pull request #284:
URL: https://github.com/apache/httpcomponents-client/pull/284#issuecomment-777870059
I have updated the various poms to continue to use `jar` packaging and instead used the maven-jar-plugin to generate the manifest file and the `manifest` goal of the maven-bundle-plugin to populate it. This follows [Felix maven bundle plugin's documentation](https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html). The plugin scans the various classes, adds their packages to an `Export-Package` list, and adds any dependencies to an `Import-Package` list. The plugin handles all the meta-data generation and needs minimal configuration.
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org