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

Advertisements

Published by

m5c

Java developper that loves photography and good coffee

Leave a Reply

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

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s