I've created 3 different configurations to cover the different possible environments
Local:
mvn clean install -Plocal
Dev:
mvn clean install -Pdev
Test:
mvn clean install -Ptest
java -jar pong-1.0-SNAPSHOT-fat.jar -cluster -cluster-host XXX.XXX.XXX.XX
for example
java -jar pong-1.0-SNAPSHOT-fat.jar -cluster -cluster-host 127.0.0.1
or
java -jar pong-1.0-SNAPSHOT-fat.jar -cluster -cluster-host 192.168.112.10
java -jar ping-1.0-SNAPSHOT-fat.jar -cluster -cluster-host 192.168.112.9
for example
java -jar ping-1.0-SNAPSHOT-fat.jar -cluster -cluster-host 127.0.0.1
or
java -jar ping-1.0-SNAPSHOT-fat.jar -cluster -cluster-host 192.168.112.9