Maven tutorial for beginners and professional with examples on Overview, Environment Setup, POM, Build Life Cycle, Build profiles, Repositories, Plug-ins, Creating Project, Build & Test Project, External Dependencies, Project Documents, Project Templates, Snapshot, Build Automation, Dependency Management, Deployment Automation, Web Application and more.
Build tool:
A build tool is utility program to automate the process of repetitive tasks like compiling source code and creating files etc. A build tool can be executed from the command line.
Note: Apache Ant, Maven and Gradle are the commonly used building tools in java.
Why build tools are used?
Build tools are used to automate the process of repetitive tasks like source code compilation etc and take this burden away from the developers.
Dictionary meaning of Maven:
Maven is a Yiddish word which means accumulator of knowledge.
What is Maven:
Apache maven is an advanced project management tool for java software projects which is based on POM (project object model). It uses POM (project object model) file to manage project’s build, dependency and documentation.
The most powerful futures of maven are to download the project dependency libraries automatically and to create the right project structure.
Maven helps to manage the following:
- Builds
- Documentation
- Reporting
- Dependencies
- SCMs
- Releases
- Distribution
Maven tutorial:
- Maven overview
- Maven features
- Maven vs Ant
- Install maven on windows
- Install maven on linux
- Install maven on Mac
- Maven architecture
- Maven core concepts
- Maven POM File
- Maven build lifecycle phases
- Maven default lifecycle
- Maven clean lifecycle
- Maven site lifecycle
- Maven build profiles
- Maven plugins
- Maven repositories
- Maven java project
- Maven java webapp project
- Maven java project in eclipse
- Maven java web project in eclipse
- Maven Eclipse Servlet
- Maven Eclipse JSP
- Maven Eclipse Spring
- Maven Eclipse Hibernate