Introduction to Maven
Maven is basically a simple build automation tool used in Java projects. Maven is also defined as a comprehensive project management tool. It is intended to provide developers with a complete and detailed build lifecycle framework of the application.
Maven also makes it easy for developers to check build status, generate reports (basically Javadoc), set up an automatic build process and monitor it.
Maven makes it easy to compile, distribute, document, collaborate with different teams, and other important tasks on the source code.
Maven aims to describe 2 important things :
- How software is built.
- The dependencies, plug-ins & profiles that the project is associated in a standalone or a distributed environment.
The maven can also be used in building & managing the projects written using C#, ruby and other programming languages as well.
Maven History
Maven was originally designed and developed by a turbine project in Jakarta. At a later point, the Apache group developed Maven to the extent that it supports developing, building and publishing multiple projects, publishing those projects, deploying them and generating reports.
The JARs/WARs of any Maven project can be shared across any distributed environments.
Advantages of Using Maven over Ant
- Managing dependencies.
- Convention over configuration - configuration is very minimal
- Multiple/Repeated builds can be achieved.
- Focus on automation.
- Plugin management.
- Testing - ability to run JUnit and other integration test suites.
- Making the development process transparent.
- Provision to check the status of each build.
- Avoiding inconsistent setups.
- Standard and uniformed infrastructure among projects.
Comments
Post a Comment