For code examples, please look at our Test cases.
Click on the above jitpack button for an installation description of the current Maven Mesos artifact.
-
Install Mesos: http://mesos.apache.org/gettingstarted/
-
Start Mesos Master
sudo nohup mesos-master --ip=127.0.0.1 --work_dir=/tmp --log_dir=/tmp > mesos-master.log 2>&1 &
- Start Mesos Slave
sudo nohup mesos-slave --master=127.0.0.1:5050 --containerizers=mesos,docker > mesos-slave.log 2>&1 &
- Run Maven Tests
sudo mvn clean compile test
You can configure the test in this property file.