permaculture playing cards
The moose likes Ant, Maven and Other Build Tools and the fly likes Newbie to Maven build tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Newbie to Maven build tool" Watch "Newbie to Maven build tool" New topic

Newbie to Maven build tool

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hello All and Good Wishes to all ,

I had successfully installed Maven in my machine , and used this command and this in process of building for a long time .

mvn archetype:create -DartifactId=my-app
from command line . But i don't understand what is the meaning of this command and what it will do . Please tell what is happening here.

Thanks in advance.

Save India From Corruption - Anna Hazare.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Or please tell me what is

what is meant by groupid and waht is meant by artifactid
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

You'll want to read "Maven - The Definitive Guide" which is a free book hosted on the Sonatype website. It's vital you read this to gain an understanding of the basics of Maven.

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

The "long time" part is a one-time issue. One of Maven's greatest strengths is its ability to download and cache copies of all the resources needed to do a Maven build. I have one project where 1.5MB of project ends up building a 30+MB distributable. But downloading those other 28.5MB over my fairly slow Internet connection takes time when doing that first build. Subsequent builds are MUCH faster!

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Newbie to Maven build tool
It's not a secret anymore!