setting up maven-bundle-plugin for our common module
authorRomain Manni-Bucau <rmannibucau@gmail.com>
Mon, 22 Oct 2018 07:46:17 +0000 (09:46 +0200)
committerRomain Manni-Bucau <rmannibucau@gmail.com>
Mon, 22 Oct 2018 07:46:17 +0000 (09:46 +0200)
geronimo-metrics-common/pom.xml

index 2ac0449..81d5375 100644 (file)
 
   <artifactId>geronimo-metrics-common</artifactId>
   <name>Geronimo Metrics :: Common</name>
+  <packaging>bundle</packaging>
 
   <properties>
     <geronimo-metrics.Automatic-Module-Name>org.apache.geronimo.microprofile.metrics.common</geronimo-metrics.Automatic-Module-Name>
   </properties>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>4.0.0</version>
+        <extensions>true</extensions>
+      </plugin>
+    </plugins>
+  </build>
 </project>