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

Document how to publish OSGi bundles #56

Open
raboof opened this issue Jul 11, 2018 · 0 comments
Open

Document how to publish OSGi bundles #56

raboof opened this issue Jul 11, 2018 · 0 comments

Comments

@raboof
Copy link

raboof commented Jul 11, 2018

In Akka, we publish OSGi bundles by replacing the packageBin task:

   Compile / packageBin := OsgiKeys.bundle.value

The advantage is that this way the bundle will be picked up correctly by other plugins publishing the packaged artifacts.

A nonobvious effect of this approach is that this will render customizations of the packageBin task, such as changing Compile / packageBin / mappings, ineffective.

Do we want to document/encourage publishing packages like this? Are there alternative solutions? If we recommend this, should we try to be as faithful as possible to the default packageBin behavior and try to honour the mappings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant