In a project where I use the scala language, with sbt can launch directly from the terminal the command:
sbt run
Now I switched to use java with maven. If I try to run in the terminal:
mvn run
the command does not work. The error is:
[ERROR] Unknown lifecycle phase "run" ...
There is an alternative way to do it? Thanks a lot.