title: JAI RangeLookup operation missing from registry but works fine in IntelliJ
body: <p>Which dependency am I lacking if:</p>
  
  <pre><code>No OperationDescriptor is registered in the current operation registry
  </code></pre>
  
  <p>is returned why trying to use geo tools via JAI to vectorize an image?</p>
  
  <pre><code>compile group: 'org.geotools', name: 'gt-arcgrid', version: '18.4'
  compile group: 'org.geotools', name: 'gt-process-raster', version: '18.4'
  compile group: 'org.geotools', name: 'gt-main', version: '18.4'
  </code></pre>
  
  <p><a href="https://github.com/geoHeil/vectorizePolygons" rel="nofollow noreferrer">https://github.com/geoHeil/vectorizePolygons</a> contains the example code.</p>
  
  <h1>edit</h1>
  
  <p>when executing the code from IntelliJ everything works just fine.
  Only when executing the code from gradle or maven created fat jar the code fails to load some dependencies.</p>
  
  <p>Even when following along here <a href="http://docs.geotools.org/stable/userguide/faq.html#how-do-i-create-an-executable-jar-for-my-geotools-app" rel="nofollow noreferrer">http://docs.geotools.org/stable/userguide/faq.html#how-do-i-create-an-executable-jar-for-my-geotools-app</a> see: <a href="https://github.com/geoHeil/vectorizePolygons/blob/master/maven/pom.xml" rel="nofollow noreferrer">https://github.com/geoHeil/vectorizePolygons/blob/master/maven/pom.xml</a> IntelliJ will see a different class path which works just fine. But neither maven or gradle report any problems when creating the fat jar.</p>
  
  <p>Maven fails with a different error:</p>
  
  <pre><code>javax.imageio.spi.ImageReaderSpi: Provider it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReaderSpiit.geosolutions.imageio.plugins.arcgrid.spi.AsciiGridsImageReaderSpi not found
  </code></pre>
  
  <p>gradle fails at this line:</p>
  
  <pre><code>final RenderedOp asciiCoverage = JAI.create("ImageRead", pbjImageRead, hints);
  </code></pre>
  
  <p>which sort of seems to be related to some image reading in both places.</p>
  
  <h1>edit</h1>
  
  <p><a href="https://i.stack.imgur.com/dqziE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dqziE.png" alt="enter image description here"></a></p>
  
  <h2>edit 2</h2>
  
  <p>After fixing the maven problem (updating maven-shade-plugin) now also maven reports a missing registration in the <code>JAI</code> operation registry.</p>
  
  <p><code>RangeLookup</code> is missing.</p>