BridgeDb
BridgeDb copied to clipboard
Create bundle
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)
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.
@egonw : will this PR be merged, or closed?