This tutorial shows users how to compile their code within Wayang using maven.
Within the root directory of Wayang, compile only the module you modified for faster compilation:
./mvnw clean install -DskipTests -pl <modified_module>
Important: before making a Pull Request make sure all modules compile and all tests are passing:
./mvnw clean install
##Package the project
./mvnw clean package -pl :wayang-assembly -Pdistribution
Before executing your code, make sure the required environment variables are set correctly (see tutorial.md)
cd wayang-assembly/target/
tar -xvf apache-wayang-assembly-0.7.1-SNAPSHOT-incubating-dist.tar.gz
cd wayang-0.7.1-SNAPSHOT
./bin/wayang-submit org.apache.wayang.<main_class> <parameters>