title: Error: log4j-api-2.9.0.jar is a multi-release jar file but --multi-release option is not set
body: <p>Exploring the <a href="https://cwiki.apache.org/confluence/display/MAVEN/Java+9+-+Jigsaw" rel="noreferrer"><code>maven-jdeps-plugin:3.1.0</code></a> with Java9 using the following minimal <code>pom.xml</code>:-</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.logging.log4j&lt;/groupId&gt;
          &lt;artifactId&gt;log4j-api&lt;/artifactId&gt;
          &lt;version&gt;2.9.0&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.7.0&lt;/version&gt;
              &lt;configuration&gt;
                 &lt;source&gt;1.9&lt;/source&gt;
                 &lt;target&gt;1.9&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-jdeps-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.1.0&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;jdkinternals&lt;/goal&gt; &lt;!-- verify main classes --&gt;
                          &lt;goal&gt;test-jdkinternals&lt;/goal&gt; &lt;!-- verify test classes --&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>On executing </p>
  
  <pre><code>mvn install
  </code></pre>
  
  <p>I end up getting a detailed error that reads the following:-</p>
  
  <blockquote>
  <pre><code>[INFO] Error: log4j-api-2.9.0.jar is a multi-release jar file but --multi-release option is not set
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 3.389 s
  [INFO] Finished at: ...
  [INFO] Final Memory: 12M/41M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jdeps-plugin:3.1.0:jdkinternals (default) on project maven-jigsaw: 
  [ERROR] Exit code: 2
  [ERROR] Command line was: /bin/sh -c '/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/bin/jdeps' '-cp' '.../.m2/repository/org/apache/logging/log4j/log4j-api/2.9.0/log4j-api-2.9.0.jar' '../maven/target/classes'
  </code></pre>
  </blockquote>
  
  <p>I couldn't find much relevance related to <code>--multi-release</code> flag in either <a href="https://maven.apache.org/plugins/maven-jdeps-plugin/jdkinternals-mojo.html" rel="noreferrer"><code>jdeps:jdkinternals</code></a> goal detailed on Maven's official site or even in the <a href="https://docs.oracle.com/javase/9/tools/jdeps.htm#JSWOR690" rel="noreferrer"><code>jdeps</code> tool</a> documented at Oracle help center.</p>
  
  <p>Can someone throw some light on this implementation in <code>maven-jdeps-plugin</code>? Is there a way to fix this(set the <code>--multi-release</code> option)?</p>