// Get all elements
for (AbstractClassPathLocation l : allLocations) {
final Collection<String> cn = l.listAllEntries();
for (String c : cn) {
final AbstractClasspathElement classPathElement = AbstractClasspathElement.newClassPathElement(l, c);
System.out.println(classPathElement);
}
}
new JARWriter(new File(target + "/test.jar"));