This tool runs under Unix-like environments only.
Firstly, build the package with maven
:
mvn clean install
Then, use the following command to run the tool:
java -jar target/hazelcast-command-line-1.0-SNAPSHOT-jar-with-dependencies.jar
This will print the usage options. You can follow the instructions in the output.
Since this tool interacts with OS to run the commands, it has separate acceptance tests kept under src/test-acceptance
folder. Note that you need a Unix-like environment to run these tests. To run these tests, please run the following command:
mvn clean verify
Please use the following command to run checkstyle validation:
mvn -P checkstyle clean validate
Please use the following command to run SpotBugs analysis:
mvn -P spotbugs clean compile