=========== Quick Start =========== I want to test a client using Java and Maven -------------------------------------------- Include our contract-server dependency in your project. .. code-block:: xml org.seekay contract-server 0.0.7 test See the `client facing example `_ for contracts and code samples. I want to test a server using Java and Maven -------------------------------------------- Include our contract-client dependency in your project. .. code-block:: xml org.seekay contract-client 0.0.7 test See the `server facing example `_ for contracts and code samples. I'm using Maven with another programming language ------------------------------------------------- Both our client and server are available as maven plugins To run the server: .. code-block:: bash mvn org.seekay:contract-maven-plugin:0.0.7:run-server -Dport=8091 -DgitSource=https://github.com/harmingcola/kvServerContracts.git -Dusername=seekay_test -Dpassword=seekay_test_password To run the client .. code-block:: bash mvn org.seekay:contract-maven-plugin:0.0.7:run-client -Dtarget=http://localhost:8091 -DgitSource=https://github.com/harmingcola/kvServerContracts.git -Dusername=seekay_test -Dpassword=seekay_test_password I want to start a client / server from the command line ------------------------------------------------------- We provide a fat and runnable jar that contains both the client and server. This option servers practically all client / servers across a variety of languages and platforms. The jar is available from `maven central `_ To run a server: .. code-block:: bash java -jar contract-all-0.0.7.jar run-server 8091 https://bitbucket.org/harmingcola/contract-test-private.git seekay_test seekay_test_password java -jar contract-all-0.0.7.jar run-server To run a client: .. code-block:: bash java -jar contract-all-0.0.7.jar run-client http://localhost:8091 https://bitbucket.org/harmingcola/contract-test-private.git seekay_test seekay_test_password java -jar contract-all-0.0.7.jar run-client Usernames / passwords can be omitted for publicly accessible repositories