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

2 Answers
2

Leave a Reply

Your email address will not be published. Required fields are marked *