// now lets add all the new embedded jars
for (Map.Entry<String, Object> entry : embeddedResources.entrySet()) {
String path = entry.getKey();
Object value = entry.getValue();
Resource resource = toResource(value);
if (resource != null) {
jar.putResource(path, resource);
try {
File file = toFile(value);
analyzer.addClasspath(file);