user3316715
user3316715

Reputation:

Differences between maven archetype commands and maven command mvn package?

Could somebody tells me, what are the differences between the command mvn archetype:generate and the commands mvn clean package or mvn clean install.

Thanks a lot! Maik

Upvotes: 0

Views: 70

Answers (1)

user180100
user180100

Reputation:

  • archetype:generate generates a brand new project from a template
  • clean package clean and package the project
  • clean install clean, package the project and install it into the local repo. (i.e. ~/.m2/repository)

For more info, see the documentation

Upvotes: 2

Related Questions