BridgeDb icon indicating copy to clipboard operation
BridgeDb copied to clipboard

Create bundle

Open cschneider opened this issue 4 years ago • 3 comments

cschneider avatar Dec 07 '21 14:12 cschneider

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)

egonw avatar Dec 07 '21 14:12 egonw

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.

cschneider avatar Dec 07 '21 14:12 cschneider

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

DeniseSl22 avatar Apr 08 '22 13:04 DeniseSl22