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

Create bundle #174

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Create bundle #174

wants to merge 1 commit into from

Conversation

cschneider
Copy link

No description provided.

@egonw
Copy link
Member

egonw commented Dec 7, 2021

What is the advantage of

<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>

over

<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>

? (honestly no clue)

@cschneider
Copy link
Author

There are few differences:

  • maven-bundle-plugin uses some defaults (exporting all packages without special strings like impl)
  • bnd-maven-plugin is built together with bnd. So it is normally following changes earlier.
  • By default you configure bnd-maven-plugin with a bnd.bnd file. I like that as it keeps the OSGi configs out of the pom.xml
  • bnd-maven-plugin is less intrusive (though maven-bundle-plugin can also be setup this way)
    So the differences are small. You can definitely use both.

@DeniseSl22
Copy link
Contributor

@egonw : will this PR be merged, or closed?

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

Successfully merging this pull request may close these issues.

3 participants