Make yang-binding an automatic module 28/85028/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 10 Oct 2019 07:37:09 +0000 (09:37 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 10 Oct 2019 07:37:09 +0000 (09:37 +0200)
This is an API component and while it will need to see some
further movement, we should make it an automatic module. As a
side-effect, this fixes javadoc lookup errors we were seeing
in downstream automatic modules.

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

index 00d8519e3f179745e3cdb91273eef50625c3ee70..5cb6e81619f0f0765d6a5ec0a83b42895b9b7998 100644 (file)
     <artifactId>mdsal-binding-spi</artifactId>
     <packaging>bundle</packaging>
 
-    <properties>
-        <!-- FIXME: this works around a javadoc bug, where it throws an internal exception -->
-        <maven.compiler.release>8</maven.compiler.release>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.mdsal</groupId>
index fd850ad1b9ec4f8f452ff752307a67957ede389b..83450cf6152161bf4020f437e43389f06e888f8c 100644 (file)
     <artifactId>mdsal-binding-util</artifactId>
     <packaging>bundle</packaging>
 
-    <properties>
-        <!-- FIXME: this works around an unknown reference bug -->
-        <maven.compiler.release>8</maven.compiler.release>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>com.google.guava</groupId>
index b82408bdd518c21303cd9ec060e8a78b5e5edc1e..1339e956e65a749200602ae5a96e8bfa818d0e1e 100644 (file)
             <artifactId>guava</artifactId>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Automatic-Module-Name>org.opendaylight.yangtools.yang.binding</Automatic-Module-Name>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>