Add starter, make adapter kick in only if needed

This commit is contained in:
Eric Bottard
2017-08-08 17:18:20 +02:00
parent c3c7f1fccd
commit c98642c2f7
7 changed files with 70 additions and 13 deletions

View File

@@ -27,27 +27,28 @@
</build>
<dependencies>
<!-- The following starter brings everything you need, including adapters that trigger only if needed-->
<dependency>
<groupId>org.springframework.shell</groupId>
<artifactId>spring-shell-core</artifactId>
<artifactId>spring-shell-starter</artifactId>
</dependency>
<!-- Depend on Shell 1 to use Shell 1 API -->
<dependency>
<groupId>org.springframework.shell</groupId>
<artifactId>spring-shell-standard</artifactId>
<artifactId>spring-shell</artifactId>
<version>1.2.0.RELEASE</version>
</dependency>
<!-- Depend on JCommander to use JCommander API -->
<dependency>
<groupId>org.springframework.shell</groupId>
<artifactId>spring-shell-standard-commands</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.shell</groupId>
<artifactId>spring-shell-shell1-adapter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.shell</groupId>
<artifactId>spring-shell-jcommander-adapter</artifactId>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.48</version>
</dependency>
</dependencies>
</project>