Maven Generate

Why did I only discover this lately?

Because the archetype:create was deprecated in Maven 3.0.5 and you should use the archetype:generate from now on. A bit odd to do this in a .0.5 release. I must be missing something about the reasoning behind this change.

So from now on when I need the default directory structure:
mvn archetype:generate -DgroupId=com.cinq.example -DartifactId=example1 -DinteractiveMode=false

Published by


Java developper that loves photography and an excellent espresso

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s