[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 370
  • Last Modified:

new to maven


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.
0
gudii9
Asked:
gudii9
  • 2
  • 2
2 Solutions
 
for_yanCommented:


Maven is a smart system for building java projects.

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

http://maven.apache.org/guides/getting-started/index.html#What_is_Maven

and then follow steps form this page
http://maven.apache.org/users/index.html

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

0
 
objectsCommented:
> 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
http://www.xinotes.org/notes/note/586/
0
 
gudii9Author Commented:
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
0
 
objectsCommented:
pom contains the maven configuration for your project. Tell maven the dependencies and any other details it needs about your project
0
 
for_yanCommented:


POM is abbreviation for Project Object Model
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now