spring-boot/spring-boot-cli
Andy Wilkinson a2c5b6a7bb Preserve dependencies when uninstalling from the CLI
Previously, the CLI did not keep track of a dependency's users. This
meant that installing two extensions with a common dependency and
then unistalling one extension would break the other extension as the
common dependency would be deleted:

 1. Install a that depends on c
 2. Install b that depends on c
 3. Uninstall b
 4. a is now broken as c has been deleted

This commit updates the CLI to maintain a count for each artifact
that's installed into /lib. An artifact is now only deleted when the
count reaches zero.

As part of this change the code has been
extensively refactored to bring the structure into line with other CLI
commands and to improve testability.

Closes gh-1410
2014-10-14 14:40:44 +01:00
..
samples Improve RabbitMQ support in CLI 2014-09-05 17:52:20 +02:00
src Preserve dependencies when uninstalling from the CLI 2014-10-14 14:40:44 +01:00
test-samples Add spring-test annotations to auto imports 2014-05-28 14:05:13 +01:00
pom.xml Next development version 2014-08-07 11:59:17 -07:00