Skip to the content.

Intro to Maven

-

What we’ll cover

About Maven

Archetypes

Pom.xml

Maven Build Process

-

Maven Objectives

- Making the build process easy

- Providing a uniform build system

- Providing quality project information

- Providing guidelines for best practices development

- Allowing transparent migration to new features

-

What Does Maven Do?

- Handles multiple jars

- Handles dependencies and versions

- Project Structure

- Build, Publish, Deploy, Report, Documentation

-

Archetpyes

An archetype is defined as an original pattern or model from which all other things of the same kind are made. maven achetypes - #archetype:generate

- -

The pom.xml file

(Project Object Model)

- Project details

- Project properties

- Project dependencies

- Project build profiles

- #pom.xml - - #Maven Build Process

- - #Adding a Dependency Adding a dependency through IntelliJ IDEA

Adding a dependency through mvnrepository.com