How to create a new project with Maven

Use the following command:

mvn archetype:generate

and then choose the kind of project you want.

For example, for creating a new scala project, choose 30.
Advertisements