Run run.sh
to test the application from the commandline:
$ sh run.sh 23456 no
[INFO] ------------------------------------------------------------------------
[INFO] --- exec-maven-plugin:1.6.0:exec (default-cli) @ number_main ---
tjuetre tusen fire hundre og femtiseks
[INFO] ------------------------------------------------------------------------
$ sh run.sh 23456
[INFO] ------------------------------------------------------------------------
[INFO] --- exec-maven-plugin:1.6.0:exec (default-cli) @ number_main ---
twentythree thousand four hundred and fiftysix
[INFO] ------------------------------------------------------------------------
$ mvn exec:exec -Dnumber="123" -Dlang="en"
[INFO] ------------------------------------------------------------------------
[INFO] --- exec-maven-plugin:1.6.0:exec (default-cli) @ number_main ---
one hundred and twentythree
[INFO] ------------------------------------------------------------------------