SlideShare a Scribd company logo
MAVEN  --By Vineela.M
AGENDA Introduction talk about Maven   What is Maven?   Evolution of Maven   What is all about Maven? Maven features Maven Commands
PROBLEM AREA Large software projects usually contain tens or even hundreds of projects/modules Will become messy and incomprehensible if the projects don’t adhere to some common principles Will be time-consuming to build all projects manually
SOLUTION Use a project management tool (like Maven) Maven helps you with various aspects: --Build process -- Project structure --Dependency management --Access to information and documentation
EVOLUTION OF MAVEN It comes from the yeddish word  mavi  , means understands the requirements.
WHAT IS MAVEN? Its a build tool, SCM source code management
MAVEN FEATURES Programming Languages  -- Java Categories     --  build-management Mailing Lists   -- http://maven.apache.org/mail-lists.html Bug/Issue Tracker  --  http://jira.codehaus.org/browse/MNG License   --  http://www.apache.org/licenses/LICENSE-2.0.txt Project Website  -- http://maven.apache.org/ PMC --  Apache Maven
WHAT IS ALL ABOUT MAVEN? Maven is essentially a project management and comprehension tool and as  such provides a way to help with managing: Builds Documentation Reporting Dependencies SCMs Releases Distribution
THE PROJECT OBJECT MODEL (POM) – An XML file – is the heart of a Maven 2 project It Contains project information and configuration details used to build the project –  Project dependencies –  Commands (goals) that can be executed –  Plugins –  Metadata
POM – SIMPLE EXAMPLE
POM ARCHITECHTURE
POM AGGREGATION
BUILD LIFECYCLE AND PHASES The  build lifecycle  is the process of building and distributing an artifact •  A  phase  is a step in the build lifecycle •  Most important default phases: –  Validate –  Compile –  Test –  Package –  Install
STANDARD DIRECTORY LAYOUT
DEPENDENCY MANAGEMENT
REPOSITORIES
USEFUL COMMANDS $ mvn package-- Compile and create JARs/WARs •  $ mvn install --Package + copy to local repo •  $ mvn clean --Delete target directory •  $ mvn test --Run unit tests •  $ mvn eclipse--eclipse Create Eclipse project files •  $ mvn idea --idea Create IDEA project files •  $ mvn jetty--run-war Run a WAR file in Jetty •  $ mvn site -- Generates project site
Thankyou !
 

More Related Content

PPTX
Maven
PPTX
Introduction to Maven
PPTX
Maven Basics - Explained
PPTX
Maven tutorial
PPTX
Maven ppt
PPTX
Jenkins tutorial
PPTX
Git - Basic Crash Course
PPTX
Introduction to Maven
Maven
Introduction to Maven
Maven Basics - Explained
Maven tutorial
Maven ppt
Jenkins tutorial
Git - Basic Crash Course
Introduction to Maven

What's hot (20)

PDF
Component testing with cypress
PDF
Docker Introduction
PDF
Secrets of Performance Tuning Java on Kubernetes
PPTX
PPTX
Introduction to Selenium Web Driver
PPTX
Spring Security 5
PPT
Maven Introduction
PPTX
Introduction to ansible
PDF
Jenkins
PPTX
How to Get Started with Cypress
PDF
Spring boot introduction
PDF
SELENIUM PPT.pdf
PPTX
Cypress Testing.pptx
PDF
Introduction to docker
PDF
Automation with ansible
PDF
Cypress - Best Practices
PDF
Jenkins-CI
PPT
Monitoring using Prometheus and Grafana
PDF
도커 무작정 따라하기: 도커가 처음인 사람도 60분이면 웹 서버를 올릴 수 있습니다!
PDF
Automated testing with Cypress
Component testing with cypress
Docker Introduction
Secrets of Performance Tuning Java on Kubernetes
Introduction to Selenium Web Driver
Spring Security 5
Maven Introduction
Introduction to ansible
Jenkins
How to Get Started with Cypress
Spring boot introduction
SELENIUM PPT.pdf
Cypress Testing.pptx
Introduction to docker
Automation with ansible
Cypress - Best Practices
Jenkins-CI
Monitoring using Prometheus and Grafana
도커 무작정 따라하기: 도커가 처음인 사람도 60분이면 웹 서버를 올릴 수 있습니다!
Automated testing with Cypress
Ad

Similar to Maven (20)

PDF
PDF
PPT
Maven introduction in Mule
PPTX
(Re)-Introduction to Maven
PPTX
Maven in mulesoft
PPT
PDF
P&MSP2012 - Maven
PPT
PPTX
Maven Nexus
PPT
Maven – The build paraphernalia
PDF
Apache maven, a software project management tool
PPT
Maven 2 features
PPTX
Learning Maven by Example
PDF
Mavennotes.pdf
PPT
Maven 2.0 - Project management and comprehension tool
PPSX
Maven Presentation - SureFire vs FailSafe
PPTX
Jenkins advance topic
PDF
Introduction to maven, its configuration, lifecycle and relationship to JS world
Maven introduction in Mule
(Re)-Introduction to Maven
Maven in mulesoft
P&MSP2012 - Maven
Maven Nexus
Maven – The build paraphernalia
Apache maven, a software project management tool
Maven 2 features
Learning Maven by Example
Mavennotes.pdf
Maven 2.0 - Project management and comprehension tool
Maven Presentation - SureFire vs FailSafe
Jenkins advance topic
Introduction to maven, its configuration, lifecycle and relationship to JS world
Ad

Maven

  • 1. MAVEN --By Vineela.M
  • 2. AGENDA Introduction talk about Maven  What is Maven?  Evolution of Maven  What is all about Maven? Maven features Maven Commands
  • 3. PROBLEM AREA Large software projects usually contain tens or even hundreds of projects/modules Will become messy and incomprehensible if the projects don’t adhere to some common principles Will be time-consuming to build all projects manually
  • 4. SOLUTION Use a project management tool (like Maven) Maven helps you with various aspects: --Build process -- Project structure --Dependency management --Access to information and documentation
  • 5. EVOLUTION OF MAVEN It comes from the yeddish word mavi , means understands the requirements.
  • 6. WHAT IS MAVEN? Its a build tool, SCM source code management
  • 7. MAVEN FEATURES Programming Languages -- Java Categories -- build-management Mailing Lists -- http://maven.apache.org/mail-lists.html Bug/Issue Tracker -- http://jira.codehaus.org/browse/MNG License -- http://www.apache.org/licenses/LICENSE-2.0.txt Project Website -- http://maven.apache.org/ PMC -- Apache Maven
  • 8. WHAT IS ALL ABOUT MAVEN? Maven is essentially a project management and comprehension tool and as such provides a way to help with managing: Builds Documentation Reporting Dependencies SCMs Releases Distribution
  • 9. THE PROJECT OBJECT MODEL (POM) – An XML file – is the heart of a Maven 2 project It Contains project information and configuration details used to build the project – Project dependencies – Commands (goals) that can be executed – Plugins – Metadata
  • 10. POM – SIMPLE EXAMPLE
  • 13. BUILD LIFECYCLE AND PHASES The build lifecycle is the process of building and distributing an artifact • A phase is a step in the build lifecycle • Most important default phases: – Validate – Compile – Test – Package – Install
  • 17. USEFUL COMMANDS $ mvn package-- Compile and create JARs/WARs • $ mvn install --Package + copy to local repo • $ mvn clean --Delete target directory • $ mvn test --Run unit tests • $ mvn eclipse--eclipse Create Eclipse project files • $ mvn idea --idea Create IDEA project files • $ mvn jetty--run-war Run a WAR file in Jetty • $ mvn site -- Generates project site
  • 19.