Run a sample Workflow
Clone the sample repo
git clone https://github.com/temporalio/money-transfer-project-template-java
Change directories to the sample project
cd money-transfer-project-template-java
Build the project
mvn clean compile
Start the Worker
mvn compile exec:java -Dexec.mainClass="moneytransferapp.MoneyTransferWorker" -Dorg.slf4j.simpleLogger.defaultLogLevel=warn
In another shell in the same directory, run the sample Workflow
mvn compile exec:java -Dexec.mainClass="moneytransferapp.TransferApp" -Dorg.slf4j.simpleLogger.defaultLogLevel=warn