return hasEntry(POM_FILE);
}
private Object createPomReader() {
try (InputStream is = getEntry(POM_FILE)) {
return new PomReader(is);
} catch (NoClassDefFoundError e) {
throw new RuntimeException("Jar " + jarFile
+ " contains a pom.xml file, while the necessary dependency management classes are not found in the jar");
} catch (IOException e) {
throw new RuntimeException("Failed reading pom", e);