Downgrade top-level javadoc plugin 61/86461/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 17 Dec 2019 14:04:36 +0000 (15:04 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 17 Dec 2019 14:04:36 +0000 (15:04 +0100)
Javadoc aggregate is failing like it did in genius/netvirt,
apply the same workaround.

Change-Id: I02eed3ee5edde514512376c8d45f0b06bca67f53
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
pom.xml

diff --git a/pom.xml b/pom.xml
index 78c32457ebf9568b00ab60a12cc16f68b35a9c19..e5886f8ad781ddeb3380db35447b4bd936008c05 100644 (file)
--- a/pom.xml
+++ b/pom.xml
   </modules>
 
   <build>
+    <pluginManagement>
+      <plugins>
+          <plugin>
+          <!-- Downgrade javadoc plugin, as 3.1.0+ breaks with maven.compiler.release=11 + javadoc:aggregate -->
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>3.0.1</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+
     <plugins>
 <!--       <plugin>
         In this project we want to automatically sort all poms, thus we