title: How to resolve split package issue in Java 9
body: <h2>Issue</h2>
  <p>I have <code>module-info.java</code> file that looks like:</p>
  <pre><code>module server {
   
     ...
     // split package issue: lot of java classes within packages with the same name
     requires hbase.common;
     requires hbase.client;
     ...
  }
  </code></pre>
  <h2>Workaround 1</h2>
  <p>Problem can't be solved by <code>maven-shader-plugin</code>, because it doesn't know groupId, only package name. Means shader will rename the same packages from both: <code>hbase.common</code> and <code>hbase.client</code> - split package problem remains.</p>
  <h2>Workaround 2</h2>
  <p>I also tried to create some <code>shader</code> middlelayer module, to throw away unneeded packages and resolve split package issue. But this solution also does not work.</p>
  <p><em>shader/module-info.java:</em></p>
  <pre><code>module shader {
      requires hbase.common;
      // exports only packages I do need at my code. Shade unneded packages
      // IS THERE ANY WAY TO MAKE IT WORK?
      // Got: X module reads package org.apache.hadoop.hbase.util from both shader and hbase.common
      exports org.apache.hadoop.hbase.util;
  } 
  </code></pre>
  <p><em>server/module-info.java</em></p>
  <pre><code>module server {
      requires shader;
      requires hbase.client;
  }
  </code></pre>
  <h2>PS</h2>
  <p>Are there any Maven plugins for combining split-package jars?</p>