build: mvn package clean: mvn clean server: java -jar target/rmi-1.0-SNAPSHOT-jar-with-dependencies.jar --server client: java -jar target/rmi-1.0-SNAPSHOT-jar-with-dependencies.jar --client registry: # Source: https://stackoverflow.com/a/23643744 rmiregistry -J-Djava.rmi.server.codebase=file:target/rmi-1.0-SNAPSHOT-jar-with-dependencies.jar &