public void inspectArtifacts(Set<Artifact> artifacts) throws IOException {
        for (Artifact artifact : artifacts) {


            if (printDebugs) log.debug("Inspecting " + artifact.toString());

            String path = artifact.getFile().getPath();
            if (path.endsWith(".jar")) {
                inspectJar(path);
            } else if (path.endsWith(".war")) {
                inspectWar(path);
            } else if (path.endsWith(".ear")) {
                inspectEar(path);
            } else if (path.endsWith(".class")) {
                File classFile = artifact.getFile();
                inspectClassFile(classFile);
            }


        }

    }