Avoid depending on immutables.value at runtime 88/74888/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 6 Aug 2018 16:46:57 +0000 (18:46 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 6 Aug 2018 16:47:25 +0000 (18:47 +0200)
Change-Id: Ia257d8d30cf51333a30b1244f1cd56886a7569de
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
dom/mdsal-dom-inmemory-datastore/pom.xml

index 3378ff0a0c7035169a687b1f31e03bb488e27885..10907649848250f45d3368bd5690fb50c75b4117 100644 (file)
                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
                 </configuration>
             </plugin>
+            <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>
     <scm>