title: Exit code: 1 - javadoc: error - The code being documented uses modules but ...... are in the unnamed module
body: <p>Local Java Version is :</p>
  <pre><code>java version &quot;11.0.7&quot; 2020-04-14 LTS
  Java(TM) SE Runtime Environment 18.9 (build 11.0.7+8-LTS)
  Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, mixed mode)
  </code></pre>
  <p>but my project having java version of :</p>
  <pre><code>&lt;java.version&gt;1.8&lt;/java.version&gt;
  </code></pre>
  <p>During the build I am getting an error :</p>
  <pre><code>Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
  </code></pre>
  <p>How to solve without changing java version of pom to Java 11 or downgrading to Java 8?</p>