Command line application with Spring Boot
# Build the jar.
> mvn clean compile package
> cd target
# Execute the jar with arguments:
# java -jar calculator-0.0.1-SNAPSHOT.jar firstNumber operation secondNumber
# Supported operation: +, -, *, /.
> java -jar calculator-0.0.1-SNAPSHOT.jar 1 + 1
> java -jar calculator-0.0.1-SNAPSHOT.jar 1 - 1
> java -jar calculator-0.0.1-SNAPSHOT.jar 1 * 2
> java -jar calculator-0.0.1-SNAPSHOT.jar 1 / 2
# Update Maven wrapper
> mvn wrapper:wrapper -Dmaven=3.8.5