| Course Others | You are Offering Professional Course | Locality Lakdi ka pul |
Maven is a build automation tool used primarily for Java projects. Maven addresses two aspects of building software: First, it describes how software is built, and second, it describes its dependencies. Contrary to preceding tools like Apache Ant it uses conventions for the build procedure, and only exceptions need to be written down. An XML file describes the software project being built, its dependencies on other external modules and components, the build order, directories, and required plug-ins. It comes with pre-defined targets for performing certain well-defined tasks such as compilation of code and its packaging. Maven dynamically downloads Java libraries and Maven plug-ins from one or more repositories such as the Maven 2 Central Repository, and stores them in a local cache.
Maven can be used to build and manage projects written in C#, Ruby, Scala, and other languages. The Maven project is hosted by the Apache Software Foundation, where it was formerly part of the Jakarta Project.Maven is built using a plugin-based architecture that allows it to make use of any application controllable through standard input. Theoretically, this would allow anyone to write plugins to interface with build tools for any other language. In reality, support and use for languages other than Java has been minimal. Currently a plugin for the .NET framework exists and is maintained, and a C/C++ native plugin is maintained for Maven 2.
Course Content
Introducing Maven
Why Maven
Convention over Configuration
Key Featuresof Maven
Alternatives to Maven
Installing and Running Maven
Downloading Maven
Installing Maven
Local Maven Repository
Testing The Maven Installation
Getting Help
Getting Started
Creating a Project
Building a Project
Maven Directory Structure
Standard Maven Lifecycle
Maven Plugins and Goalsli>
Maven Coordinates
Dependency Management
Maven Repositories
Maven Archetypes
Project and Dependencies
The Project Object Model (POM)
Project Coordinates
Dependencies
POM Inheritance and Aggregation
Multi-Section Projects
A Web Application in Maven
Creating the Web Project
Configuring the Jetty Plugin
Working with Servlets
Adding Dependencies
Basic Build Profiles
Activating Profiles
Profiles and Portability
Plugins
Surefire
Failsafe
Findbugs
Cobetura
User
-Created
Using m2eclipse
Installing the m2eclipse plugin
The Maven Console
Creating a Project and POM file
Running the Builds
Dependencies