Avoid depending on immutables.value at runtime
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 7 Aug 2018 08:09:03 +0000 (10:09 +0200)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 7 Oct 2021 05:19:58 +0000 (15:19 +1000)
Change-Id: Ia399e0cf7b258d4760461ee5b5635f7e41343f33
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
metrics/api/pom.xml

index f2d34715a818b2c8c49d158db0e562ee9ab148d1..40e3480e9f6ee22dd12e98b0bd552307eb366376 100644 (file)
     </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+       <plugin>
+         <groupId>org.apache.felix</groupId>
+         <artifactId>maven-bundle-plugin</artifactId>
+         <extensions>true</extensions>
+         <configuration>
+           <instructions>
+             <Import-Package>
+               !org.immutables.value,
+               *
+             </Import-Package>
+           </instructions>
+         </configuration>
+       </plugin>
+     </plugins>
+   </build>
 </project>