Disable binding2 javadoc under Java 11 34/78334/4
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 1 Dec 2018 22:20:52 +0000 (23:20 +0100)
committerJie Han <han.jie@zte.com.cn>
Mon, 3 Dec 2018 00:45:46 +0000 (00:45 +0000)
javadoc fails to find generated .txt package, leading to a failure
to resolve imports. Sacrifice javadocs to let Java 11 through.

Change-Id: Ifd6fa576f38d08d1d12ffc7aeeced1762a021beb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding2/mdsal-binding2-java-api-generator/pom.xml

index 0c9966feccc414d9dc73c08c1e08c2a94fe2c9c0..656ffcf464551a1ad10e03cae1c08b5a396c52b3 100644 (file)
 
         </plugins>
     </build>
+
+    <profiles>
+        <profile>
+            <!-- FIXME: org.opendaylight.mdsal.binding.javav2.java.api.generator.txt is not found -->
+            <id>javadoc-java11-disable</id>
+            <activation>
+                <jdk>[11,)</jdk>
+            </activation>
+            <properties>
+                <maven.javadoc.skip>true</maven.javadoc.skip>
+            </properties>
+        </profile>
+    </profiles>
 </project>