Skip to content

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 DeniseSl22 requested a review from egonw April 8, 2022 13:33
@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