private void handleArtifact(final ZipFile zipFile, final Map<String, ResourceData> resources) {
Enumeration<? extends ZipEntry> entries = zipFile.entries();
while (entries.hasMoreElements()) {
final ZipEntry entry = entries.nextElement();
if (!entry.isDirectory()) {
resources.put(entry.getName(), new ResourceData(entry.getName(), entry.getTime(), new ContentSource() {
@Override
public byte[] getData() throws IOException {
final InputStream stream = zipFile.getInputStream(entry);
try {
return Util.getBytesFromStream(stream);