for (Artifact artifact : dependencies) {
if ("jar".equals(artifact.getType())) {
resolver.resolve(artifact, remoteRepos, localRepository);
AntPathMatcher matcher = new AntPathMatcher();
ZipFile zipFile;
zipFile = new ZipFile(artifact.getFile());
try {
Enumeration<? extends ZipEntry> entryEnum = zipFile.entries();
while (entryEnum.hasMoreElements()) {
ZipEntry zipEntry = entryEnum.nextElement();
for (String pattern : wiringPathPatterns) {
if (matcher.match(pattern, zipEntry.getName())) {
foundAtLeastOneWiring = true;
log.info("Reading " + zipEntry.getName() + " from " + artifact.getFile());
Set<Artifact> moduleArtifacts = getModuleArtifactsFromLilyRuntimeConfig(
zipFile.getInputStream(zipEntry), zipEntry.getName(), remoteRepos);