@@ -0,0 +1,1788 @@
+package org.gbif.checklistbank.cli;%0A%0Aimport java.io.IOException;%0Aimport java.util.Collections;%0Aimport java.util.Enumeration;%0Aimport java.util.Map;%0Aimport java.util.TreeMap;%0Aimport java.util.concurrent.atomic.AtomicInteger;%0Aimport java.util.jar.JarEntry;%0Aimport java.util.jar.JarFile;%0Aimport java.util.regex.Matcher;%0Aimport java.util.regex.Pattern;%0A%0Aimport jdk.nashorn.internal.ir.annotations.Ignore;%0Aimport org.junit.Test;%0A%0A/**%0A * Manual terst to inspect the uber jar to list number of files to get an idea whats inside.%0A */%0A@Ignore%0Apublic class JarTest %7B%0A%0A    @Test%0A    public void countJar() throws IOException %7B%0A        JarFile jar = new JarFile(%22target/checklistbank-cli.jar%22);%0A%0A        System.out.println(%0A                Collections.list(jar.entries()).size()%0A        );%0A        Pattern rootPath = Pattern.compile(%22%5E(org%5C%5C/(apache%7Cneo4j(%5C%5C/cypher%5C%5C/internal%5C%5C/compiler)?)%7C%5Ba-z0-9_-%5D+)%5C%5C/%5Ba-z0-9_-%5D+%22, Pattern.CASE_INSENSITIVE);%0A        Map%3CString, AtomicInteger%3E counts = new TreeMap%3CString, AtomicInteger%3E();%0A        Enumeration%3CJarEntry%3E entries = jar.entries();%0A        while (entries.hasMoreElements()) %7B%0A            JarEntry e = entries.nextElement();%0A            String key;%0A            Matcher m = rootPath.matcher(e.getName());%0A            if (m.find()) %7B%0A                key = m.group(0);%0A            %7D else %7B%0A                key = e.getName();%0A            %7D%0A            if (!counts.containsKey(key)) %7B%0A                counts.put(key, new AtomicInteger(1));%0A            %7D else %7B%0A                counts.get(key).getAndIncrement();%0A            %7D%0A        %7D%0A%0A        for (Map.Entry%3CString, AtomicInteger%3E e : counts.entrySet()) %7B%0A            if (e.getValue().get() %3E 100) %7B%0A                System.out.println(e.getKey() + %22   %22 + e.getValue());%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

Add manual test to count shaded jar files