o Maven is a powerful project management tool that is based on POM (project object model). It is used for projects build, dependency and documentation.
o In short terms we can tell maven is a tool that can be used for building and managing any Java-based project. Maven make the day-to-day work of Java developers easier and generally help with the comprehension of any Java-based project.
· How to create Maven Project in Eclipse IDE?
1 Go to File -> New -> Project
2. Select “Maven Project”
3. If its Simple Maven Project then Select “Create Simple Project(skip archetype selection)”
4. But if its JAR based application then got to Next and filter
a. “maven-archetype-quickstart” as Archetype ID.
b. If its Maven Web project then select “maven-archetype-webapp”
5. Name your Group Id : - it is to uniquely identify your Project
6. Name Artifact Id – It is your Project Name.
7. Lastly, Finish. – Your Maven project is ready.
- Add Necessary dependencies and Project is ready to code.
Comments