Skip to content

Commit

Permalink
osgify broker, generate MANIFEST.MF (moquette-io#848)
Browse files Browse the repository at this point in the history
Generate correct MANIFEST.MF with bnd

Without a correct MANIFEST.MF the broken can't be used in several open source (OSGi based) projects.

We added the bnd-maven-plugin to the parent pom.xml and a bnd.bnd file to generate a correct and complete MANIFEST.MF needed for OSGi and other projects to use the broker.

Signed-off-by: Guido Grune <[email protected]>
Co-authored-by: Andrea Selva <[email protected]>
  • Loading branch information
gg-dim and andsel authored Sep 16, 2024
1 parent bef139b commit 4c0a0f0
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version 0.18-SNAPSHOT:
[feature] Generate correct MANIFEST.MF with bnd-maven-plugin. (#848)
[feature] Flow-control: implemented publish's quota management on the server side. (#852)
[fix] Incorrect reference used in compareAndSet in CTrie.cleanTomb. (#841)
[feature] Implement response-information property for request-response flow. (#840)
Expand Down
10 changes: 10 additions & 0 deletions broker/bnd.bnd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Bundle-Version: 0.18.0.${tstamp}
Export-Package: io.moquette.*

Import-Package: \
com.bugsnag;'resolution:'=optional, \
com.codahale.metrics;'resolution:'=optional, \
com.librato.metrics.*;'resolution:'=optional, \
com.zaxxer.hikari.*;'resolution:'=optional, \
org.apache.commons.codec.*;'resolution:'=optional, \
*
19 changes: 19 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,27 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>6.4.0</version>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
Expand Down

0 comments on commit 4c0a0f0

Please sign in to comment.