Giriş
Şu satırı dahil ederiz
import com.hazelcast.client.console.SqlConsole;
jline kütüphanesini kullanarak kabuk sağlar. hazelcast/pom.xml şöyle
<dependency> <groupId>org.jline</groupId> <artifactId>jline-terminal</artifactId> <version>${jline.version}</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.jline</groupId> <artifactId>jline-reader</artifactId> <version>${jline.version}</version> <scope>provided</scope> <optional>true</optional> </dependency>
Hazelcast projesinde scope alanı provided olarak kullanılıyor. Gerçek kütüphane hazelcast-distribution projesinden geliyor. Neden böyle bilmiyorum. hazelcast-distribution/pom.xml şöyle
<!-- HazelcastCommandLine dependencies--> <dependency> <groupId>info.picocli</groupId> <artifactId>picocli</artifactId> </dependency> <dependency> <groupId>org.jline</groupId> <artifactId>jline-terminal</artifactId> <version>${jline.version}</version> </dependency> <dependency> <groupId>org.jline</groupId> <artifactId>jline-reader</artifactId> <version>${jline.version}</version> </dependency>
Hiç yorum yok:
Yorum Gönder