I’ve created a simple console Java application that is built with Maven. Is there a way that the main class (which doesn’t require any arguments) can be run from the command-line using a maven command like:
mvn run-app com.example.MainClass
I’ve created a simple console Java application that is built with Maven. Is there a way that the main class (which doesn’t require any arguments) can be run from the command-line using a maven command like:
mvn run-app com.example.MainClass