wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Newbie to Maven build tool" Watch "Newbie to Maven build tool" New topic
Author

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 -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.


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
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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: 15951
    
  19

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!


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Newbie to Maven build tool
 
Similar Threads
org.apache.maven.reactor.MavenExecutionException: Could not find the model file
Maven installation and using in project without Internet conncetion
archetype error with maven
Maven: What's the big deal?
Running help:describe command in Maven