tempJarFile.deleteOnExit();
archiveToIndex.as(ZipExporter.class).exportTo(tempJarFile, true);
final Indexer indexer = new Indexer();
final Result result = JarIndexer.createJarIndex(tempJarFile, indexer, false, false, false);
final File indexFile = result.getOutputFile();
indexFile.deleteOnExit();
jandexIndexAsset = new FileAsset(indexFile);
} catch (IOException e) {
throw new RuntimeException(e);