|
@@ -277,7 +277,51 @@
|
|
|
</systemPropertyVariables>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
-
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.felix</groupId>
|
|
|
+ <artifactId>maven-bundle-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>build bundle</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>bundle</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ <configuration>
|
|
|
+ <instructions>
|
|
|
+ <Import-Package>
|
|
|
+ io.netty.buffer;resolution:=optional,
|
|
|
+ io.netty.channel;resolution:=optional,
|
|
|
+ io.netty.channel.group;resolution:=optional,
|
|
|
+ io.netty.channel.socket.nio;resolution:=optional,
|
|
|
+ javax.management;resolution:=optional,
|
|
|
+ javax.security.auth.callback,
|
|
|
+ javax.security.auth.login,
|
|
|
+ javax.security.sasl,
|
|
|
+ org.ietf.jgss,
|
|
|
+ org.osgi.framework;resolution:=optional,
|
|
|
+ org.osgi.util.tracker;resolution:=optional,
|
|
|
+ org.slf4j,
|
|
|
+ *;resolution:=optional
|
|
|
+ </Import-Package>
|
|
|
+ <Export-Package>
|
|
|
+ !org.apache.zookeeper.data,
|
|
|
+ !org.apache.zookeeper.proto,
|
|
|
+ !org.apache.zookeeper.txn,
|
|
|
+ org.apache.zookeeper*
|
|
|
+ </Export-Package>
|
|
|
+ <Bundle-Name>ZooKeeper Bundle</Bundle-Name>
|
|
|
+ <Bundle-DocURL>https://zookeeper.apache.org/doc/current/</Bundle-DocURL>
|
|
|
+ <Implementation-Build>${mvngit.commit.id}</Implementation-Build>
|
|
|
+ <Merge-Headers>!Implementation-Build,*</Merge-Headers>
|
|
|
+ </instructions>
|
|
|
+ <classifier>osgi</classifier>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|