• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Newbie to Maven build tool

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 -DgroupId=com.mycompany.app -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.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or please tell me what is

what is meant by groupid and waht is meant by artifactid
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18108
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic