Sunday 14 February 2021

Spring Shell: How to disable built-in commands

Just exclude 'spring-shell-standard-commands' like below.

<dependency>
    <groupId>org.springframework.shell</groupId>
    <artifactId>spring-shell-starter</artifactId>
    <version>2.0.1.BUILD-SNAPSHOT</version>

    <exclusions>
        <exclusion>
            <groupId>org.springframework.shell</groupId>
            <artifactId>spring-shell-standard-commands</artifactId>
        </exclusion>
    </exclusions>
</dependency>

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment