new to maven

Posted on 2011-04-20
Last Modified: 2012-05-11

I am new to maven. I am confused about its concepts. I was not sure on how to create projects using maven.I am not sure what to give for group id, artifact id, package, version etc.

 Any ideas, sample code, resources, links, videos, tutorials highly appreciated. thanks in advance.
Question by:gudii9
    LVL 47

    Accepted Solution


    Maven is a smart system for building java projects.

    I would suggest tha you first read a few first paragraphs from this page

    and then follow steps form this page

    starting with download , 5 minute test and then go to getting started

    This is a good way to understand and  learn what
    Maven is doing

    LVL 92

    Expert Comment

    > I was not sure on how to create projects using maven.I am not sure what to give for group id, artifact id, package, version etc.

    they are arbitrary (like the package name and class names in your application)

    heres an example of starting a project
    LVL 7

    Author Comment

    why we need to put these artifacts in pom.xml. what is pom.xml. does pom abbreviates to something. why it is so important in maven projects. please advise
    LVL 92

    Assisted Solution

    pom contains the maven configuration for your project. Tell maven the dependencies and any other details it needs about your project
    LVL 47

    Expert Comment


    POM is abbreviation for Project Object Model

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
    The viewer will learn how to implement Singleton Design Pattern in Java.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now