Friday, March 15, 2019

Introduction to Maven


Maven was created by Jason Van Zyl in 2002 which  is a software project management and comprehension tool which based on the concept of a project object model(POM) which is a XML file including the details of software project,configuration details. Maven can manage projects in other programming language like c# and Ruby .In Yaddish, Maven means “accumulator of knowledge.”It helps manage builds reporting, documentation from a central piece of information. Mavens all the work is depend on plugins such as plug-ins for building, testing, SCM, running a Web server etc.The objectives of the maven is to making the build process easy, providing quality project information, providing a uniform build system as well as giving  guidelines for best practices development.

What are the features of the Maven?
  • Ability of working with multiple projects concurrently.
  • Ability to easily write plugins in Java or scripting languages.
  • There are simple and easy ways to build projects since it hides the unnecessary details.
  • Model based builds which means ability of building any number of projects into predefined output types. 
  • Dynamic downloading of necessary Java libraries and plug-ins from Maven repositories.

Commands of Maven

test.         : Runs all the tests for the project.
clean.      : Delete all the old build files
package  : packages the project to a jar.
install.      : Places the project in the local maven repository.
deploy.      :  Places the project in the remote maven repository

No comments:

Post a Comment