What does the following command do?

> mvn archetype:generate \
-DgroupID=sample-maven-project \
-DartifactID=com.palmer.bethan.sample \
-Dversion=1.0.0 \
  •  It does nothing since no archetype has been specified
  •  It generates a new Maven archetype
  •  It generates a new Maven projet using the default Maven archetype
  •  It cleans and installs the sample-maven-project project

Leave a Reply

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