Suppress javax.annotation imports in yang-binding 61/76761/6
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 8 Oct 2018 16:24:54 +0000 (18:24 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 9 Oct 2018 08:12:10 +0000 (10:12 +0200)
We do not want to generate references to javax.annotation, remove
it from imports.

Change-Id: I2edffd282db530c6052b3541a553d52e33c3fd78
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/yang-binding/pom.xml

index 829b9ffd10a09e3d9a398c07b0983f705405d87b..68b31131764e45b421ea1e5552ddc56470afcdf3 100644 (file)
 
     <build>
         <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Import-Package>!javax.annotation,*</Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-checkstyle-plugin</artifactId>