Extract Spring Boot layered JARs up to ✨10x faster✨ than the built-in Java CLI.
This tool uses mmap
to load the layered JAR in memory. This is to improve the performance of random-access reads
when extracting the layers. As such, this tool is only compatible with Linux.
You can install this tool using cargo install spring-boot-layertools
.
```shell $ ./spring-boot-layertools layered.jar extract --destination ./extracted
$ find ./extracted ./extracted ./extracted/spring-boot-loader ./extracted/spring-boot-loader/org ...
./extracted/dependencies ./extracted/dependencies/BOOT-INF ./extracted/dependencies/BOOT-INF/lib ... ```
MIT License. See LICENSE
for details. Copyright © 2022 Aram Peres.
"Spring" and "Spring Boot" are trademarks of Pivotal Software, Inc.